Difference between revisions of "Adriano's wikitext tips"

From ProgClub
Jump to: navigation, search
(→‎Creating Headings: Changed to a smaller heading, added content)
(→‎Creating Headings: Fleshed out explanation)
Line 14: Line 14:
 
  == Drinks ==</nowiki>
 
  == Drinks ==</nowiki>
  
 +
'Healthy Foods' is a subheading of 'Foods' so we add an extra equal sign, similarly 'Fruits' is a subheading of 'Healthy Foods' so we add yet another equal sign.
 
You are free to keep iterating down by using more equal signs for each subheading.
 
You are free to keep iterating down by using more equal signs for each subheading.

Revision as of 14:36, 8 March 2012

Creating Headings

Creating headings is as simple as putting your heading text inside equal signs, for example -

== My Heading ==

We use 2 equal signs as this is a subheading of the main page title, each subsequent subheading that you wish to use would include another equal sign on each side. To demonstrate this point take a look at the following example-

 == Foods ==
 === Healthy Foods ===
 ==== Fruits ====
 ==== Vegetables ====
 === Unhealthy Foods ===
 ==== Hamburgers ====
 == Drinks ==

'Healthy Foods' is a subheading of 'Foods' so we add an extra equal sign, similarly 'Fruits' is a subheading of 'Healthy Foods' so we add yet another equal sign. You are free to keep iterating down by using more equal signs for each subheading.