Wikitext reference I
From Sagataflwiki
(→See also: removing anchor from external link (it's not wanted)) |
(Removing the |Categories ending of one or more category tags) |
||
Line 46: | Line 46: | ||
http://www.mediawiki.org/wiki/Help:Formatting | http://www.mediawiki.org/wiki/Help:Formatting | ||
- | [[Category:Editor stuff | + | [[Category:Editor stuff]] |
Revision as of 14:19, 20 January 2011
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]]
See also
Wikitext table reference I
http://www.mediawiki.org/wiki/Help:Links
http://www.mediawiki.org/wiki/Help:Formatting