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}} 03 The current month.
{{CURRENTMONTHNAME}} March Name of the current month.
{{CURRENTMONTHABBREV}} Mar Abbreviated month name.
{{CURRENTDAY}} 29 Day of the month.
{{CURRENTDOW}} 5 Day of the week.
{{CURRENTDAYNAME}} Friday Name of the current day.
{{CURRENTWEEK}} 13 The current week.
{{CURRENTYEAR}} 2024 The current year.
{{CURRENTTIME}} 06:53 The current time in HH:mm format.
{{NUMBEROFARTICLES}} 991 The number of articles in this Wiki.
{{NUMBEROFFILES}} 1,069 The number of uploaded files.

Namespaces

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}} wiki.gbatemp.net Name of the server.
{{SERVER}} //wiki.gbatemp.net 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.