User:Tomdo08/doc/howto

What can be done?

Switches, variables and functions
Help:Magic words mw:Help:Magic words

Useful functions
string String NaN

xyz

Fullurl
not " ", but

Help:Magic words

Please use fullurl

General formatting
Wiki markup [ Old wikitext examples] HTML in wikitext

Symbols
…

Formatting references and footnotes
Manual of Style (footnotes)

Reference converter

Formatting citations
citation templates:

old/other citation template:

HTML:

Citation Tool semi-bot (useful?test it!)

Formatting dates

 * deprecated?: } }
 * deprecated?: } }

Formatting wikilinks
Template messages/Links

Pipe trick
The Pipe trick:
 * autoformatting with symbol " "
 * example:
 * works as a
 * works also for templates

Slash trick
will give the same as

Reverse pipe trick
A in page B (C) links to to page A (C)

Sectionlink
gives a link to   gives a link to  Both versions look like

Formatting navigation links
Template:Navbox

Formatting links to special pages
special: pagename/first argument

Formatting external links
Template messages/Links

(add a  afterwards)

Line manipulation
… is rendering the line as bold paragraph.
 * A semicolon at the start of a line …
 * A colon at the start of a line …

… is rendering the line as an indented paragraph.

Formatting code


instead of  -> both rendering variable -> do not forget  )

Formatting templates and wikicode
see Pipe trick

Hatnotes
Template:Otheruses templates

is about

is redirect from ...

Formatting Tables
Help:Table

Rendering problems
How to fix bunched-up edit links

Mikroformatting
Microformats

Talkpage formatting
Talkback message:

Talkpage intro:

General linking
Category:Internal link templates

Linking URL
Help:URL

Percent-encoding

Linking intra- and inter-project
Help:Link Help:Interwiki linking

Linking TOC
linking to TOC:  makes Contents

Linking disambiguation and redirection
always link to " " or " "

for (disambiguation)-redirects to a disambiguation page:

for redirects to a disambiguation page which should not be linked to

Template messages/General

Linking Categories

 * … do autolinking to containing page from category pages.
 * … are invisible.
 * … use the parameter as Sortkey

Linking and including images
To make a simple link, a special syntax is necessary: Picture tutorial The simple link is misused for a special template action (thereby completely obscuring name, content and usage): Help:Files

Tags for redirects
Category:Redirect templates

Transclusions and templates
Transclusion

good for multiple inclusion of same things, special things, templates

examples:
 * , see also [ Related changes]
 * , see also [ Related changes]
 * , see also [ Related changes]

(see Help:Template)

Template programming
Help:Template

Message templates
Template messages

Template:Multiple issues

link[disambiguation needed] is made by