Difference between revisions of "Template:Tlg"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Liflon
(update brace inclusion in the link, per Template:Tn)
imported>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>}}<!--

Revision as of 07:38, 17 May 2014

Template documentation[create]