User:Flutter/Help:Magic words between double underscores
Jump to navigation
Jump to search
Table of contents[edit | edit source]
Word | Explanation |
---|---|
__NOTOC__ | Hides ToC on the current page. |
__FORCETOC__ | Forces the table of contents to appear, even in a article with 3 headings or less.[2] |
__TOC__ | Places a ToC here (overriding any __NOTOC__). Multiple ToCs are no longer supported. If __TOC__ is used multiple times, only the first occurrence causes a ToC to appear. |
Other[edit | edit source]
Word | Explanation |
---|---|
__NOEDITSECTION__ | Hides the edit links beside headings. |
__NEWSECTIONLINK__ | [MW1.7+] Gives a "+"-link next to the edit-tab to make a new section on a non-talk page (post-a-comment feature). |
__NOCONTENTCONVERT__ __NOCC__ |
Don't perform the content language conversion (character and phase) in article display; for example, Chinese zh with zh_cn, zh_tw, zh_sg, zh_hk. |
__NOGALLERY__ | [MW1.7+] This magic word allows images in category pages to be displayed as inline links instead of gallery. |
__NOTITLECONVERT__ __NOTC__ |
Like __NOCC__ but affecting article title only. |
__END__ | Allows for trailing whitespace to be included in the page save (does not seem to work anymore). |
__START__ | This magic word has no effect but an ID in MagicWord.php (MAG_START ).
|