Template:!: Difference between revisions

From Avlis Wiki
Jump to navigation Jump to search
(Replacing page with '|')
 
(We don't use Wikipedia categories. Changed to standard Templates.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
|
|<noinclude>
----
{{hprotected}}
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>&amp;#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 [[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.
 
For obvious reasons this is a '''high risk template''',
and it cannot be [[WP:SUBST|substituted]].
 
{{Lts|{{PAGENAME}}}}
 
 
[[Category:Templates|{{PAGENAME}}]]
[[vi:Tiêu bản:!]]
[[ru:Шаблон:!]]
[[nl:Sjabloon:!]]
</noinclude>

Latest revision as of 18:48, 21 January 2017

|


Template:Hprotected 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 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.

For obvious reasons this is a high risk template, and it cannot be substituted.

Template:Lts vi:Tiêu bản:! ru:Шаблон:! nl:Sjabloon:!