Anonymous user
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.
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:
-- 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
-->{{#
-->{{#ifeq:{{{3|}}}|{{{3|x}}}||{{{
-->{{#ifeq:{{{4|}}}|{{{4|x}}}||{{{4}}}}}<!--
-->{{#
-->{{#ifeq:{{{6|}}}|{{{6|x}}}||{{{
-->{{#ifeq:{{{7|}}}|{{{7|x}}}||{{{7}}}}}<!--
-->{{#
-->{{#ifeq:{{{9|}}}|{{{9|x}}}||{{{
-->{{#ifeq:{{{10|}}}|{{{10|x}}}||{{{10}}}}}<!--
-->{{#
-->{{#if:{{{12|}}}||''...''}}<!--▼
-- end italic style if italic=yes given
▲-->{{#if:{{{12|}}}|
-->{{#if:{{{italic|}}}|</span>}}<!--
-- closing brace unless braceinside=yes
|