Template:Page language link: Difference between revisions
From Vintage Story Wiki
(add cat) |
(whoops, copy pasted wrong template. this should work now) |
||
Line 1: | Line 1: | ||
< | <onlyinclude><!-- | ||
-->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--><!-- | |||
-->|<b><!-- | |||
-->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--> | -->}}[[:{{#ifexist:{{{1}}}/{{PAGELANGUAGE}}|{{{1}}}/{{PAGELANGUAGE}}|Special:MyLanguage/{{{1}}}}}|{{#if:{{{2|}}}|{{{2}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/{{PAGELANGUAGE}}<!--if the source page, pagelang2 returns en--><!-- | ||
|<b> | -->|{{#if:{{{nsp|}}}<!-- | ||
}}[[Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/{{PAGELANGUAGE}}<!--if the source page, | -->|{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} }}<!-- | ||
|{{#if:{{{nsp|}}} | -->|{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }}<!-- | ||
|{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} }} | -->}}<!-- | ||
|{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} | --><!--if the translation page does not exist (or called from the source page), output as is--><!-- | ||
}} | -->|{{#if:{{{nsp|}}}<!-- | ||
<!--if the translation page does not exist (or called from the source page), output as is--> | -->|{{PAGENAME:{{{1}}}}}<!-- | ||
|{{#if:{{{nsp|}}} | -->|{{{1}}}<!-- | ||
|{{PAGENAME:{{{1}}}}} | -->}}<!-- | ||
|{{{1}}} | -->}}}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--><!-- | ||
}} | -->|</b><!-- | ||
}}}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--> | -->}}<span style="display:none"><!-- | ||
|</b> | -->[[:{{#ifexist:{{{1}}}/{{PAGELANGUAGE}}|{{{1}}}/{{PAGELANGUAGE}}|{{{1}}}}}| ]]<!-- T63547 --><!-- | ||
}}<span style="display:none">[[:{{{1}}}| ]]</span><!-- | --></span><!-- | ||
--></onlyinclude><noinclude> | |||
{{/Documentation}} | {{/Documentation}} | ||
[[Category:Translation templates]] | [[Category:Translation templates]] | ||
</noinclude> | </noinclude> |
Revision as of 16:23, 15 June 2022
[[:Special:MyLanguage/{{{1}}}|{{{1}}}]]
This template is a candidate for deletion.
Reason: Wrong page title format. Moved to Template:Page language link/doc without redirect.
Before deletion, check what links to this page, the page history, and the page log.
Don't forget to delete this template's documentation if it exists.