Difference between revisions of "Template:!"
From TDWG Terms Wiki
(output vertical bar, used in template programming) |
(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 ca...") |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | | | + | |<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, better use "<code>&#124;</code>" | ||
+ | for this purpose. However the "<code>|</code>" 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 "<code>!</code>" (exclamation mark), it | ||
+ | only affects "<code>|</code>" (vertical bar) in conjunction | ||
+ | with the [[m:Help:Parameter default]] mechanism within tables. | ||
+ | |||
+ | [[Category:Workaround templates]] | ||
+ | </noinclude> |
Latest revision as of 09:37, 27 August 2012
|
This is an auxiliary template allowing to encode "|
"
within template parameters. It is unnecessary to get a
"|
" in these cases, better use "|
"
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.