Difference between revisions 3669492 and 3678227 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:!]] --> [[ar:قالب:!]] [[bn:টেমপ্লেটce:Pola:!]] [[ar:قالب:!]] [[ast:Plantía:!]] [[bn:টেমপ্লেট:!]] [[be-x-old:Шаблён:!]] [[bg:Шаблон:!]] [[cs:Šablona:!]] [[da:Skabelon:!]] [[de:Vorlage:!]] [[dsb:Pśedłoga:!]] [[et:Mall:!]]⏎ [[en:Template:!]] [[myv:ЛопаПарцун:!]]⏎ [[es:Plantilla:!]] [[eo:Ŝablono:!]] [[ee:Template:!]] [[fa:الگو:!]]⏎ [[fr:Modèle:!]] [[ko:틀:!]] [[hsb:Předłoha:!]] [[hr:Predložak:!]] [[it:Template:!]] [[he:תבנית:!]] [[ka:თარგი:!]] [[csb:Szablóna:!]] [[ku:Şablon:!]]⏎ [[la:Formula:!]] [[na:Template:!]] [[nl:Sjabloon:!]] [[ja:Template:!]] [[no:Mal:!]] [[or:ଛାଞ୍ଚ:!]]⏎ [[pap:Template:!]] [[pl:Szablon:!]] [[pnt:Πρότυπον:!]] [[pt:Predefinição:!]] [[ru:Шаблон:!]] [[sq:Stampa:!]] [[sk:Šablóna:!]] [[sl:Predloga:!]] [[sr:Шаблон:!]] [[fi:Malline:!]] [[sv:Mall:!]] [[uk:Шаблон:!]] [[ur:سانچہ:!]] [[vec:Modèl:!]]⏎ [[vi:Bản mẫu:!]] [[zh-yue:Template:!]] [[zh:Template:!]] </includeonly><noinclude> <!-- These are the interwiki links for the documentation subpage [[Template:!/doc]], not for the template itself. --> [[ar:قالب:!/شرح]] [[as:সাঁচ:!/doc]] [[cs:Šablona:!/doc]] [[de:Vorlage:!/Doku]] [[en:Template:!/doc]] [[es:Plantilla:!/doc]] [[fr:Modèle:!/Documentation]] [[or:ଟେମ୍ପଲେଟ:!/doc]] [[ro:Format:!/doc]] [[ru:Шаблон:!/doc]] </noinclude> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://simple.wikipedia.org/w/index.php?diff=prev&oldid=3678227.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|