Difference between revisions of "User talk:Kosmo"

From AvatarWiki
Jump to navigation Jump to search
m (→‎Magic Words: interwiki linked (where possible - WP: okay, MW: via url), redid sig. Couldn't be bothered to import TAG and H2 templates to fully fix the text. :-P)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Question: ==
+
__TOC__
 +
 
 +
 
 +
== Awesome stuff that awesome people have imparted ==
 +
 
 +
=== Question: ===
  
 
How do I create a table of contents within a page, with links to sections lower in the page?
 
How do I create a table of contents within a page, with links to sections lower in the page?
Line 11: Line 16:
 
: Oops my mistake, deleted your comment it by accident, sorry. -- [[User:WinterRose|WinterRose]] 14:48, 30 May 2014 (EDT)
 
: Oops my mistake, deleted your comment it by accident, sorry. -- [[User:WinterRose|WinterRose]] 14:48, 30 May 2014 (EDT)
  
==Magic Words==
+
===Magic Words===
  
 
Mediawiki installations recognise a lot of "magic words" (see [[wikipedia:WP:MAGIC|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.
 
Mediawiki installations recognise a lot of "magic words" (see [[wikipedia:WP:MAGIC|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.
Line 32: Line 37:
 
--[[User:Qismat|Qismat]] 16:37, 30 May 2014 (EDT)
 
--[[User:Qismat|Qismat]] 16:37, 30 May 2014 (EDT)
  
=== Senseless Clutter ===
+
==== Senseless Clutter ====
  
__TOC__
 
  
 
Shiny, thanx Qis! (Kosmo, feel free to clear out this page if you wish, hehe) -- [[User:WinterRose|WinterRose]] 07:38, 30 May 2014 (EDT)
 
Shiny, thanx Qis! (Kosmo, feel free to clear out this page if you wish, hehe) -- [[User:WinterRose|WinterRose]] 07:38, 30 May 2014 (EDT)

Latest revision as of 01:03, 7 October 2014


Awesome stuff that awesome people have imparted

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)

Oops my mistake, deleted your comment it by accident, sorry. -- WinterRose 14:48, 30 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 [switches 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 [Extension:Disambiguator].
  • {{DISPLAYTITLE:title}} (changes the displayed form of the page title)

I hope this is helpful for you all. --Qismat 16:37, 30 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)