v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "User talk:N9103"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(→‎Test Space: Thanks!)
(Clean slate)
 
(60 intermediate revisions by 17 users not shown)
Line 1: Line 1:
== Test Space ==
+
__NOTOC__
Anyone care to point me to how to get rid of an automatic ToC, other than removing sections?
 
:From Wikipedia (http://en.wikipedia.org/wiki/Help:TOC#Creation_and_numbering_of_sections):
 
:(outdent due to quoting)
 
<nowiki>Table of contents (TOC)
 
For each page with more than three headings, a table of contents (TOC) is automatically generated from the section headings, unless:
 
 
 
(for a user) preferences are set to turn it off
 
(for an article) the magic word __NOTOC__ (with two underscores on either side of the word) is added in the edit box
 
When either __FORCETOC__ or __TOC__ (with two underscores on either side of the word) is placed in the wikitext, a TOC is added even if the page has fewer than four headings.
 
 
 
With __FORCETOC__, the TOC is placed before the first section heading. With __TOC__, it is placed at the same position where this code is placed. This allows any positioning, e.g. on the right or in a table cell. In old versions of MediaWiki, it also allows multiple occurrence, e.g. in every section (However, this seems only useful if the sections are long, so that the TOCs take up only a small part of the total space.).
 
 
 
There may be some introductory text before the TOC, known as the "lead". Although usually a heading after the TOC is preferable, __TOC__ can be used to avoid being forced to insert a meaningless heading just to position the TOC correctly, i.e., not too low.
 
 
 
Using __NOTOC__ it is possible to disable the normal Table of Contents. Section links as explained below allow to create compact ToCs, e.g. alphabetical [[#A|A]] [[#B|B]] etc.
 
 
 
</nowiki>
 
:in short, try <nowiki> __NOTOC__</nowiki> near the top of the page.[[User:GarrieIrons|GarrieIrons]] 06:48, 4 January 2008 (EST)
 
 
 
::Heh, I find that quite funny since I tried <nowiki>{|_NOTOC_}</nowiki> in an attempt to modify what I thought I saw on another page... guess I needed another set of underscores. So close, yet so far :P  Thanks mate!  --[[User:N9103|Edward]] 07:06, 4 January 2008 (EST)
 
 
 
 
== Comments/Opinions/Rants Welcome Here ==
 
== Comments/Opinions/Rants Welcome Here ==
 +
<br>
 +
<br>
  
 
+
== Problems/mistakes/corrections ==
 
+
<sup>Forgive me for the occasional slip up. Just make a note here of where I managed to screw up, so that I may endeavor to learn from my mistakes.</sup>
== Problems/Mistakes/Corrections ==
+
<br>
Forgive me for the occasional slip up. Just make a note here of where I managed to screw up, so that I may endeavor to learn from my mistakes.--[[User:N9103|N9103]] 15:54, 23 December 2007 (EST)
+
<br>
 
 
== Flames Go Here ==
 

Latest revision as of 19:07, 21 May 2015

Comments/Opinions/Rants Welcome Here[edit]



Problems/mistakes/corrections[edit]

Forgive me for the occasional slip up. Just make a note here of where I managed to screw up, so that I may endeavor to learn from my mistakes.