geekhack

geekhack Community => Off Topic => Topic started by: wellington1869 on Fri, 28 August 2009, 14:07:54

Title: how create new 'section' in the wiki?
Post by: wellington1869 on Fri, 28 August 2009, 14:07:54
how on earth does one create a new 'section' in the wiki? Its a neat feature - the alps wiki article for intstance has sections and a TOC too -  but I havent a clue how to make sections in the wiki...
Title: how create new 'section' in the wiki?
Post by: ch_123 on Fri, 28 August 2009, 14:47:54
I'd click edit, and copy-paste it into your article, and use it as a template.

That reminds me, I have to put stuff in that IBM wiki...
Title: how create new 'section' in the wiki?
Post by: wellington1869 on Fri, 28 August 2009, 14:49:20
Quote from: ch_123;112718
I'd click edit, and copy-paste it into your article, and use it as a template.

That reminds me, I have to put stuff in that IBM wiki...


when i click edit, basically its only editing the most recent 'section'. Its not showing me the 'whole page'... i'll try again...
Title: how create new 'section' in the wiki?
Post by: rdh on Fri, 28 August 2009, 15:09:23
See this page for BB codes: http://geekhack.org/misc.php?do=bbcode (http://geekhack.org/misc.php?do=bbcode)  I think you want the "H" (headline) tag.

When reading that page, pay close attention to the "Example Output" parts, because some of the tags it lists don't seem to work.  :-)
Title: how create new 'section' in the wiki?
Post by: rdjack21 on Fri, 28 August 2009, 15:47:49
H is the right one.
[noparse]
[h=Option]value[/h]
[/noparse]
where option must be 2-6
2 = toplevel heading
  3 = section of 2
    4 = section of 3
       5 = section of 4
         6 = section of 5
  3 = another section of 2
   ect....
2 next topic
2 next topic
You must have at least 3 or 4 headings before a table of contents is generated.

I have found most every thing that is supported by the wiki. Had to go to the site iMav got the wiki component from though to find it and then had to signup as well to see it. I keep thinking I need to write a wiki that coves at least the ones we would use like
tables, references, hr (horizontal rule), reflist and toc
Title: how create new 'section' in the wiki?
Post by: rdh on Fri, 28 August 2009, 16:59:35
Quote from: rdjack21;112744

I have found most every thing that is supported by the wiki. Had to go to the site iMav got the wiki component from though to find it


The link I gave is from geekhack itself, but it's semi-hidden.  If you're on a page that has the "Posting Rules" box in the bottom left, the bit that says "BB Code is ON" links to the codes page.