Wikitext reference I

From Sagataflwiki

(Difference between revisions)
Jump to: navigation, search
(See also: adding one more external link)
(See also: fixing external links)
Line 43: Line 43:
== See also ==
== See also ==
[[Wikitext table reference I]]<br>
[[Wikitext table reference I]]<br>
-
[http://www.mediawiki.org/wiki/Help:Links]<br>
+
http://www.mediawiki.org/wiki/Help:Links <br>
-
[http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting]
+
http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting
[[Category:Editor stuff|Categories]]
[[Category:Editor stuff|Categories]]

Revision as of 03:14, 26 November 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 pluralized word link to a singlar article

[[Article name]]s

Most article names are in the singular form (Spell, not Spells), but often an editor will want to turn a pluralized word into an internal hyperlink. This is done simply by adding an s immediately after the 2nd finishing square bracked, without a space in between.
Article names

Making a piped link

[[Destination|ClickMe]]

Gives this: ClickMe

The ClickMe part is the word or words that the reader can see (and can click 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]]
(Note, it used to be
[[Category:XYZ|Categories]]
, but the |Categories ending appears to do no good, and to do some harm, so it should be removed whereever it occurs.

Linking to a category

Notice the preceding colon.

[[:Category:Editor stuff]]

Category:Editor stuff

See also

Wikitext table reference I
http://www.mediawiki.org/wiki/Help:Links
http://www.mediawiki.org/wiki/Help:Formatting#Other_formatting

Personal tools