Help:Magic words: Difference between revisions

Content deleted Content added
Behavior switches: Add missing nowiki
m fix
 
(One intermediate revision by the same user not shown)
Line 1:
{{pp-vandalism|small=yes}}
{{short description|Special markup for MediaWiki}}
{{redirect-multi|2
|WP:MAGIC|H:MW
|WikiProject Magic|Wikipedia:WikiProject Magic}}
{{redirect|H:MW|the MediaWiki Help namespace|Help:MediaWiki namespace|the MediaWiki software application|MediaWiki}}
{{for|an introduction|Help:Magic words for beginners}}{{for-multi|a more comprehensive guide|mw:Help:Magic words}}
{{Wikipedia how-to|H:MW|WP:MAGIC|WP:MAGICWORDS}}
{{Simple|Help:Magic words for beginners}}
 
'''Magic words''' (including '''parser functions''', '''variables''', and '''behavior switches''') are features of [[Help:Wiki markup|wiki markup]] that give instructions to Wikipedia's underlying [[MediaWiki]] software. For example, certain magic words are used to suppress or position the [[Wikipedia:Table of contents|table of contents]], disable [[Wikipedia:INDEXING|indexing]] by external search engines, or produce output dynamically based on the current page or on user-defined [[Help:Conditional expressions|conditional expressions]]. Some of these features are especially useful for [[WP:Templates|templates]].
Line 108 ⟶ 112:
== Variables ==
{{Shortcut|WP:VAR}}
{{Redirectredirect-multi|2|WP:VAR|WP:PAGENAME|policies and guidelines with WP:*VAR shortcuts, mostly about style matters|WP:VARS|the article naming policy|Wikipedia:Article titles}}
{{Further|mw:Help:Magic words#Variables|Wikipedia:Page name#sub}}
{{Redirect|WP:VAR|policies and guidelines with WP:*VAR shortcuts, mostly about style matters|WP:VARS}}
{{Redirect|WP:PAGENAME|the article naming policy|Wikipedia:Article titles}}
 
{| class="wikitable plainrowheaders"
! scope="col" | Page name variable