Template:=/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Doc page
 
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{docheadwiki}}
{{dochead}}{{wikipedia}}
This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or {{w|vertical bar}}s). There is usually no such problem with exclamation marks themselves, but in table rows starting with "<code>!</code>" there can be problems with "<code>!</code>" and "<code>!!</code>" being interpreted as a cell separator. For table rows or cells starting with "<code>!</code>" or "<code>!!</code>", it is better to use the corresponding HTML entity for exclamation marks that are not cell separators (i.e. <code>&amp;#x21;</code> or <code>&amp;#33;</code>).
 
{{esctl}}
{{esctl}}

Revision as of 17:37, 23 December 2024

English Wikipedia has an article on:

This is an auxiliary template that allows one to encode "||" (two pipes or vertical bars). There is usually no such problem with exclamation marks themselves, but in table rows starting with "!" there can be problems with "!" and "!!" being interpreted as a cell separator. For table rows or cells starting with "!" or "!!", it is better to use the corresponding HTML entity for exclamation marks that are not cell separators (i.e. &#x21; or &#33;).

Template calls for escaping characters
Template call* Output** HTML alternative***
{{!}} (m) | &#124; or {{pipe}}
{{=}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91; or {{lbrack}}
{{)!}} ] &#93; or {{rbrack}}
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!+}} |+ &#124;&#43;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;
{{'}} ' &#39;
{{colon}} : &#58;
{{^(}} < &#60; or &lt;
{{)^}} > &#62; or &gt;
{{**}} * &#42;
This table: ViewTalkEdit

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup