Template:Item
This template defines the table "Items". View table.
| Template documentation follows |
|---|
| Visit Template:Item/doc to edit this documentation. (How does this work?) |
| Editors can experiment in this template's sandbox and test case pages. |
Usage
An infobox template for item pages. This template summarizes item information, and should be used in tandem with rather than replace a pages contents.
Automatic Categories
All pages in the Main namespace that call upon this template are put into Category:Items. Additional categories are added if parameters meet certain criteria.
The following maintenance categories are added if the following parameters are omitted:
- If
|flavor_text=is empty then Category:Missing Description is added - If
|type=is empty then Category:Missing Type is added - If
|img=is empty then Category:Missing Image is added - If
|gets=is empty then Category:Missing Obtainment is added - If
|rarity=is empty then Category:Missing Rarity is added - If
|debut=is empty then Category:Missing Debut is added - If
|type=is "Accessory" and|positionis empty then Category:Missing Accessory Position is added. - If
|type=is "Fauna" and|taxonomyis empty then Category:Missing Taxonomy is added. - If
|type=is "Food" and|stamis empty then Category:Missing Stamina is added.
Maintenance categories are removed the moment the above parameters contain text.
The following categories are added if a parameter matches the following text:
|item=- If "Accessory" then Category:Accessories
- If "Backdrop" then Category:Backdrops
- If "Combat" then Category:Combat Items
- If "Crest" then Category:Crests
- If "Decor" then Category:Decor
- If "Dye" then Category:Dyes
- If "Fauna" then Category:Fauna
- If "Food" then Category:Foods
- If "Formula" then Category:Formulas
- If "Incense" then Category:Incenses
- If "Metamorphic" then Category:Metamorphics
- If "Pelt" then Category:Pelts
- If "Pouch" then Category:Pouches
|taxonomy=- If "Aquatic" then Category:Aquatic
- If "Avian" then Category:Avian
- If "Insectoid" then Category:Insectoid
- If "Mammalian" then Category:Mammalian
- If "Quartz" then Category:Quartz
- If "Saurian" then Category:Saurian
- If "Synthetic" then Category:Synthetic
|position=(note: categories are only added if parameter text is an exact match, in other words an accessory that falls under two or more position categories must have the categories added manually)- If "Back" then Category:Back
- If "Back Legs" then Category:Back Legs
- If "Back Paws" then Category:Back Paws
- If "Body" then Category:Body
- If "Crown" then Category:Crown
- If "Ears" then Category:Ears
- If "Face" then Category:Face
- If "Front Legs" then Category:Front Legs
- If "Front Paws" then Category:Front Paws
- If "Full Body" then Category:Full Body
- If "Head" then Category:Head
- If "Legs" then Category:Legs
- If "Lower Torso" then Category:Lower Torso
- If "Neck" then Category:Neck
- If "Shoulders" then Category:Shoulders
- If "Tail" then Category:Tail
- If "Upper Torso" then Category:Upper Torso
- If "Other" then Category:Position Other
|rarity=- If "0" then Category:Rarity 0
- If "1" then Category:Rarity 1
- If "2" then Category:Rarity 2
- If "3" then Category:Rarity 3
- If "4" then Category:Rarity 4
- If "5" then Category:Rarity 5
- If "6" then Category:Rarity 6
Syntax
{{Item
|name=
|img=
|capt1=
|smallimg=
|capt2=
|flavor_text=
|type=
|gets=
|price=
|curr=
|sell=
|flavor=
|nature=
|position=
|taxonomy=
|stam=
|rarity=
|debut=
}}
Examples
| Item | |||
|---|---|---|---|
| Missing Caption | |||
| Missing Description | |||
| Type | Missing Type | ||
| Obtainment Method | Missing Obtainment | ||
| Cost | N/A | ||
| Sell Price | 0 | ||
| Rarity | Missing Rarity | ||
{{Item
|name=
|img=
|capt1=
|smallimg=
|capt2=
|flavor_text=
|type=
|gets=
|price=
|curr=
|sell=
|flavor=
|nature=
|position=
|taxonomy=
|stam=
|rarity=
|debut=
}}
| Northern Lunasagi | |||
|---|---|---|---|
| |||
| The Lunasagi | |||
| Caption Two | |||
| Hello world. | |||
| Type | |||
| Obtainment Method | |||
| Cost | 500 | ||
| Sell Price | 1,000 | ||
| Flavor | |||
| Nature | |||
| Position | Back Legs | ||
| Taxonomy Class | Mammalian | ||
| Stamina | +20 | ||
| Rarity | |||
| Debut Date | January 1, 1999 | ||
{{Item
|name=Northern Lunasagi
|img=Lunasagi.png
|capt1=The Lunasagi
|smallimg=Placeholder.png
|capt2=Caption Two
|flavor_text=Hello world.
|type=Fauna
|gets={{i|Errands}}
|price=500
|curr=silver
|sell=1,000
|flavor={{f|Savory}}
|nature={{n|Nervous}}
|position=Back Legs
|taxonomy=Mammalian
|stam=20
|rarity=6
|debut=January 1, 1999
}}
Template Parameters
Infobox template for item pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | Name of the item, defaults to page name.
| Page name | required |
| img | img | Full resolution image of item.
| File | required |
| capt1 | capt1 | Caption for large image.
| Unknown | required |
| smallimg | smallimg | no description | Unknown | optional |
| capt2 | capt2 | no description | Unknown | optional |
| flavor_text | flavor_text | The item's description/flavor text as seen in the database. | Unknown | required |
| type | type | Item category, uses template {{i}} to automatically add links and icons.
| Unknown | required |
| gets | gets | How the item is obtained. Wrap template {{i}} around each obtainment method. Multiple obtainment sources should be separated by a comma and ordered alphabetically. | Unknown | required |
| price | price | The Copper/Silver/USD price of the item if found in NPC shops or premium bundles. Default is "N/A" if left empty. Use commas for thousands separator.
| Unknown | required |
| curr | curr | Adds {{c}} or {{s}} to the end of Price. Case insensitive.
| Unknown | suggested |
| sell | sell | Sell price of the item, defaults to 0. Use commas for thousands separator.
| Number | required |
| flavor | flavor | Flavor of the item, if applicable. Wrap template {{f}} around each flavor.
| Unknown | suggested |
| nature | nature | Nature of the item, if applicable. Wrap template {{n}} around each nature.
| Unknown | suggested |
| position | position | For accessory items, the position of the accessory as seen in the Wardrobe. Adds associated category automatically. In the case an accessory item falls under two or more position categories then categories must be added manually.
| Unknown | suggested |
| taxonomy | taxonomy | For fauna items, the general taxonomy class as seen in the database. Adds associated category automatically.
| Unknown | suggested |
| stam | stam | If a food item, the amount of replenished stamina upon use in Errands as seen in the database.
| Number | suggested |
| rarity | rarity | Star rarity of the item. Rarity 1 and above have associated star icons. Each rarity applies a category. | Number | suggested |
| debut | debut | When the item was released. Format dates as 'Month Day, Year'.
| Unknown | required |

