Open main menu
Home
Random
Log in
Settings
About Chabadpedia
Chabadpedia
Search
Editing
Help:Magic words
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Behavior switches == {{further|mw:Help:Magic words#Behavior switches}} {| class="wikitable plainrowheaders" ! scope="col" | Switch ! scope="col" | Description |- ! scope="row" id="TOC" | <kbd><nowiki>__TOC__</nowiki></kbd> | Places the page's [[Help:Table of contents|table of contents (TOC)]] at the word's position. This magic word does not work in skins that present the table of contents outside the article content e.g. the default Vector 2022 skin. |- ! scope="row" id="FORCETOC" | <kbd><nowiki>__FORCETOC__</nowiki></kbd> | Forces the TOC to appear in its default position, even when there are fewer than four headings. Can be used anywhere on a page. This magic word does not work in skins that present the table of contents outside the article content e.g. the default Vector 2022 skin. |- ! scope="row" id="NOTOC" | <kbd><nowiki>__NOTOC__</nowiki></kbd> | Suppresses the appearance of the page's TOC. Can be used anywhere on a page. |- ! scope="row" id="NOEDITSECTION" | <kbd><nowiki>__NOEDITSECTION__</nowiki></kbd> | Hides the "edit" links normally beside ''all'' headings on the page. To hide the edit link beside a ''particular'' heading, specify the heading using e.g. an [[HTML element|HTML tag]] such as {{tag|h2|content=''heading''}} rather than with the usual wiki equals-signs syntax (e.g. {{nowrap|1=<kbd>== ''heading'' ==</kbd>}}{{thinsp}}). |- ! scope="row" id="ARCHIVEDTALK" | <kbd><nowiki>__ARCHIVEDTALK__</nowiki></kbd> | Hides the [[:mw:Talk_pages_project/Replying|"Reply" button]] |- ! scope="row" id="NEWSECTIONLINK" | <kbd><nowiki>__NEWSECTIONLINK__</nowiki></kbd> | On non-talk pages, adds a "{{int:vector-action-addsection}}" link as a means to add a new section to the page. |- ! scope="row" id="NONEWSECTIONLINK" | <kbd><nowiki>__NONEWSECTIONLINK__</nowiki></kbd> | Removes the "{{int:vector-action-addsection}}" link (the add-new-section link) on talk pages. |- ! scope="row" id="NOGALLERY" | <kbd><nowiki>__NOGALLERY__</nowiki></kbd> | Replaces thumbnails on a category page with normal links. |- ! scope="row" id="HIDDENCAT" | <kbd><nowiki>__HIDDENCAT__</nowiki></kbd> | Makes a category [[CP:HIDDENCAT|hidden]] when included on that category's page. |- ! scope="row" id="INDEX" | <kbd><nowiki>__INDEX__</nowiki></kbd> | Instructs [[Web search engine|search engine]]s to index the page. |- ! scope="row" id="NOINDEX" | <kbd><nowiki>__NOINDEX__</nowiki></kbd> | Instructs search engines not to index the page. See [[Chabadpedia:Controlling search engine indexing]]. |- ! scope="row" id="STATICREDIRECT" | <kbd><nowiki>__STATICREDIRECT__</nowiki></kbd> | Prevents the link on a [[Help:Redirect|redirection]] page from being updated automatically when the page to which it redirects is moved (and "Update any redirects that point to the original title" is selected). |- ! scope="row" id="DISAMBIG" | <kbd><nowiki>__DISAMBIG__</nowiki></kbd> | Marks a page as a [[CP:DAB|disambiguation page]], adds it to [[Special:DisambiguationPages]] and places inward links in [[Special:DisambiguationPageLinks]]. (See [[mw:Extension:Disambiguator]].) |- ! scope="row" id="DISPLAYTITLE" | <kbd>{<nowiki/>{DISPLAYTITLE:''title''}}</kbd> | Used to amend the [[CP:DISPLAYTITLE|displayed form]] of the page's title. |- ! scope="row" id="DEFAULTSORT" | <kbd>{<nowiki/>{DEFAULTSORT:''sortkey''}}</kbd> | Sets the default [[Help:Category#Sorting category pages|key]] (the index) under which the page is categorised. Functionality is documented at {{section link|Help:Category#Default sort key}}, and guidelines are at {{section link|Chabadpedia:Categorization#Sort keys}}. |- ! scope="row" id="NOEXTERNALLANGLINKS" | <kbd>[[mw:Wikibase/Installation/Advanced configuration#noexternallanglinks|{<nowiki/>{NOEXTERNALLANGLINKS}}]]</kbd> || (equivalent to {<nowiki/>{NOEXTERNALLANGLINKS:*}}{{thinsp}}) Suppresses the automated inclusion of [[Wikidata:Help:Linking Chabadpedia pages|Wikidata]] [[Help:Interlanguage links|interlanguage links]] on the lefthand side of the page. Links to particular rather than all languages may be suppressed by using {<nowiki/>{NOEXTERNALLANGLINKS:''list''}}, where ''list'' a [[Vertical bar|pipe]]-[[Delimiter|delimited]] list of [[language code]]s (e.g. {<nowiki/>{NOEXTERNALLANGLINKS:fr{{pipe}}es{{pipe}}ja}} to suppress the French ("fr"), Spanish ("es") and Japanese ("ja") interlanguage links). |}
Edit summary
(Briefly describe your changes)
Please note that all contributions to Chabadpedia are considered to be released under the GNU Free Documentation License 1.3 or later (see
Chabadpedia:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
This page is a member of 4 hidden categories:
Category:Chabadpedia pages with incorrect protection templates
Category:Pages with missing files
Category:Pages with script errors
Category:Pages with syntax highlighting errors