Wikitext reference I
From Sagataflwiki
(Difference between revisions)
(Created page with 'This is a quick reference guide to some of the WikiText functions. More may appear in Wikitext reference II later. Table with 3 columns and 3 rows, first in boldface. <pre>…') |
|||
Line 1: | Line 1: | ||
This is a quick reference guide to some of the WikiText functions. More may appear in [[Wikitext reference II]] later. | This is a quick reference guide to some of the WikiText functions. More may appear in [[Wikitext reference II]] later. | ||
+ | == Adding categories to an article == | ||
+ | Put this at the bottom of the article, with XYZ being the name of the category. You can put it anywhere in the article, but it's much easier for everyone if all categories are placed at the bottom. | ||
+ | <pre> | ||
+ | [[Category:XYZ|Categories]] | ||
+ | </pre> | ||
+ | == Linking to a category == | ||
+ | <pre> | ||
+ | [[Category:Editor stuff]] | ||
+ | </pre> | ||
+ | [[Category:Editor stuff]] | ||
+ | == Table == | ||
Table with 3 columns and 3 rows, first in boldface. | Table with 3 columns and 3 rows, first in boldface. | ||
- | |||
<pre> | <pre> | ||
{| | {| | ||
- | ! | + | ! A !! B !! C |
|- | |- | ||
| 1 || 2 || 3 | | 1 || 2 || 3 |
Revision as of 13:35, 23 July 2010
This is a quick reference guide to some of the WikiText functions. More may appear in Wikitext reference II later.
Adding categories to an article
Put this at the bottom of the article, with XYZ being the name of the category. You can put it anywhere in the article, but it's much easier for everyone if all categories are placed at the bottom.
[[Category:XYZ|Categories]]
Linking to a category
[[Category:Editor stuff]]
Table
Table with 3 columns and 3 rows, first in boldface.
{| ! A !! B !! C |- | 1 || 2 || 3 |- | 4 || 5 || 6 |}
And the result that it produces below:
Item | B | C |
---|---|---|
1 | 2 | 3 |
4 | 5 | 6 |