Template talk:!: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
(fix links)
 
No edit summary
Line 1: Line 1:
==Documentation==
This is an auxiliary template allowing one to encode "<code>|</code>"
This is an auxiliary template allowing one to encode "<code>|</code>"
within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "<code>&amp;#124;</code>" which is rendered the same. Use this template in parameter values of [[help:templates|template]]s of which the result is used in [[help:tables|table]] syntax, since this requires the "real" pipe character.  
within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "<code>&amp;#124;</code>" which is rendered the same. Use this template in parameter values of [[help:templates|template]]s of which the result is used in [[help:tables|table]] syntax, since this requires the "real" pipe character.  

Revision as of 10:30, 15 June 2010

Documentation

This is an auxiliary template allowing one to encode "|" within template and parser function parameters. To get the symbol in final output this template is unnecessary, better use "&#124;" which is rendered the same. Use this template in parameter values of templates of which the result is used in table syntax, since this requires the "real" pipe character.

This template cannot be used for putting the character as text in a wiki table; in that case, again, "&#124;" can be used.

Note that the table syntax code "!" (exclamation mark) can be used directly in parameter values, so for that a template like this is not needed.