Template:Graphical updates line/small/doc

From Darkan
Revision as of 18:41, 26 May 2012 by imported>Hofmic (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Graphical updates line/small.
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 inventory sprites 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/small
|image1name  = 
|image1note  =
|image1old   = 
|image1new   =
|image2name  = 
|image2note  =
|image2old   = 
|image2new   =
|image3name  = 
|image3note  =
|image3old   = 
|image3new   =
}}

Necessary syntax

The bare necessities

{{Graphical updates line/small
|image1name  = 
|image1old   = 
|image1new   =
|image2name  = 
|image2old   = 
|image2new   =
|image3name  = 
|image3old   = 
|image3new   =
}}

Parameter

image#name

The name of the inventory icon. 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 icon 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.

Example

{{Graphical updates table header}}
{{Graphical updates line/small
|image1name = Kebab
|image1old  = Kebab old.png
|image1new  = Kebab.png
|image2name = Abyssal whip
|image2note = (1)
|image2old  = First-abyssal-whip.png
|image2new  = Second-abyssal-whip.png
|image3name = Abyssal whip
|image3note = (2)
|image3old  = Second-abyssal-whip.png
|image3new  = Third-abyssal-whip.png
}}
|}

Will output:

Kebab Abyssal whip (1) Abyssal whip (2)