Template:!!: Difference between revisions
Template page
More actions
←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>" ...' |
mNo edit summary |
||
| Line 1: | Line 1: | ||
||<noinclude> | ||<noinclude> | ||
---- | ---- | ||
This is an auxiliary template allowing to encode "<code>|</code>" | This is an auxiliary template allowing to encode "<code>||</code>" | ||
within template parameters. It is '''unnecessary''' to get a | within template parameters. It is '''unnecessary''' to get a | ||
"<code>|</code>" in these cases, better use "<code>&#124;</code>" | "<code>||</code>" in these cases, better use "<code>&#124;&#124;</code>" | ||
for this purpose. However the "<code>|</code>" delimiter for a | for this purpose. However the "<code>||</code>" delimiter for a | ||
Wiki table has to be escaped by a template if it's used | Wiki table has to be escaped by a template if it's used | ||
within a template, see also [[w:WP:QIF]]. | within a template, see also [[w:WP:QIF]]. | ||
Note that there's no such problem with "<code>!</code>" (exclamation mark), it | Note that there's no such problem with "<code>!!</code>" (exclamation mark), it | ||
only affects "<code>|</code>" (vertical bar) in conjunction | only affects "<code>||</code>" (vertical bar) in conjunction | ||
with the [[m:Help:Parameter_default]] mechanism within tables. | with the [[m:Help:Parameter_default]] mechanism within tables. | ||
[[Category:Helper templates|{{PAGENAME}}]] | [[Category:Helper templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||