Template:Graphical updates table/doc
This template is used to create the table used for graphical updates subpages. In order to allow entries to be sorted, the template uses unnamed parameters. Each entry in the table, therefore, must use exactly six parameters, in order.
Syntax
{{Graphical updates table |Name of entry|Optional note|Name of old image|Name of new image|Boolean switch for small images |--- }}
These five values can be repeated nearly an infinite number of times (up to 1166 entries). Note that the sixth parameter is a blank spacer which must be included for the template to function correctly, but can contain anything and isn't actually used in rendering the table (it's purpose is to make the source view considerably easier to read).
Also note that there cannot be line breaks in the parameters.
Name of item
This is the name of the entry, and will be automatically linked to a page. It's possible to make the text link to a different page than the displayed text by using Page to link to{{!}}
Text to display.
Optional note
This allows an optional plain-text entry to be added preceding the linked name of the entry. Its primary purpose is when the entry was graphically updated multiple times. In such case, the first instance might have an optional note parameter of (1), the second would have (2) and so forth. If not used, leave the parameter blank (but don't exclude the vertical bar).
Name of old image
This is the file name of the old image, without the preceding File:.
Name of new image
This is the file name of the new image, without the preceding File:.
Boolean switch for small images
This optional boolean value (true-false) should be set to "1" if the old image's width is less than 125 pixels, and set to "0" otherwise.
Example
{{Graphical updates table |Strange box||Strange Box Old.png|Strange Box.gif|0 |---- |Dragon scimitar|(1)|D scim.png|D scim big.png|1 |---- |Dragon scimitar|(2)|D scim big.png|Dragon scimitar detail.png|0 |---- |Rune scimitar||Rune scimitar.gif|Rune scimitar detail.png|1 |---- }}
Would output:
Strange box | Dragon scimitar (1) |
---|---|
→ | File:D scim.png → File:D scim big.png |
Dragon scimitar (2) | Rune scimitar |
File:D scim big.png → | File:Rune scimitar.gif → |