Template:Graphical updates line

From Darkan
Revision as of 09:54, 8 September 2012 by imported>Fswe1 (Made stuff sliightly larger, as it was really tiny for some "square" NPCs (orks, flying creatures, etc.). Won't touch any more, promise! :P)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

! ! |- | |

|-

[view] [edit] [purge] Template documentation

This documentation is transcluded from Template:Graphical updates line/doc.

This template is used to create the rows of the graphical updates tables. It should be preceded by {{Graphical updates table header}} and closed with a |}.

Syntax

Full syntax

Including all optional values:

{{Graphical updates line
|image1name  = 
|image1note  =
|image1old   = 
|image1new   =
|image1small = 
|image2name  = 
|image2note  =
|image2old   = 
|image2new   =
|image2small = 
}}

Necessary syntax

The bare necessities

{{Graphical updates line
|image1name  = 
|image1old   = 
|image1new   =
|image2name  = 
|image2old   = 
|image2new   =
}}

Parameter

image#name

The name of the item/NPC/location/etc. Square brackets are automatically added by the template, so should not appear here.

image#note

Optional parameter to allow an unlinked note to be added to the name. For example, if the dragon scimitar has been updated twice, we might add (1) as a note for the first update and (2) to the second update.

image#old

The name of the old image, before the graphical update, without the brackets or the "File:" namespace.

image#new

The name of the new image, before the graphical update, without the brackets or the "File:" namespace.

image#small

Optional boolean parameter that should be true if the image has a horizontal width of less than 125px, preventing it from being upscaled.

Example

{{Graphical updates table header}}
{{Graphical updates line
|image1name = Strange box
|image1old  = Strange Box Old.png
|image1new  = Strange Box.gif
|image2name = Dragon scimitar
|image2old  = D scim.png
|image2new  = D scim big.png
|image2small = 1
|image2note = (1)
}}
|}

Will output:

Strange box Dragon scimitar (1)
File:D scim.png File:D scim big.png