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) class="nowrap"; {{!((}} instead of {{!(}}{{!(}}; simpler (lighter on the parser) empty parameter checks |
add "nowrap" parameter (prevents breaking of output) |
||
Line 1: | Line 1: | ||
<includeonly><!-- |
<includeonly><!-- |
||
-- begin span of class "nowrap" if nowrap=yes |
|||
Templates tlc, tld, tlf have the following wrapping everything; do we need it? |
|||
<span class="nowrap"> |
-->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!-- |
||
⚫ | |||
--><!-- |
|||
⚫ | |||
-->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!-- |
-->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!-- |
||
-- opening brace unless braceinside=yes |
-- opening brace unless braceinside=yes |
||
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- |
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!-- |
||
-- add subst prefix, if subst=yes |
-- add subst prefix, if subst=yes |
||
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!-- |
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!-- |
||
-- begin boldface if bold=yes |
-- begin boldface if bold=yes |
||
-->{{#if:{{{bold|}}}|'''}}<!-- |
-->{{#if:{{{bold|}}}|'''}}<!-- |
||
Line 37: | Line 35: | ||
-->{{#if:{{{nolink|}}}||]]}}<!-- |
-->{{#if:{{{nolink|}}}||]]}}<!-- |
||
-- end boldface if bold=yes |
-- end boldface if bold=yes |
||
-->{{#if:{{{bold|}}}|'''}}<!-- |
-->{{#if:{{{bold|}}}|'''}}<!-- |
||
-- begin italic style if italic=yes |
-- begin italic style if italic=yes |
||
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!-- |
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!-- |
||
Line 55: | Line 53: | ||
-->{{#if:{{{12|}}}||''...''}}<!-- |
-->{{#if:{{{12|}}}||''...''}}<!-- |
||
-- end italic style if italic=yes |
-- end italic style if italic=yes |
||
-->{{#if:{{{italic|}}}|</span>}}<!-- |
-->{{#if:{{{italic|}}}|</span>}}<!-- |
||
-- closing brace unless braceinside=yes |
-- closing brace unless braceinside=yes |
||
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- |
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!-- |
||
-- end code style if code=yes or tt=yes |
-- end code style if code=yes or tt=yes |
||
-->{{#if:{{{code|}}}{{{tt|}}}|</code>}}<!-- |
-->{{#if:{{{code|}}}{{{tt|}}}|</code>}}<!-- |
||
-- end span of class "nowrap" if nowrap=yes |
|||
-->{{#if:{{{nowrap|}}}|</span>}}<!-- |
|||
-- end |
-- end |
||
--></includeonly><noinclude> |
--></includeonly><noinclude> |