Difference between revisions of "Template:TranslatedPageName"

From Wikicarpedia
Jump to navigation Jump to search
Line 1: Line 1:
<onlyinclude>{{#ifexist:Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}|{{Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}}}|{{FULLPAGENAME}}}}</onlyinclude><noinclude>{{Breadcrumbs|link1={{EditorManualLink}}}}
<includeonly>{{#ifexist:Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}|{{Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}}}|{{FULLPAGENAME}}}}</includeonly><noinclude>{{Breadcrumbs|link1={{EditorManualLink}}}}


== Description==
== Description==
Line 6: Line 6:


== Parameters ==
== Parameters ==
* <code>type</code> (optional) <nowiki>[</nowiki><code>breadcrumbs</code>| -empty- ] Change output by type, breadcrumbs creates link with itemprop=item attribute
 
== Examples ==
{| class="wikitable light"
|-
! Code || Description
|-
! <code><nowiki>{{TranslatedPageName}}</nowiki></code> || Show translate page name
|-
| colspan="2" | {{TranslatedPageName}}
|-
|}


[[Category:Editor Manual]]
[[Category:Editor Manual]]
</noinclude>
</noinclude>

Revision as of 23:02, 15 November 2022


Description

This template is used to show translated page name where it's included. Ideal for Breadcrumbs. With include this code into page: {{TranslatedPageName}}

Parameters

Examples

Code Description
{{TranslatedPageName}} Show translate page name
Template:TranslatedPageName