Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:!!: Difference between revisions

Template page
m Reverted edits by Aniruddha spinks (talk) to last revision by Mike.lifeguard
No edit summary
Line 3: Line 3:


----
----
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 "<code>||</code>" in these cases, better use "<code>&amp;#124;&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 [[w:Help:Conditional tables]].
within template parameters. It is '''unnecessary''' to get a
"<code>||</code>" in these cases, better use "<code>&amp;#124;&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 [[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 with the [[m:Special:MyLanguage/Help:Parameter default|m:Help:Parameter default]] mechanism within tables.
only affects "<code>||</code>" (vertical bar) in conjunction
with the [[m:Help:Parameter_default]] mechanism within tables.


[[Category:Workaround templates|{{PAGENAME}}]]
[[Category:Workaround templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 09:50, 23 May 2020

||



This is an auxiliary template allowing to encode "||" within template parameters. It is unnecessary to get a "||" in these cases, better use "&#124;&#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 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.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.