Difference between revisions of "Adriano's wikitext tips"
From ProgClub
(→Creating Headings: Fleshed out explanation) |
(→Creating Headings: Added indentation to the example to make point clearer) |
||
Line 7: | Line 7: | ||
<nowiki> == Foods == | <nowiki> == Foods == | ||
− | + | === Healthy Foods === | |
− | + | ==== Fruits ==== | |
− | + | ==== Vegetables ==== | |
− | + | === Unhealthy Foods === | |
− | + | ==== Hamburgers ==== | |
== 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. | '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:38, 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.