Template:Tlg: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Dinoguy1000 class="nowrap"; {{!((}} instead of {{!(}}{{!(}}; simpler (lighter on the parser) empty parameter checks |
meta>Patrick87 add "nowrap" parameter (prevents breaking of output) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-- begin span of class "nowrap" if nowrap=yes | |||
<span class="nowrap"> | -->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!-- | ||
-- begin tt style if tt=yes or code=yes | |||
-- begin tt style if tt=yes or code=yes | |||
-->{{#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> |