Template:W: Difference between revisions

From WWII Archives

w>JJMC89
(fix when second parameter is empty)
 
wc>Majora
(Fulfilling edit request)
Line 1: Line 1:
[[{{{1}}}|{{if empty|{{{2|}}}|{{{1}}}}}]]<noinclude>
{{#switch:{{padleft:|1|{{{1|}}}}}|&#91;|&#123;=[[Category:Maintenance:Template W error]]{{color|red|'''Template W: parameter error'''}}<!--
{{Documentation}}</noinclude>
-->|{{#switch:{{{link}}}|no|n|-={{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}<!-- option for only text without link
-->|[[:{{{3|w}}}:{{{1|}}}|{{<includeonly>safesubst:</includeonly>#if: {{{2|}}}|{{{2}}}<!--
 
-->|{{#if:{{NAMESPACE:{{{1|}}}}}|{{NAMESPACE:{{{1|}}}}}''''':'''''{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!-- &#58;
-->|{{#ifeq:{{padleft:|1|{{{1|W}}}}}|{{lc:{{padleft:|1|{{PAGENAME:{{{1|W}}}}}}}}}<!--"ℓ"
-->|{{lcfirst:{{PAGENAME:{{{1|{{Projectname|w}}}}}}}}}<!-- first character lower case
-->|{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!--
-->}}}}}}]]}}}}<noinclude>
{{documentation}}
</noinclude>

Revision as of 00:07, 29 June 2019

[[:w:|]]

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