Template:Template link general: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content deleted Content added
Dinoguy1000 (talk | contribs) if {{{tt}}} and {{{code}}} both result in a <code/> tag, they might as well be combined |
Allow empty parameters to be specified (whatever this is good for). At least it simplifies documentation. |
||
Line 23: | Line 23: | ||
-- end of link, unless nolink=yes |
-- end of link, unless nolink=yes |
||
-->{{#if:{{{nolink|}}}||]]}}<!-- |
-->{{#if:{{{nolink|}}}||]]}}<!-- |
||
-- end boldface if bold=yes |
-- end boldface if bold=yes given |
||
-->{{#if:{{{bold|}}}|'''}}<!-- |
-->{{#if:{{{bold|}}}|'''}}<!-- |
||
-- begin italic style if italic=yes given |
|||
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!-- |
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!-- |
||
-- add the remaining parameters |
-- add the remaining parameters |
||
-->{{# |
-->{{#ifeq:{{{2|}}}|{{{2|x}}}||{{{2}}}}}<!-- |
||
|{{{ |
-->{{#ifeq:{{{3|}}}|{{{3|x}}}||{{{3}}}}}<!-- |
||
-->{{#ifeq:{{{4|}}}|{{{4|x}}}||{{{4}}}}}<!-- |
|||
}}<!-- |
|||
-->{{# |
-->{{#ifeq:{{{5|}}}|{{{5|x}}}||{{{5}}}}}<!-- |
||
|{{{ |
-->{{#ifeq:{{{6|}}}|{{{6|x}}}||{{{6}}}}}<!-- |
||
-->{{#ifeq:{{{7|}}}|{{{7|x}}}||{{{7}}}}}<!-- |
|||
}}<!-- |
|||
-->{{# |
-->{{#ifeq:{{{8|}}}|{{{8|x}}}||{{{8}}}}}<!-- |
||
|{{{ |
-->{{#ifeq:{{{9|}}}|{{{9|x}}}||{{{9}}}}}<!-- |
||
-->{{#ifeq:{{{10|}}}|{{{10|x}}}||{{{10}}}}}<!-- |
|||
}}<!-- |
|||
-->{{# |
-->{{#ifeq:{{{11|}}}|{{{11|x}}}||{{{11}}}}}<!-- |
||
⚫ | |||
|{{{5}}} |
|||
-- end italic style if italic=yes given |
|||
}}<!-- |
|||
-->{{#if:{{{6|}}}| |
|||
|{{{6}}} |
|||
}}<!-- |
|||
-->{{#if:{{{7|}}}| |
|||
|{{{7}}} |
|||
}}<!-- |
|||
-->{{#if:{{{8|}}}| |
|||
|{{{8}}} |
|||
}}<!-- |
|||
-->{{#if:{{{9|}}}| |
|||
|{{{9}}} |
|||
}}<!-- |
|||
-->{{#if:{{{10|}}}| |
|||
|{{{10}}} |
|||
}}<!-- |
|||
-->{{#if:{{{11|}}}| |
|||
|{{{11}}} |
|||
}}<!-- |
|||
⚫ | |||
|''...'' |
|||
}}<!-- |
|||
-->{{#if:{{{italic|}}}|</span>}}<!-- |
-->{{#if:{{{italic|}}}|</span>}}<!-- |
||
-- closing brace unless braceinside=yes |
-- closing brace unless braceinside=yes |