Template:Tlg: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Dinoguy1000 if {{{tt}}} and {{{code}}} both result in a <code/> tag, they might as well be combined |
meta>Patrick87 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}}}}}<!-- | ||
|{{{2}}} | -->{{#ifeq:{{{3|}}}|{{{3|x}}}||{{{3}}}}}<!-- | ||
}}<!-- | -->{{#ifeq:{{{4|}}}|{{{4|x}}}||{{{4}}}}}<!-- | ||
-->{{# | -->{{#ifeq:{{{5|}}}|{{{5|x}}}||{{{5}}}}}<!-- | ||
|{{{3}}} | -->{{#ifeq:{{{6|}}}|{{{6|x}}}||{{{6}}}}}<!-- | ||
}}<!-- | -->{{#ifeq:{{{7|}}}|{{{7|x}}}||{{{7}}}}}<!-- | ||
-->{{# | -->{{#ifeq:{{{8|}}}|{{{8|x}}}||{{{8}}}}}<!-- | ||
|{{{4}}} | -->{{#ifeq:{{{9|}}}|{{{9|x}}}||{{{9}}}}}<!-- | ||
}}<!-- | -->{{#ifeq:{{{10|}}}|{{{10|x}}}||{{{10}}}}}<!-- | ||
-->{{# | -->{{#ifeq:{{{11|}}}|{{{11|x}}}||{{{11}}}}}<!-- | ||
|{{{5}}} | -->{{#if:{{{12|}}}||''...''}}<!-- | ||
}}<!-- | -- end italic style if italic=yes given | ||
-->{{# | |||
|{{{6}}} | |||
}}<!-- | |||
-->{{# | |||
|{{{7}}} | |||
}}<!-- | |||
-->{{# | |||
|{{{8}}} | |||
}}<!-- | |||
-->{{# | |||
|{{{9}}} | |||
}}<!-- | |||
-->{{# | |||
|{{{10}}} | |||
}}<!-- | |||
-->{{# | |||
|{{{11}}} | |||
}}<!-- | |||
-->{{#if:{{{12|}}}| | |||
|''...'' | |||
}}<!-- | |||
-->{{#if:{{{italic|}}}|</span>}}<!-- | -->{{#if:{{{italic|}}}|</span>}}<!-- | ||
-- closing brace unless braceinside=yes | -- closing brace unless braceinside=yes |