Difference between revisions of "Template:Tag"

From Crews Genealogy Wiki: focusing on the Wiregrass south, and related families
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision imported)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
+
{{#if:{{{plain|}}}|
 +
|<code class="mw-highlight" style="{{#if:{{{wrap|}}}||white-space:nowrap}}">
 +
}}{{#switch:{{{2|pair}}}
 
  |c|close  = <!--nothing-->
 
  |c|close  = <!--nothing-->
 
  |s|single
 
  |s|single
 
  |o|open
 
  |o|open
  |p|pair  = &lt;{{{1|tag}}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
+
  |p|pair  = {{#tag:span|&lrm;&lt;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#if:{{{params|}}}|&#32;{{{params}}}}}
 
}}{{#switch:{{{2|pair}}}
 
}}{{#switch:{{{2|pair}}}
 
  |c|close  = {{{content|}}}
 
  |c|close  = {{{content|}}}
  |s|single = &#32;&#47;&gt;
+
  |s|single = &#32;{{#tag:span|&#47;&gt;|class="p"}}
  |o|open  = &gt;{{{content|}}}
+
  |o|open  = {{#tag:span|&gt;|class="p"}}{{{content|}}}
  |p|pair  = &gt;{{{content|...}}}
+
  |p|pair  = {{#tag:span|&gt;|class="p"}}{{{content|...}}}
 
}}{{#switch:{{{2|pair}}}
 
}}{{#switch:{{{2|pair}}}
 
  |s|single
 
  |s|single
 
  |o|open  = <!--nothing-->
 
  |o|open  = <!--nothing-->
 
  |c|close
 
  |c|close
  |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
+
  |p|pair  = {{#tag:span|&lrm;&lt;&#47;|class="p"}}{{#tag:span|{{{1|tag}}}|class="nt"}}{{#tag:span|&gt;|class="p"}}
}}</code><noinclude>
+
}}{{#if:{{{plain|}}}|
{{documentation}}
+
|</code>
 +
}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 23:41, 14 March 2022

‎<tag>...‎</tag>