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
Allow empty parameters to be specified (whatever this is good for). At least it simplifies documentation.
(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:
-- end of link, unless nolink=yes
-->{{#if:{{{nolink|}}}||]]}}<!--
-- end boldface if bold=yes given
-->{{#if:{{{bold|}}}|'''}}<!--
-- begin italic style if italic=yes given
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!--
-- add the remaining parameters
-->{{#ififeq:{{{2|}}}|{{{2|x}}}|&#124;{{{2}}}}}<!--
-->{{#ifeq:{{{3|}}}|{{{3|x}}}|&#124;{{{23}}}}}<!--
-->{{#ifeq:{{{4|}}}|{{{4|x}}}|&#124;{{{4}}}}}<!--
}}<!--
-->{{#ififeq:{{{35|}}}|{{{5|x}}}|&#124;{{{5}}}}}<!--
-->{{#ifeq:{{{6|}}}|{{{6|x}}}|&#124;{{{36}}}}}<!--
-->{{#ifeq:{{{7|}}}|{{{7|x}}}|&#124;{{{7}}}}}<!--
}}<!--
-->{{#ififeq:{{{48|}}}|{{{8|x}}}|&#124;{{{8}}}}}<!--
-->{{#ifeq:{{{9|}}}|{{{9|x}}}|&#124;{{{49}}}}}<!--
-->{{#ifeq:{{{10|}}}|{{{10|x}}}|&#124;{{{10}}}}}<!--
}}<!--
-->{{#ififeq:{{{511|}}}|{{{11|x}}}|&#124;{{{11}}}}}<!--
-->{{#if:{{{12|}}}|&#124;''...''}}<!--
&#124;{{{5}}}
-- end italic style if italic=yes given
}}<!--
-->{{#if:{{{6|}}}|
&#124;{{{6}}}
}}<!--
-->{{#if:{{{7|}}}|
&#124;{{{7}}}
}}<!--
-->{{#if:{{{8|}}}|
&#124;{{{8}}}
}}<!--
-->{{#if:{{{9|}}}|
&#124;{{{9}}}
}}<!--
-->{{#if:{{{10|}}}|
&#124;{{{10}}}
}}<!--
-->{{#if:{{{11|}}}|
&#124;{{{11}}}
}}<!--
-->{{#if:{{{12|}}}|
&#124;''...''
}}<!--
-->{{#if:{{{italic|}}}|</span>}}<!--
-- closing brace unless braceinside=yes
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu