Template:!!/doc: Difference between revisions

From FamilySearch Wiki
(Created page with '{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This is an auxiliary template that allows one to encode "<code>||</code>" (two p…')
 
(fix link)
 
Line 2: Line 2:
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->


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 [[Help:How to use tables|Wiki table]] has to be escaped by a template if it is used within a template.
This is an auxiliary [[Help:Template|template]] that allows one to encode "<code>||</code>" (two pipes or {{wpd|vertical bar|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 [[Help:How to use tables|Wiki table]] has to be escaped by a template if it is used within a template.


==Notes==
==Notes==

Latest revision as of 01:18, 22 April 2010

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[edit source]

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

This template cannot be substituted.

See also[edit source]