Template:W: Difference between revisions

From WWII Archives

m (1 revision imported)
wc>JoKalliauer
m (Changed protection settings for "Template:W": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
Line 1: Line 1:
{{#switch:{{padleft:|1|{{{1|}}}}}|&#91;|&#123;=[[Category:Maintenance:Template W error]]{{color|red|'''Template W: parameter error'''}}<!--  
{{#switch:{{padleft:|1|{{{1|}}}}}|&#91;|&#123;=[[Category:Maintenance:Template W error]]{{color|red|'''Template W: parameter error'''}}<!--  
-->|{{#switch:{{{link}}}|no|n|-={{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}<!-- option for only text without link
-->|{{#switch:{{{link|&#06;}}}|none=<!--
-->|[[:{{{3|w}}}:{{{1|}}}|{{<includeonly>safesubst:</includeonly>#if: {{{2|}}}|{{{2}}}<!--
-->|no|n|-|={{#if:{{{2|}}}|{{#switch:{{{2}}}|+|c={{{1}}}|{{{2}}}}}|{{{1|{{Projectname|w}}}}}}}<!-- option for only text without link
-->|&#06;=[[:{{#if:{{{3|}}}|{{#switch:{{{3}}}|+|c|C=w|{{{3}}}}}|w}}:{{{1|{{Projectname|w}}}}}<!-- (w=en)
-->|{{<includeonly>safesubst:</includeonly>#if:{{{2|}}}|{{#switch:{{{2}}}|+|c={{{1}}}|{{{2}}}}}|{{{1|{{Projectname|w}}}}}<!--


-->|{{#if:{{NAMESPACE:{{{1|}}}}}|{{NAMESPACE:{{{1|}}}}}''''':'''''{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!-- &#58;
-->|{{#if:{{NAMESPACE:{{{1|}}}}}|{{NAMESPACE:{{{1|}}}}}''''':'''''{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!-- &#58;
-->|{{#ifeq:{{padleft:|1|{{{1|W}}}}}|{{lc:{{padleft:|1|{{PAGENAME:{{{1|W}}}}}}}}}<!--"ℓ"
-->|{{#ifeq:{{padleft:|1|{{{1|W}}}}}|{{lc:{{padleft:|1|{{PAGENAME:{{{1|W}}}}}}}}}<!--"ℓ"
-->|{{lcfirst:{{PAGENAME:{{{1|{{Projectname|w}}}}}}}}}<!-- first character lower case  
-->|{{lcfirst:{{PAGENAME:{{{1|{{Projectname|w}}}}}}}}}<!-- first character lower case  
-->|{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!--  
-->|{{PAGENAME:{{{1|{{Projectname|w}}}}} }}}}}}}}]]}}<!--
-->}}}}}}]]}}}}<noinclude>
 
-->{{#switch:+|{{{2}}}|{{{3}}}|{{{4}}}=[[Category:{{PAGENAME:{{{1}}}}}]]<!--
-->|{{#switch:c|{{{2}}}|{{{3}}}|{{{4}}}=[[Category:{{Strip|{{PAGENAME:{{{1}}}}}|2={{{+|0}}}|3={{{-|0}}}|h={{{h|}}}|t={{{t|}}}}}]]<!--
-->|{{#switch:C|{{{3}}}|{{{4}}}={{#if:{{{2|}}}|[[Category:{{Strip|{{PAGENAME:{{{2}}}}}|2={{{+|0}}}|3={{{-|0}}}|h={{{h|}}}|t={{{t|}}}}}]]}}}}}}}}<!--
-->}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 19:13, 28 July 2023

[[:w:Template:Projectname|Template:Projectname]]

File:Test Template Info-Icon.svg Template documentationcreate · purge ]
This documentation is transcluded from Template:W/doc.