Difference between revisions of "Template:Tlg"

From MINR.ORG WIKI
(<tt> → <code>)
(if {{{tt}}} and {{{code}}} both result in a <code/> tag, they might as well be combined)
Line 3: Line 3:
 
<span style="white-space:nowrap;">
 
<span style="white-space:nowrap;">
 
--><!--
 
--><!--
   -- begin tt style if tt=yes given
+
   -- begin tt style if tt=yes or code=yes given
-->{{#if:{{{tt|}}}|<code>}}<!--
+
-->{{#if:{{{tt|}}}{{{code|}}}|<code>}}<!--
  -- begin code style if code=yes given
 
-->{{#if:{{{code|}}}|<code>}}<!--
 
 
   -- opening brace unless braceinside=yes
 
   -- opening brace unless braceinside=yes
 
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
 
-->{{#if:{{{braceinside|}}}||<nowiki>{{</nowiki>}}<!--
Line 65: Line 63:
 
   -- closing brace unless braceinside=yes
 
   -- closing brace unless braceinside=yes
 
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!--
 
-->{{#if:{{{braceinside|}}}||<nowiki>}}</nowiki>}}<!--
   -- end code style if code=yes given
+
   -- end code style if code=yes or tt=yes given
-->{{#if:{{{code|}}}|</code>}}<!--
+
-->{{#if:{{{code|}}}{{{tt|}}}|</code>}}<!--
  -- end tt style if tt=yes given
 
-->{{#if:{{{tt|}}}|</code>}}<!--
 
 
   -- end
 
   -- end
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>

Revision as of 10:15, 6 October 2012

Template documentation[create]