Wikitext reference I

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
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.
 +
== Making a link ==
 +
<pre>
 +
[[Article name]]
 +
</pre>
 +
As shown above, just put the article's name in double square brackets, and make sure that the 2nd and later words in the link are capitalized correctly.
 +
== Making a piped link ==
 +
<pre>
 +
[[Help:ClickMe|Destination]]
 +
</pre>
 +
Gives this: [[Help:ClickMe|Destination]]
 +
The ClickMe part is the word or words that the reader clicks on, and the Destination part is where the reader is taken by the click.
 +
== Making an internal link to an ahcor ==
 +
<pre>
 +
stuff
 +
</pre>
 +
== Making an external link ==
 +
<pre>
 +
stuff
 +
</pre>
== Adding categories to an article ==
== 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.
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.

Revision as of 17:52, 24 July 2010

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

Contents

Making a link

[[Article name]]

As shown above, just put the article's name in double square brackets, and make sure that the 2nd and later words in the link are capitalized correctly.

Making a piped link

[[Help:ClickMe|Destination]]

Gives this: Destination The ClickMe part is the word or words that the reader clicks on, and the Destination part is where the reader is taken by the click.

Making an internal link to an ahcor

stuff

Making an external link

stuff

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