Template:Tlg: Difference between revisions

1 byte removed ,  16 May 2014
minor compression of code, and kind of minimize reference to "tt" which is not actually semantically correct
w:en>Liflon
(update brace inclusion in the link, per Template:Tn)
w:en>SMcCandlish
(minor compression of code, and kind of minimize reference to "tt" which is not actually semantically correct)
Line 2: Line 2:
   -- begin span of class "nowrap" if nowrap=yes
   -- begin span of class "nowrap" if nowrap=yes
-->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!--
-->{{#if:{{{nowrap|}}}|<span class="nowrap">}}<!--
   -- begin tt style if tt=yes or code=yes
   -- begin code style if code=yes or tt=yes
-->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!--
-->{{#if:{{{code|{{{tt|}}}}}}|<code>}}<!--
   -- opening brace unless braceinside=yes
   -- opening brace unless braceinside=yes
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
Line 62: Line 62:
-->{{#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
   -- end span of class "nowrap" if nowrap=yes
-->{{#if:{{{nowrap|}}}|</span>}}<!--
-->{{#if:{{{nowrap|}}}|</span>}}<!--
Anonymous user