Template:Graphical updates line/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Graphical updates line.
It contains usage information, categories, and other content that is not part of the original template page.

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