If this kind of thing would do better elsewhere, go ahead and move it.
If you've got a tip or trick to add, go ahead and put it.
General
- Always use the preview button. One wrong key can cause an entire page to go out of whack.
Tables
- ALWAYS preview before saving! Mistakes in a single place can make tables look horrendous, especially if you've got merged cells.
- Putting
class="wikitable sortable"
in a table's header (that is, right after the {|
) will allow users to sort the table. This doesn't work if cells are merged, however.
- Generally, things in a table look better when they're centered. Putting
style="text-align:center"
in the header will center all the text in every cell.
- Use
!
instead of |
when starting cells that are headers. However, you still need to use a |
to seperate parameters (such as colouring) from the cell's content. Example:
!make it red|put text here!!make it yellow|put text here
Images
- Normally, clicking an image leads to the image itself. However, by adding the
link
parameter, you can make images at just like normal links. Usually, it's best to leave images as linking to themselves, since linking them forces people to look at the source to find out where an image came from. However, there are cases where linking them is better (such as the Tier list templates).
Formatting
- Formats have to be closed in the opposite order they were opened. Otherwise, odd stuff happens.
This |
Looks like this
|
Text '''[[Main page]]''' Text |
Text Main page Text
|
Text '''[[Main page''']] Text |
Text Main page''' Text
|
Blah <s>cross <sup>yoik</sup> doof</s> bladoonga |
Blah cross yoik doof bladoonga
|
Blah <s>cross <sup>y</s>o<s>ik</sup> doof</s> bladoonga |
Blah cross yoik doof bladoonga
|
Blah <s>cross <sup>yoik</s> doof</sup> bladoonga |
Blah cross yoik doof bladoonga
|
- While adding colour can sometimes be distracting, there are times when it can have a positive effect. Here are some simple colours:
Colour |
Slight fade |
Medium fade |
Strong fade
|
ff0000 |
ff3f3f |
ff7f7f |
ffbfbf
|
ff7f00 |
ff9f3f |
ffbf7f |
ffdfbf
|
ffff00 |
ffff3f |
ffff7f |
ffffbf
|
00ff00 |
3fff3f |
7fff7f |
bfffbf
|
00ffff |
3fffff |
7fffff |
bfffff
|
0000ff |
3f3fff |
7f7fff |
bfbfff
|
ff00ff |
ff3fff |
ff7fff |
ffbfff
|
Templates/Infoboxes
- Use if statements to prevent errors when something's not specified. For example, if you want "Unknown" to be displayed if the
type
parameter is unspecified, use
{{#if:{{{type|}}}|{{{type}}}|Unknown}}
^ ^ ^
| | |
parameter if true if false
- If you need to put a
|
somewhere, but its location causes things to mess up, use {{!}}
.