Help:Magic words

From Support Wiki
Jump to navigation Jump to search


Magic words map a variety of wiki text strings to a single ID that is associated with a function.



Name Description
__NOTOC__ Hides the table of contents (TOC).
__FORCETOC__ Puts table of contents to appear at its normal position (before the first header).
__TOC__ Overriding __NOTOC__, it places the table of contents at the words current position.
__NOEDITSECTION__ Hides the "Edit" links beside headings.
__HIDDENCAT__ Hides the category from the lists of categories in its members and parent categories.
You can go to your Preferences to show the hidden categories on articles.
__NOINDEX__ Tells search engines (like Google/Bing) to not index the page.
__DISAMBIG__ Identifies an article as a disambiguation page.
__NOTITLE__ Hides the title for a page. Mostly used on Main Page.

Name Description

Name Description

Name Description
{{FULLPAGENAME}} Full title
{{PAGENAME}} Full title
{{BASEPAGENAME}} Base page title
{{SUBPAGENAME}} Subpage title
{{SUBJECTPAGENAME}} Associated subject page
{{ARTICLEPAGENAME}} Associated subject page
{{TALKPAGENAME}} Associated talk page
{{ROOTPAGENAME}} Name of the root of the current page