Template:!-/doc: Difference between revisions

From HIBIKIFORUM
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{template rating|p}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->


This is an auxiliary template that allows one to encode the [[Wikipedia:Manual of Style/Tables|wiki table]] delimiter "<code>|-</code>" within template parameters and parser functions. If it is not a template parameter or a parser function, just use "<code>|-</code>".
This is an auxiliary template that allows one to encode the [[Wikipedia:Manual of Style/Tables|wiki table]] delimiter "<code>|-</code>" within template parameters and parser functions. If it is not a template parameter or a parser function, just use "<code>|-</code>".
Line 9: Line 7:
This template cannot be [[Wikipedia:Substitution|substituted]].
This template cannot be [[Wikipedia:Substitution|substituted]].


<includeonly>
== Similar templates ==
{{Character template list}}
 
== TemplateData ==
<templatedata>
{
"params": {},
"description": "This template produces |- as ordinary text."
}
</templatedata>
 
<includeonly>{{sandbox other||{{testcases other||
 
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Character-substitution templates]]
[[Category:Character-substitution templates]]
[[Category:Templates]]
[[Category:Documentation formatting templates]]
</includeonly>
}}}}</includeonly>

Latest revision as of 01:08, 20 August 2023

Light bulb.png }}
It contains usage information, categories and other content that is not part of the original template page.

This is an auxiliary template that allows one to encode the wiki table delimiter "|-" within template parameters and parser functions. If it is not a template parameter or a parser function, just use "|-".

It is advisable to use {{!}}- instead of {{!-}}, as that syntax will be familiar to more editors.

This template cannot be substituted.

Similar templates

Template call
(m for magic word)

Output  (delayed interpretation as wikimarkup)

HTML alternative (never interpreted as wikimarkup)

Notes
{{!}} (m) | &#124;
{{=}} = &#61;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{!(n(}} [[ this uses a <nowiki /> tag
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{(n(}} {{ this uses a <nowiki /> tag
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{((n(}} {{{ this uses a <nowiki /> tag
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;
{{x}} × Multiplication Sign
{{+}}  + Plus sign with a non-breaking space in front
{{-}} - &#8209; A non-breaking hypen
{{a}} α &alpha;
{{b}} β &beta;
{{o}} Ω &Omega;

TemplateData

This template produces |- as ordinary text.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified