Wikitext reference I

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
Line 13: Line 13:
[[:Category:Editor stuff]]
[[:Category:Editor stuff]]
== Table ==
== Table ==
-
Table with 3 columns and 3 rows, first in boldface.
+
=== Table 3 col./3 rows, top row bold ===
<pre>
<pre>
{|
{|
Line 23: Line 23:
|}
|}
</pre>
</pre>
-
 
And the result that it produces below:
And the result that it produces below:
-
 
{|
{|
! Item !! B !! C
! Item !! B !! C
Line 33: Line 31:
| 4 || 5 || 6
| 4 || 5 || 6
|}
|}
-
 
[[Category:Editor stuff|Categories]]
[[Category:Editor stuff|Categories]]

Revision as of 13:36, 23 July 2010

This is a quick reference guide to some of the WikiText functions. More may appear in Wikitext reference II later.

Contents

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 3 col./3 rows, top row bold

{|
! 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