Difference between revisions of "Template:Tag"

From Dharmawiki
Jump to navigation Jump to search
en>Edokter
(Established convention uses "..." to seperate begin- and end tags with no content.)
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code style="white-space:nowrap;">{{#switch:{{{2|pair}}}
+
{{#if:{{{plain|}}}|
 +
|<code style="white-space:nowrap">
 +
}}{{#switch:{{{2|pair}}}
 
  |c|close  = <!--nothing-->
 
  |c|close  = <!--nothing-->
 
  |s|single
 
  |s|single
Line 14: Line 16:
 
  |c|close
 
  |c|close
 
  |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
 
  |p|pair  = &lt;&#47;{{{1|tag}}}&gt;
}}</code><noinclude>
+
}}{{#if:{{{plain|}}}|
 +
|</code>
 +
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 01:14, 17 April 2019

<tag>...</tag> Lua error in mw.lua at line 307: frame:expandTemplate: a title is required.