From WikiTemp, the GBAtemp wiki

Magic words are strings of text that MediaWiki associates with a return value or function, such as time, site details, or page names. This page is about usage of standard magic words; for a complete list, see Help:Magic_words .

Behavior Switches

Input Description
__NOTOC__ Hides the table of contents (TOC).
__FORCETOC__ Forces TOC to appear.
__TOC__ Forces TOC to appear on the place you typed this.
__NOEDITSECTION__ Hides the [Edit] links on headers.
__NEWSECTIONLINK__ Adds a "+" on the top to add a new section.
__NOGALLERY__ Place this on a category to turn all Images in Links.

Date & Page Variables

Input Result Description
{{CURRENTMONTH}} 10 The current month.
{{CURRENTMONTHNAME}} October Name of the current month.
{{CURRENTMONTHABBREV}} Oct Abbreviated month name.
{{CURRENTDAY}} 18 Day of the month.
{{CURRENTDOW}} 1 Day of the week.
{{CURRENTDAYNAME}} Monday Name of the current day.
{{CURRENTWEEK}} 42 The current week.
{{CURRENTYEAR}} 2021 The current year.
{{CURRENTTIME}} 00:33 The current time in HH:mm format.
{{NUMBEROFARTICLES}} 976 The number of articles in this Wiki.
{{NUMBEROFFILES}} 1,060 The number of uploaded files.


Input Result
{{ns:-2}} or {{ns:Media}} Media
{{ns:-1}} or {{ns:Special}} Special
{{ns:1}} or {{ns:Talk}} Talk
{{ns:2}} or {{ns:User}} User
{{ns:3}} or {{ns:User_talk}} User talk
{{ns:4}} or {{ns:Project}} WikiTemp
{{ns:5}} or {{ns:Project_talk}} WikiTemp talk
{{ns:6}} or {{ns:Image}} File
{{ns:7}} or {{ns:Image_talk}} File talk
{{ns:8}} or {{ns:MediaWiki}} MediaWiki
{{ns:9}} or {{ns:MediaWiki_talk}} MediaWiki talk
{{ns:10}} or {{ns:Template}} Template
{{ns:11}} or {{ns:Template_talk}} Template talk
{{ns:12}} or {{ns:Help}} Help
{{ns:13}} or {{ns:Help_talk}} Help talk
{{ns:14}} or {{ns:Category}} Category
{{ns:15}} or {{ns:Category_talk}} Category talk

Server specific

Input Result Description
{{SITENAME}} WikiTemp Name of the site.
{{SERVERNAME}} Name of the server.
{{SERVER}} // Link to the server.
{{localurl:pagename}} /wiki/Pagename
{{localurl:pagename|query string}} /wiki/Pagename?query string

Page related

Input Result Description
{{PAGENAME}} Magic words Pagename without Namespace.
{{PAGENAMEE}} Magic_words URL encoded pagename.
{{NAMESPACE}} Help Current Namespace.
{{SUBJECTSPACE}} Help Associated Subjectspace.
{{TALKSPACE}} Help talk Associated Talkspace.
{{FULLPAGENAME}} Help:Magic words Pagename with Namespace.
{{REVISIONID}} 36162 The unique revision ID.