Template:Item: Difference between revisions
(Adding sandbox changes - here's to hoping the cargotable doesn't explode.) |
(Changed category names to be plural) |
||
| Line 89: | Line 89: | ||
| colspan="2" style="text-align:center; font-weight:bold; background:white; border-radius:2em; padding-left:5px;"| {{{debut|}}} | | colspan="2" style="text-align:center; font-weight:bold; background:white; border-radius:2em; padding-left:5px;"| {{{debut|}}} | ||
|}{{#switch: {{NAMESPACE}} | {{ns:0}} = [[Category:Items]]{{#switch:{{lc:{{{type}}}}} | |}{{#switch: {{NAMESPACE}} | {{ns:0}} = [[Category:Items]]{{#switch:{{lc:{{{type}}}}} | ||
|accessory=[[Category: | |accessory=[[Category:Accessories]] | ||
|backdrop=[[Category: | |backdrop=[[Category:Backdrops]] | ||
|combat=[[Category:Combat]] | |combat=[[Category:Combat Items]] | ||
|crest=[[Category: | |crest=[[Category:Crests]] | ||
|decor=[[Category:Decor]] | |decor=[[Category:Decor]] | ||
|dye=[[Category: | |dye=[[Category:Dyes]] | ||
|fauna=[[Category:Fauna]] | |fauna=[[Category:Fauna]] | ||
|food=[[Category: | |food=[[Category:Foods]] | ||
|formula=[[Category: | |formula=[[Category:Formulas]] | ||
|incense=[[Category: | |incense=[[Category:Incenses]] | ||
|metamorphic=[[Category: | |metamorphic=[[Category:Metamorphics]] | ||
|pelt=[[Category: | |pelt=[[Category:Pelts]] | ||
|pouch=[[Category: | |pouch=[[Category:Pouches]]}}{{#switch:{{lc:{{{position}}}}} | ||
|back=[[Category:Back]] | |back=[[Category:Back]] | ||
|back legs=[[Category:Back Legs]] | |back legs=[[Category:Back Legs]] | ||
| Line 142: | Line 142: | ||
General Categories: | General Categories: | ||
* <code>|item=</code> | * <code>|item=</code> | ||
** [[:Category: | ** [[:Category:Accessories]] | ||
** [[:Category: | ** [[:Category:Backdrops]] | ||
** [[:Category:Combat]] | ** [[:Category:Combat Items]] | ||
** [[:Category: | ** [[:Category:Crests]] | ||
** [[:Category:Decor]] | ** [[:Category:Decor]] | ||
** [[:Category: | ** [[:Category:Dyes]] | ||
** [[:Category:Fauna]] | ** [[:Category:Fauna]] | ||
** [[:Category: | ** [[:Category:Foods]] | ||
** [[:Category: | ** [[:Category:Formulas]] | ||
** [[:Category: | ** [[:Category:Incenses]] | ||
** [[:Category: | ** [[:Category:Metamorphics]] | ||
** [[:Category: | ** [[:Category:Pelts]] | ||
** [[:Category: | ** [[:Category:Pouches]] | ||
* <code>|taxonomy=</code> | * <code>|taxonomy=</code> | ||
** [[:Category:Aquatic]] | ** [[:Category:Aquatic]] | ||
Revision as of 15:27, 24 April 2026
This template defines the table "Items". View table.
Usage
An infobox template for items pages. All article pages that transclude this template are put into Category:Items. Additional categories are added if parameters meet certain criteria. See the list of automatic categories below.
Maintenance Categories:
- If
|flavor_text=is empty then Category:Missing Description - If
|type=is empty then Category:Missing Type - If
|img=is empty then Category:Missing Image - If
|gets=is empty then Category:Missing Obtainment - If
|rarity=is empty then Category:Missing Rarity
General Categories:
|item=|taxonomy=|position=- Category:Back
- Category:Back Legs
- Category:Back Paws
- Category:Body
- Category:Crown
- Category:Ears
- Category:Face
- Category:Front Legs
- Category:Front Paws
- Category:Full Body
- Category:Head
- Category:Legs
- Category:Lower Torso
- Category:Neck
- Category:Shoulders
- Category:Tail
- Category:Upper Torso
- Category:Position Other
|rarity=
Syntax
{{Item/Sandbox
|name=
|img=
|capt1=
|smallimg=
|capt2=
|flavor_text=
|type=
|gets=
|price=
|curr=
|sell=
|flavor=
|nature=
|position=
|taxonomy=
|stam=
|rarity=
|debut=
Examples
{{Item/Sandbox
|name=
|img=
|capt1=
|smallimg=
|capt2=
|flavor_text=
|type=
|gets=
|price=
|curr=
|sell=
|flavor=
|nature=
|position=
|taxonomy=
|stam=
|rarity=
|debut=
}}
{{Item/Sandbox
|name=Northern Lunasagi
|img=Lunasagi.png
|capt1=The Lunasagi
|smallimg=Placeholder.png
|capt2=Caption Two
|flavor_text=Hello world.
|type=Fauna
|gets=[[Errands]]
|price=500
|curr=silver
|sell=1000
|flavor={{f|Savory}}
|nature={{n|Nervous}}
|position=Back Legs
|taxonomy=Mammalian
|stam=20
|rarity=6
|debut=Date Here
}}
Template Parameters
Infobox template for item pages.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | Name of the item, defaults to page name.
| Unknown | required |
| img | img | Full resolution image of item.
| Unknown | 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, associated icon and link are added automatically.
| Unknown | required |
| gets | gets | How the item is obtained. Obtainment methods should be linked, if there are multiple obtainment sources separate them with commas and order 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.
| Number | 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.
| 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.
| Unknown | suggested |
| taxonomy | taxonomy | For fauna items, the general taxonomy class as seen in the database. Adds associated category automatically.
| Unknown | optional |
| stam | stam | If a food item, the amount of replenished stamina upon use in Errands as seen in the database. | Unknown | suggested |
| rarity | rarity | Star rarity of the item. Rarity 1 and above have associated star icons. Each rarity applies a category. | Unknown | suggested |
| debut | debut | When the item was released. | Unknown | suggested |
