User talk:Kosmo

From AvatarWiki
Revision as of 10:05, 30 May 2014 by Ylem (talk | contribs) (Putting back my comment that WinterRose removed)
Jump to navigation Jump to search

Question:

How do I create a table of contents within a page, with links to sections lower in the page?

Eg - Abbaye Du Livre and other Area page have a Contents box with links to Directions, Navigation, etc.

I don't see any code for the Contents box on the "edit" screen.

It is triggered based on how many sections you have. Once you hit four it is automatically created. --Ylem 15:37, 28 May 2014 (EDT)

Magic Words

Mediawiki installations recognise a lot of "magic words" (see WP:MAGIC for a full list of all the various types). The ones I have copied below deal with behaviours, and as you can see, the top three relate to Tables of Contents.

For documentation, see the Behavior switches section of the MediaWiki page, unless otherwise stated.

  • __NOTOC__ (can appear anywhere in the wikitext; suppresses the table of contents)
  • __FORCETOC__ (can appear anywhere in the wikitext; makes a table of contents appear in its normal position above the first heading)
  • __TOC__ (places a table of contents at the word's position)
  • __NOEDITSECTION__ (hides the section "edit" links beside all headings on the page; to hide the edit link for one section only, use suitable html tags – e.g. Template:Tag – in place of the normal ==Section== syntax to insert the normal formatting for a section header without including the edit link)
  • __NEWSECTIONLINK__ (adds a "+" link for adding a new section on a non-"Talk" page)
  • __NONEWSECTIONLINK__ (removes the "+" link on "Talk" pages)
  • __HIDDENCAT__ (on a category page, makes it a hidden category)
  • __INDEX__ (tells search engines to index the page)
  • __NOINDEX__ (tells search engines not to index the page)
  • __DISAMBIG__ (marks a page as a disambiguation page and places it in Special:DisambiguationPages, and places inward links in Special:DisambiguationPageLinks). See mw:Extension:Disambiguator.
  • {{DISPLAYTITLE:title}} (changes the displayed form of the page title)

I hope this is helpful for you all. 22:00, 29 May 2014 (EDT)

Senseless Clutter

Shiny, thanx Qis! (Kosmo, feel free to clear out this page if you wish, hehe) -- WinterRose 07:38, 30 May 2014 (EDT)