Difference between revisions 4165588 and 4168184 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:!]] [[kbd:Шаблон:!]] [[af:Sjabloon:!]] [[als:Vorlage:!]] [[ab:Ашаблон:!]] [[ar:قالب:!]] [[bn:টেমপ্লেট:!]] [[frp:Modèlo:!]] [[as:সাঁচ:!]] [[ast:Plantía:!]] [[zh-min-nan:Template:!]] [[be-x-old:Шаблён:!]] [[bg:Шаблон:!]] [[bxr:Template:!]] [[cs:Šablona:!]] [[csb:Szablóna:!]] [[tum:Template:!]] [[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:!]] [[gd:Teamplaid:!]] [[gan:模板:!]] [[hak:Template:!]] [[xal:Кевләр:!]] [[ko:틀:!]] [[hsb:Předłoha:!]] [[hr:Predložak:!]] [[ia:Patrono:!]] [[it:Template:!]] [[he:תבנית:!]] [[ka:თარგი:!]] [[kk:Үлгі:!]] [[kw:Skantlyn:!]] [[kg:Template:!-]] [[ku:Şablon:!]] [[ltg:Taiss:!]] [[la:Formula:!]] [[myv:ЛопаПарцун:!]] [[lb:Schabloun:!]] [[jbo:Template:!]] [[lmo:Mudel:!]] [[ml:ഫലകം:!]] [[mt:Mudell:!]] [[mn:Загвар:!]] [[na:Template:!]] [[nl:Sjabloon:!]] [[new:Template:!]] [[ja:Template:!]] [[no:Mal:!]] [[mhr:Кышкар:!]] [[or:ଛାଞ୍ଚ:!]] [[pa:ਫਰਮਾ:!]]⏎ [[pap:Template:!]] [[km:ទំព័រគំរូ:!]] [[pms:Stamp:!]] [[nds:Vörlaag:!]] [[pl:Szablon:!]] [[pnt:Πρότυπον:!]] [[pt:Predefinição:!]] [[qu:Plantilla:!]] [[ru:Шаблон:!]] [[sc:Template:!]] [[sq:Stampa:!]] [[si:සැකිල්ල:!]] [[ss:Template:!]] [[sk:Šablóna:!]] [[sl:Predloga:!]] [[sr:Шаблон:!]] [[et:Mall:!]] [[fa:الگو:!]] [[sh:Šablon:!]] [[fi:Malline:!]] [[sv:Mall:!]] [[tl:Padron:!]] [[ta:வார்ப்புரு:!]] [[tt:Калып:!]] [[tr:Şablon:!]] [[uk:Шаблон:!]] [[ur:سانچہ:!]] [[za:模板:!]] [[vec:Modèl:!]] [[vi:Bản mẫu:!]] [[yi:מוסטער:!]] [[yo:Àdàkọ:!]] [[zh-yue:Template:!]] [[zea:Sjabloon:!]] [[zh:Template:!]] </includeonly> 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=4168184.
![]() ![]() 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.
|