Difference between revisions of "Template:TranslatedPageName"

From Wikicarpedia
Jump to navigation Jump to search
Line 1: Line 1:
{{#ifexist:Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}|{{Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}}}|{{#titleparts:{{FULLPAGENAME}}|-1}}}}<noinclude><hr />'''Description:'''<br />This template is used to show translated page name where it's included. Ideal for Breadcrumbs. With include this code into page: <code><nowiki>{{TranslatedPageName}}</nowiki></code><br /><br />'''Attention:'''<br />Output here is this template is empty, because this template is not translated.</noinclude>
{{#ifexist:Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}|{{Translations:{{#titleparts:{{FULLPAGENAME}}|-1}}/Page display title/{{PAGELANGUAGE}}}}|{{PAGENAME}}}}<noinclude><hr />'''Description:'''<br />This template is used to show translated page name where it's included. Ideal for Breadcrumbs. With include this code into page: <code><nowiki>{{TranslatedPageName}}</nowiki></code></noinclude>

Revision as of 21:17, 7 June 2022

TranslatedPageName


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