Template:Item: Difference between revisions
(Adding sandbox changes - here's to hoping the cargotable doesn't explode.) |
m (Removing Item/Sandbox) |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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]] | ||
| Line 193: | Line 193: | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
{{Item | {{Item | ||
|name= | |name= | ||
|img= | |img= | ||
| Line 212: | Line 212: | ||
|rarity= | |rarity= | ||
|debut= | |debut= | ||
}} | |||
</pre> | </pre> | ||
==Examples== | ==Examples== | ||
{{Item | {{Item | ||
|name= | |name= | ||
|img= | |img= | ||
| Line 235: | Line 236: | ||
|debut= | |debut= | ||
}} | }} | ||
<pre>{{Item | <pre>{{Item | ||
|name= | |name= | ||
|img= | |img= | ||
| Line 257: | Line 258: | ||
{{-}} | {{-}} | ||
{{Item | {{Item | ||
|name=Northern Lunasagi | |name=Northern Lunasagi | ||
|img=Lunasagi.png | |img=Lunasagi.png | ||
| Line 277: | Line 278: | ||
|debut=Date Here | |debut=Date Here | ||
}} | }} | ||
<pre>{{Item | <pre>{{Item | ||
|name=Northern Lunasagi | |name=Northern Lunasagi | ||
|img=Lunasagi.png | |img=Lunasagi.png | ||
Latest revision as of 15:42, 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
|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 | Errands | ||
| Cost | 500 | ||
| Sell Price | 1000 | ||
| Flavor | |||
| Nature | |||
| Position | Back Legs | ||
| Taxonomy Class | Mammalian | ||
| Stamina | +20 | ||
| Rarity | |||
| Debut Date | Date Here | ||
{{Item
|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 |

