Jump to content

Template:Quality

From HourGlass: The Game Wiki

Description[edit]

This template overlays a quality star icon (silver, gold, or iridium) over an image.

Parameters[edit]

Parameter Notes
First (unnamed) parameter Name of background image (without extension such as .png)
Second (unnamed) parameter Quality star to display
Valid values: normal, 0, silver, 1, gold, 2, iridium, 4
Third (unnamed) parameter Desired display width of background image (do not include "px")
Valid values: 48, 36, 32, 24 (other values will be accepted, but may produce undesired results)
Default value: 24
Fourth (unnamed) parameter center, if the image is to be displayed in a table cell. Adding this parameter will center the image in the cell.

Examples[edit]

Template Call Result
{{Quality|Parsnip|iridium}} <templatestyles src="Template:Overlayimg/styles.css" />
{{Quality|Parsnip|silver|24|center}} <templatestyles src="Template:Overlayimg/styles.css" />
{{Quality|Sunfish|normal|36}} <templatestyles src="Template:Overlayimg/styles.css" />
{{Quality|Red Plate|gold|36|center}} <templatestyles src="Template:Overlayimg/styles.css" />
{{Quality|Beer|gold|48}} <templatestyles src="Template:Overlayimg/styles.css" />
{{Quality|Large Goat Milk ES|gold|32|center}} <templatestyles src="Template:Overlayimg/styles.css" />

de:Vorlage:Quality es:Plantilla:Quality fr:Modèle:Quality it:Template:Quality ja:テンプレート:Quality ko:틀:Quality hu:Sablon:Quality pt:Predefinição:Quality ru:Шаблон:Quality tr:Şablon:Quality zh:Template:Quality

Cookies help us deliver our services. By using our services, you agree to our use of cookies.