Anonymous user
Template:Tlg: Difference between revisions
add "nowrap" parameter (prevents breaking of output)
(class="nowrap"; {{!((}} instead of {{!(}}{{!(}}; simpler (lighter on the parser) empty parameter checks) |
(add "nowrap" parameter (prevents breaking of output)) |
||
Line 1:
<includeonly><!--
-- begin span of class "nowrap" if nowrap=yes
-->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!--
▲ -- begin tt style if tt=yes or code=yes given
-->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!--
-- opening brace unless braceinside=yes
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
-- add subst prefix, if subst=yes
-->{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--
-- begin boldface if bold=yes
-->{{#if:{{{bold|}}}|'''}}<!--
Line 37 ⟶ 35:
-->{{#if:{{{nolink|}}}||]]}}<!--
-- end boldface if bold=yes
-->{{#if:{{{bold|}}}|'''}}<!--
-- begin italic style if italic=yes
-->{{#if:{{{italic|}}}|<span style="font-style: italic;">}}<!--
Line 55 ⟶ 53:
-->{{#if:{{{12|}}}||''...''}}<!--
-- end italic style if italic=yes
-->{{#if:{{{italic|}}}|</span>}}<!--
-- closing brace unless braceinside=yes
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!--
-- end code style if code=yes or tt=yes
-->{{#if:{{{code|}}}{{{tt|}}}|</code>}}<!--
-- end span of class "nowrap" if nowrap=yes
-->{{#if:{{{nowrap|}}}|</span>}}<!--
-- end
--></includeonly><noinclude>
|