Actions

Template

Difference between revisions of "!"

From HacDC Wiki

(Created page with '|<noinclude> ---- This is an auxiliary template allowing to encode "<code>|</code>" within template parameters. It is '''unnecessary''' to get a "<code>|</code>" in these cases…')
 
 
Line 14: Line 14:
with the [[m:Help:Parameter default]] mechanism within tables.
with the [[m:Help:Parameter default]] mechanism within tables.


[[Category:Workaround templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 20:05, 5 April 2012

|



This is an auxiliary template allowing to encode "|" within template parameters. It is unnecessary to get a "|" in these cases, better use "&#124;" for this purpose. However the "|" delimiter for a Wiki table has to be escaped by a template if it's used within a template, see also w:WP:QIF.

Note that there's no such problem with "!" (exclamation mark), it only affects "|" (vertical bar) in conjunction with the m:Help:Parameter default mechanism within tables.