(fix when second parameter is empty) |
(Fulfilling edit request) |
||
Line 1: | Line 1: | ||
[[{{{1}}}|{{if | {{#switch:{{padleft:|1|{{{1|}}}}}|[|{=[[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 | ||
-->|[[:{{{3|w}}}:{{{1|}}}|{{<includeonly>safesubst:</includeonly>#if: {{{2|}}}|{{{2}}}<!-- | |||
-->|{{#if:{{NAMESPACE:{{{1|}}}}}|{{NAMESPACE:{{{1|}}}}}''''':'''''{{PAGENAME:{{{1|{{Projectname|w}}}}}}}<!-- : | |||
-->|{{#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 19:07, 28 June 2019
[[:w:|]]
This documentation is transcluded from Template:W/doc.