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>" ...' |
m design |
||
| (10 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
||<noinclude> | ||<noinclude> | ||
- | {{doc-inline}} | ||
This is an auxiliary template allowing to encode "<pre>||</pre>" within template parameters. It is '''unnecessary''' to get a "<pre>||</pre>" in these cases, better use "<pre>&#124;&#124;</pre>" for this purpose. However the "<pre>||</pre>" delimiter for a wiki table has to be escaped by a template if it's used within a template, see also [[w:Help:Conditional tables]]. | |||
[[Category: | Note that there's no such problem with "<pre>!!</pre>" (exclamation mark), it only affects "<pre>||</pre>" (vertical bar) in conjunction with the [[m:Special:MyLanguage/Help:Parameter default|m:Help:Parameter default]] mechanism within tables. | ||
{{doc-end}} | |||
[[Category:Workaround templates|{{PAGENAME}}]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 04:11, 1 February 2024
||
||" 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:Help:Conditional tables. 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.