Help:Magic words lists the special codes that produce changing values in a page.
Common magic words
{{PAGENAME}}: the title of the current page.{{CURRENTYEAR}},{{CURRENTMONTHNAME}},{{CURRENTDAY}}: today's date pieces.{{NUMBEROFARTICLES}}: the site's article count.{{REVISIONID}}: the current version's number.{{fullurl:Page name}}: the full web address of a page, used inside links.
Behaviour switches
Written with double underscores, these change how a page behaves: __TOC__ forces the table of contents to appear at that spot, __NOTOC__ hides it, and __NOEDITSECTION__ removes the edit links beside headings.