Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Alternatives  





2 TemplateData  





3 See also  














Template:Void






Afrikaans
Alemannisch
Алтай тил
العربية
Arpetan

Авар
Azərbaycanca
تۆرکجه
Basa Bali

Banjar
 / Bân-lâm-gú
Башҡортса
Беларуская
Беларуская (тарашкевіца)

Български
Boarisch
Bosanski
Brezhoneg
Буряад
Català
Чӑвашла
Čeština
Chi-Chewa
Cymraeg
Dansk
Deutsch
ދިވެހިބަސް
Dolnoserbski

Eesti
Ελληνικά
Esperanto
Euskara
فارسی
Føroyskt
Français
Gaeilge
ГӀалгӀай

  / Gõychi Konknni

Հայերեն
ि
Hornjoserbsce
Hrvatski
Ilokano
Bahasa Indonesia
IsiZulu
Íslenska
Italiano
Jawa

Қазақша
Kurdî
Ladino
Latina
Latviešu
Lietuvių
Ligure
La .lojban.
Magyar
ि
Македонски


مصرى
Bahasa Melayu
 / Mìng-dĕ̤ng-nḡ
Mirandés
Мокшень

Nederlands


Norsk bokmål
Occitan
ି
Oʻzbekcha / ўзбекча

پښتو

Polski
Português
Română
Русский
Саха тыла

Scots
Seeltersk
Shqip

Simple English
سنڌي
Slovenčina
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Suomi
Svenska
Tagalog
ி
Taqbaylit
Татарча / tatarça
 


Тоҷикӣ
Türkçe
Удмурт
Basa Ugi
Українська
اردو
Tiếng Vit

Yorùbá

Zazaki

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikimedia Commons
MediaWiki
Meta-Wiki
Wikimedia Outreach
Multilingual Wikisource
Wikispecies
Wikibooks
Wikidata
Wikifunctions
Wikinews
Wikisource
Wikiversity
Wikivoyage
Wiktionary
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 

(Redirected from Template:^)

  • {{^}}
  • {{X0}}
  • {{Null}}
  • This template does nothing visually. Technically, it throws away its parameters and outputs the null string.

    It is useful for programming advanced templates, and is often used within a template to the right of an equals sign. It may also be used in a template to disambiguate parsing of braces.

    It can also be used to temporarily disable code. Unlike "commenting out" using HTML <!-- -->, it nests. This means that {{void|foo {{void|bar}} baz}} is valid, whereas <!-- foo <!-- bar --> baz --> will produce baz -->.

    It provides a particularly concise way of temporarily disabling templates, by prefixing the template name with ^|, making the template name become the (ignored) first unnamed parameter. For example, suppose you have a page {{Under construction}} for several days, and wish to change that to {{In use}} during active editing sessions. Rather than delete the unused template, you can leave both templates in the wikitext and change from {{^|In use|...}}{{Under construction|...}}to{{In use|...}}{{^|Under construction|...}}.

    Another possible application would be to temporarily disable an infobox on an article page while a problem with the infobox template itself is resolved.

    A deeper no-op is {{subst:void|foobar}}or{{subst:^|foobar}}. It disappears completely upon saving.

    Alternatives

    {{Null}} also redirects here. It is also possible to use {{ns:0}}, the empty/void/null string for the main namespace.

    It can be used in place of <nowiki /> to break character sequence parsing, for example {{nowrap|{''a''}{{null}}}} to force the first closing brace to be treated as part of the template parameter instead of as the end of the template expression.

    TemplateData

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

    TemplateData for Void

    A template to show the null string, i.e. nothing. Any parameters are accepted and ignored.

    Template parameters[Edit template data]

    ParameterDescriptionTypeStatus
    No parameters specified

    See also


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Void&oldid=888920780"

    Categories: 
    Wikipedia utility templates
    Templates with no visible output
    Hidden categories: 
    Wikipedia template-protected templates
    Templates using TemplateData
     



    This page was last edited on 22 March 2019, at 06:51 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki