[go: nahoru, domu]

Jump to content

Template:!-/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m See also: restore interlanguage links removed in error
m Reverted edit by 41.4.4.57 (talk) to last version by Morpheus737
 
(28 intermediate revisions by 23 users not shown)
Line 1: Line 1:
{{documentation subpage}}
{{Documentation subpage}}
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{Cascade-protected template}}
This is an auxiliary [[Help:Template|template]] that allows one to encode the [[Wikipedia:How to use 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>".
{{High-use}}


This is an auxiliary [[Help:Template|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>".
It is advisable to use <nowiki>{{!}}-</nowiki> instead of <nowiki>{{!-}}</nowiki>.


It is advisable to use <code>{{tn|!}}-</code> instead of <code>{{braces|!-}}</code>, as that syntax will be familiar to more editors.
This template cannot be [[Wikipedia:Template substitution|substituted]].


This template cannot be [[Wikipedia:Substitution|substituted]].
==See also==
*[[Template:!]]
*[[Template:!!]]
*[[Template:-!]]
*[[Wikipedia:Qif conditionals]]
*{{tim|!}}
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]


== See also ==
<!-- ADD INTERWIKIS BELOW THIS LINE -->
{{Escape template list}}
[[af:Sjabloon:!-]]

[[als:Vorlage:!-]]
* [[mw:Help:Template#A parameter value containing a pipe character]]
[[bg:Шаблон:!-]]
* {{tlx|(!}} Open table
[[bn:Template:!-]]
* {{tlx|!}} this is not a template but a "magic word" see [[mw:Help:Magic words#Other]] and {{tim|!}}
[[ca:Plantilla:!-]]
* {{tlx|!!}} Table cell separator
[[cs:Šablona:!-]]
* {{tlx|!)}} Close table
[[da:Skabelon:!-]]
* [[Wikipedia:Conditional tables]]
[[de:Vorlage:!-]]

[[dsb:Pśedłoga:!-]]
== TemplateData ==
[[et:Mall:!-]]
{{TemplateData header}}
[[eo:Ŝablono:!-]]
<templatedata>
[[es:Plantilla:!-]]
{
[[fa:الگو:!-]]
"description": "This template produces |- as ordinary text.",
[[fr:Modèle:!-]]
"params": {}
[[hsb:Předłoha:!-]]
}
[[ia:Patrono:!-]]
</templatedata>
[[it:Template:!-]]

[[ka:თარგი:!-]]
<includeonly>{{sandbox other||
[[kab:Talγa:!-]]
[[Category:Character-substitution templates]]
[[ksh:Schablon:!-]]
[[Category:Templates with partial table wikitext]]
[[ku:Şablon:!-]]
[[Category:Template namespace templates]]
[[nl:Sjabloon:!-]]
}}</includeonly>
[[ja:Template:!-]]
[[nn:Mal:!-]]
[[ru:Шаблон:!-]]
[[sr:Шаблон:!-]]
[[sv:Mall:!-]]
[[ta:வார்ப்புரு:!-]]
[[vi:Tiêu bản:!-]]
[[zh:Template:!-]]
</includeonly><noinclude>
[[es:Plantilla:!-/doc]]
[[or:ଟେମ୍ପଲେଟ:!-/doc]]
[[ru:Шаблон:!-/doc]]
</noinclude>

Latest revision as of 14:07, 25 May 2024

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.

See also

[edit]
Template call
(m for magic word)
Output (delayed interpretation as wikimarkup) HTML alternative (never interpreted as wikimarkup)
{{!}} (m) | &#124; or {{pipe}}
{{=}} (m) = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{(!}} {| &#123;&#124;
{{!+}} |+ &#124;&#43;
{{!-}} |- &#124;&#45;
{{!)}} |} &#124;&#125;

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:!- in articles based on its TemplateData.

TemplateData for !-

This template produces |- as ordinary text.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified