Wikitext reference I

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
Line 7: Line 7:
</pre>
</pre>
== Linking to a category ==
== Linking to a category ==
 +
Notice the preceding colon.
<pre>
<pre>
-
[[Category:Editor stuff]]
+
[[:Category:Editor stuff]]
</pre>
</pre>
-
[[Category:Editor stuff]]
+
[[:Category:Editor stuff]]
== Table ==
== Table ==
Table with 3 columns and 3 rows, first in boldface.
Table with 3 columns and 3 rows, first in boldface.

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

Notice the preceding colon.

[[:Category:Editor stuff]]

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
Personal tools