Template:Item/Sandbox: Difference between revisions
(Whoops rarity cats slipped past me) |
(Cargo table stuff... I'll deal with this later) |
||
| Line 1: | Line 1: | ||
<noinclude> | |||
{{#cargo_declare:_table=ItemsSandbox | |||
|flavor_text=Wikitext | |||
|gets=List (,) of Wikitext | |||
|rarity=String | |||
|price=Integer | |||
|currency=String | |||
|sell=Integer | |||
|flavor=String | |||
|nature=String | |||
|curren | |||
}} | |||
</noinclude> | |||
<includeonly> | <includeonly> | ||
{{#cargo_store:_table=ItemsSandbox | |||
|flavor_text={{{flavor_text|}}} | |||
|gets={{{gets|}}} | |||
|currency={{{curr|}}} | |||
|rarity=String | |||
|price={{{price|}}} | |||
|sell={{{sell|}}} | |||
|flavor={{{flavor|}}} | |||
|nature={{{nature|}}} | |||
}} | |||
{| class="infobox" style="float: right; margin:1%;" | {| class="infobox" style="float: right; margin:1%;" | ||
! colspan="4"|'''{{{name|{{PAGENAME}}}}}''' | ! colspan="4"|'''{{{name|{{PAGENAME}}}}}''' | ||
| Line 14: | Line 37: | ||
|- | |- | ||
| colspan="4" style="text-align: center; padding-left: 2px; padding-right: 2px;"| ''{{{ | | colspan="4" style="text-align: center; padding-left: 2px; padding-right: 2px;"| ''{{{flavor_text|Missing Description{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Description]]|#default=}}}}}'' | ||
|- | |- | ||
| Line 113: | Line 136: | ||
|smallimg= | |smallimg= | ||
|capt2= | |capt2= | ||
| | |flavor_text= | ||
|type= | |type= | ||
|gets= | |gets= | ||
| Line 139: | Line 162: | ||
|smallimg= | |smallimg= | ||
|capt2= | |capt2= | ||
| | |flavor_text=Hello world. | ||
|type=Fauna | |type=Fauna | ||
|gets=[[Errands]] | |gets=[[Errands]] | ||
| Line 159: | Line 182: | ||
|smallimg= | |smallimg= | ||
|capt2= | |capt2= | ||
| | |flavor_text=Hello world. | ||
|type=Fauna | |type=Fauna | ||
|gets=[[Errands]] | |gets=[[Errands]] | ||
| Line 176: | Line 199: | ||
== Template Parameters == | == Template Parameters == | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 197: | Line 219: | ||
"smallimg": {}, | "smallimg": {}, | ||
"capt2": {}, | "capt2": {}, | ||
"type": { | "type": { | ||
"description": "Item category, associated icon and link are added automatically.", | "description": "Item category, associated icon and link are added automatically.", | ||
| Line 324: | Line 342: | ||
"description": "If a food item, the amount of replenished stamina upon use in Errands. As seen in the database.", | "description": "If a food item, the amount of replenished stamina upon use in Errands. As seen in the database.", | ||
"suggested": true | "suggested": true | ||
}, | |||
"flavor_text": { | |||
"description": "The item's description/flavor text as seen in the database.", | |||
"required": true | |||
} | } | ||
}, | }, | ||
| Line 333: | Line 355: | ||
"smallimg", | "smallimg", | ||
"capt2", | "capt2", | ||
" | "flavor_text", | ||
"type", | "type", | ||
"gets", | "gets", | ||
Revision as of 03:26, 21 April 2026
This template defines the table "ItemsSandbox". This table has not been created yet.
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 | |||
|---|---|---|---|
| Missing Caption | |||
| Missing Description | |||
| Type | Missing Type | ||
| Obtainment Method | Missing Obtainment | ||
| Cost | N/A | ||
| Sell Price | 0 | ||
{{Item/Sandbox}}
| Northern Lunasagi | |||
|---|---|---|---|
| |||
| The Lunasagi | |||
| Hello world. | |||
| Type | |||
| Obtainment Method | Errands | ||
| Cost | |||
| Sell Price | 1000 | ||
| Flavor | |||
| Nature | |||
| Position | Back Legs | ||
| Taxonomy Class | Mammalian | ||
| Stamina | +20 | ||
| Rarity | |||
| Debut Date | Date Here | ||
{{Item/Sandbox
|name=Northern Lunasagi
|img=Lunasagi.png
|capt1=The Lunasagi
|smallimg=
|capt2=
|flavor_text=Hello world.
|type=Fauna
|gets=[[Errands]]
|price=
|curr=
|sell=1000
|flavor={{f|Savory}}
|nature={{f|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 sensitive.
| 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 {{f}} 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 |

