Difference between revisions of "Template:!!/doc"

From Australian sf information
Jump to: navigation, search
(copy/paste from Wikipedia (most relevant part of a documentation page))
 
m (removing links)
 
Line 1: Line 1:
This is an auxiliary [[Help:Template|template]] that allows one to encode "<code>||</code>" (two pipes or [[vertical bar]]s) within template parameters.  If it is '''unnecessary''' to get a "<code>||</code>", it is better to use "<code>&amp;#124;&amp;#124;</code>".  However the "<code>||</code>" delimiter for a [[Wikipedia:How to use tables|Wiki table]] has to be escaped by a template if it is used within a template.
+
This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or vertical bars) within template parameters.  If it is '''unnecessary''' to get a "<code>||</code>", it is better to use "<code>&amp;#124;&amp;#124;</code>".  However the "<code>||</code>" delimiter for a [[Wikipedia:How to use tables|Wiki table]] has to be escaped by a template if it is used within a template.
  
 
==Notes==
 
==Notes==
There is no such problem with "<code>!!</code>" (exclamation marks).  This problem only affects "<code>||</code>" (vertical bars) in conjunction with the [[m:Help:Parameter default]] mechanism within tables.
+
There is no such problem with "<code>!!</code>" (exclamation marks).  This problem only affects "<code>||</code>" (vertical bars) in conjunction with the Parameter default mechanism within tables.
  
 
This template cannot be [[Wikipedia:Template substitution|substituted]].
 
This template cannot be [[Wikipedia:Template substitution|substituted]].

Latest revision as of 23:46, 25 January 2011

This is an auxiliary template that allows one to encode "||" (two pipes or vertical bars) within template parameters. If it is unnecessary to get a "||", it is better to use "&#124;&#124;". However the "||" delimiter for a Wiki table has to be escaped by a template if it is used within a template.

Notes

There is no such problem with "!!" (exclamation marks). This problem only affects "||" (vertical bars) in conjunction with the Parameter default mechanism within tables.

This template cannot be substituted.