Help:Magic words: Difference between revisions

Content deleted Content added
c/e lede
Line 35:
! scope="col" | Switch
! scope="col" | Description
|-
| colspan=2 align=center style="background-color:#f1f4fd" | '''[[Wikipedia:Table of contents|Table of contents]]'''
|-
! scope="row" id="TOC" | <kbd><nowiki>__TOC__</nowiki></kbd>
Line 44 ⟶ 46:
! scope="row" id="NOTOC" | <kbd><nowiki>__NOTOC__</nowiki></kbd>
| Suppresses the appearance of the page's TOC. Can be used anywhere on a page.
|-
| colspan=2 align=center style="background-color:#f1f4fd" | '''Editing'''
|-
! scope="row" id="NOEDITSECTION" | <kbd><nowiki>__NOEDITSECTION__</nowiki></kbd>
Line 50 ⟶ 54:
! scope="row" id="ARCHIVEDTALK" | <kbd><nowiki>__ARCHIVEDTALK__</nowiki></kbd>
| Hides the [[:mw:Talk_pages_project/Replying|"Reply" button]]
|-
! scope="row" id="NOTALK" | <kbd><nowiki>__NOTALK__</nowiki></kbd>
| Makes a page in a talk namespace not be treated like a talk page.
|-
! scope="row" id="NEWSECTIONLINK" | <kbd><nowiki>__NEWSECTIONLINK__</nowiki></kbd>
Line 56 ⟶ 63:
! scope="row" id="NONEWSECTIONLINK" | <kbd><nowiki>__NONEWSECTIONLINK__</nowiki></kbd>
| Removes the "{{int:vector-action-addsection}}" link (the add-new-section link) on talk pages.
|-
| colspan=2 align=center style="background-color:#f1f4fd" | '''Categories'''
|-
! scope="row" id="NOGALLERY" | <kbd><nowiki>__NOGALLERY__</nowiki></kbd>
Line 62 ⟶ 71:
! scope="row" id="HIDDENCAT" | <kbd><nowiki>__HIDDENCAT__</nowiki></kbd>
| Makes a category [[WP:HIDDENCAT|hidden]] when included on that category's page.
|-
! scope="row" id="EXPECTUNUSEDCATEGORY" | <kbd><nowiki>__EXPECTUNUSEDCATEGORY__</nowiki></kbd>
| Removes a category from [[Special:UnusedCategories]].
|-
| colspan=2 align=center style="background-color:#f1f4fd" | '''Other'''
|-
! scope="row" id="EXPECTUNUSEDTEMPLATE" | <kbd><nowiki>__EXPECTUNUSEDTEMPLATE__</nowiki></kbd>
| <div>Used on a template page, removes the page from [[Special:UnusedTemplates]].
 
If this switch is not intended to be transcluded with the template's contents, it should be used inside {{tag|noinclude}} (or on a template documentation page inside ‎{{tag|noinclude}}), similarly to template categories.
 
If the switch is intended to remove from the report all pages that transclude a given template (for example, a notice that is transcluded on testcases or sandbox subpages), put the switch inside ‎{{tag|includeonly}} tags within the template page.</div>
|-
! scope="row" id="INDEX" | <kbd><nowiki>__INDEX__</nowiki></kbd>