Vorlage:Translated tag: Unterschied zwischen den Versionen

Aus How to be a Hero
Zur Navigation springen Zur Suche springen
/>Rocket000
K (fix syntax)
/>Rocket000
(ucfirst for pagenames)
Zeile 1: Zeile 1:
{{#ifeq:{{NAMESPACE}}|{{ns:4}}||<!-- ignore commons namespace for demonstration pages -->
{{#ifeq:{{NAMESPACE}}|{{ns:4}}||<!-- ignore commons namespace for demonstration pages -->
{{#switch:{{FULLPAGENAME}} | {{{ns|{{{ns1|{{ns:10}}}}}}}}:{{{page|{{{page1}}}}}}{{{sub|/{{SUBPAGENAME}}}}} | {{{ns2|{{ns:10}}}}}:{{{page2}}}{{{sub|/{{SUBPAGENAME}}}}} | {{{ns2|{{ns:10}}}}}:{{{page2}}}{{{sub|/{{SUBPAGENAME}}}}} | {{{ns3|{{ns:10}}}}}:{{{page3}}}{{{sub|/{{SUBPAGENAME}}}}} = <!-- for any exceptions -->
{{#switch:{{FULLPAGENAME}}  
|#default =
|{{{ns|{{{ns1|{{ns:10}}}}}}}}:{{ucfirst:{{{page|{{{page1}}}}}}}}{{{sub|/{{SUBPAGENAME}}}}}
|{{{ns2|{{ns:10}}}}}:{{ucfirst:{{{page2}}}}}{{{sub|/{{SUBPAGENAME}}}}}
|{{{ns3|{{ns:10}}}}}:{{ucfirst:{{{page3}}}}}{{{sub|/{{SUBPAGENAME}}}}}
|{{{ns4|{{ns:10}}}}}:{{ucfirst:{{{page4}}}}}{{{sub|/{{SUBPAGENAME}}}}} = <!-- for any exceptions -->
|#default =
<div style="text-align:center">
<div style="text-align:center">
{{#ifexist:Template:Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{{template|{{BASEPAGENAME}}}}}}}}}<br />
{{#ifexist:Template:Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{Translated tag/{{{lang|{{SUBPAGENAME}}}}}|{{{template|{{BASEPAGENAME}}}}}}}}}<br />

Version vom 7. August 2008, 17:46 Uhr


Vorlage:Lang

This documentation is transcluded from Vorlage:Translated tag/doc.