Revision 4122237 of "Template:!/doc" on simplewiki

<noinclude>{{documentation subpage}}</noinclude>
{{high-risk|17,900+}}
__NOTOC__

== Use ==

This is the {{t<noinclude>n</noinclude><includeonly>l</includeonly>|!}} template.

This template allows "<code>|</code>" to be used in template parameters. This template is needed because in templates, the pipe is usually seen as a separator.

No special template is needed for "<code>!</code>" (exclamation mark).

This template usually cannot be [[Wikipedia:Substitution|substituted]] (except in special cases, listed in [[#Substitution|the section below]]).

=== Substitution ===
It is possible to [[Wikipedia:Substitution|substitute]] <nowiki>{{!}}</nowiki> only if a normal "'''<code>|</code>'''" works as expected. For example, after substituting the template with <nowiki>{{!}}</nowiki> in it, or after getting rid of an  [[mw:Help:Extension:ParserFunctions#.23if|#if]] with <nowiki>{{!}}</nowiki> in it.

=== Example ===

This template code for {{tl|Quotation}} using an ordinary pipe character,
* <code><nowiki>{{Quotation|It is not possible to use an ordinary pipe character | in template parameters. It will be seen as a separator.}}</nowiki></code>

makes:
{{Quotation|It is not possible to use an ordinary pipe character | in template parameters. It will be seen as a separator.}}

however, this code using the <nowiki>{{!}}</nowiki> template,
* <code><nowiki>{{Quotation|It is not possible to use an ordinary pipe character {{!}} in template parameters. It will be seen as a separator.}}</nowiki></code>

makes:
{{Quotation|It is not possible to use an ordinary pipe character {{!}} in template parameters. It will be seen as a separator.}}

== Related templates ==
* {{tl|!!}}
* {{tl|!-}} makes |-
* {{tn|'}}
* {{tl|!(}}
* {{tl|1==}}

<includeonly>
[[Category:Wikipedia templates|{{PAGENAME}}]]

<!-- These are the interwiki links for [[Template:!]] -->
[[ace:Pola:!]]
[[af:Sjabloon:!]]
[[als:Vorlage:!]]
[[ab:Ашаблон:!]]
[[ar:قالب:!]]
[[bn:টেমপ্লেট:!]]
[[as:সাঁচ:!]]
[[ast:Plantía:!]]
[[zh-min-nan:Template:!]]
[[be-x-old:Шаблён:!]]
[[bg:Шаблон:!]]
[[bxr:Template:!]]
[[cs:Šablona:!]]
[[csb:Szablóna:!]]
[[cy:Nodyn:!]]
[[da:Skabelon:!]]
[[de:Vorlage:!]]
[[dsb:Pśedłoga:!]]
[[eu:Txantiloi:!]]
[[ee:Template:!]]
[[en:Template:!]]
[[es:Plantilla:!]]
[[eo:Ŝablono:!]]
[[fr:Modèle:!]]
[[fur:Model:!]]
[[gan:模板:!]]
[[xal:Кевләр:!]]
[[ko:틀:!]]
[[hsb:Předłoha:!]]
[[hr:Predložak:!]]
[[it:Template:!]]
[[he:תבנית:!]]
[[ka:თარგი:!]]
[[kk:Үлгі:!]]
[[kg:Template:!-]]
[[ku:Şablon:!]]
[[ltg:Taiss:!]]
[[la:Formula:!]]
[[myv:ЛопаПарцун:!]]
[[lb:Schabloun:!]]
[[jbo:Template:!]]
[[ml:ഫലകം:!]]
[[mt:Mudell:!]]
[[na:Template:!]]
[[nl:Sjabloon:!]]
[[new:Template:!]]
[[ja:Template:!]]
[[no:Mal:!]]
[[or:ଛାଞ୍ଚ:!]]
[[pap:Template:!]]
[[pl:Szablon:!]]
[[pnt:Πρότυπον:!]]
[[pt:Predefinição:!]]
[[ru:Шаблон:!]]
[[sq:Stampa:!]]
[[si:සැකිල්ල:!]]
[[ss:Template:!]]
[[sk:Šablóna:!]]
[[sl:Predloga:!]]
[[sr:Шаблон:!]]
[[et:Mall:!]]
[[fa:الگو:!]]
[[fi:Malline:!]]
[[sv:Mall:!]]
[[tl:Padron:!]]
[[ta:வார்ப்புரு:!]]
[[tt:Калып:!]]
[[uk:Шаблон:!]]
[[ur:سانچہ:!]]
[[za:模板:!]]
[[vec:Modèl:!]]
[[vi:Bản mẫu:!]]
[[yi:מוסטער:!]]
[[yo:Àdàkọ:!]]
[[zh-yue:Template:!]]
[[zea:Sjabloon:!]]
[[zh:Template:!]]
</includeonly>