Template:Item/Sandbox: Difference between revisions
(touch-ups) |
(Touch-ups) |
||
| Line 24: | Line 24: | ||
}} | }} | ||
{| class="infobox" style="float: right; margin:1%;" | {| class="infobox" style="float: right; margin:1%;" | ||
! colspan="4"|'''{{{name|{{PAGENAME | ! colspan="4"|'''{{#if: {{{name|}}}|{{{name|}}}|{{PAGENAME}} }}''' | ||
|- | |- | ||
! colspan="4" | {{#if: {{{img|}}}|[[File:{{{img}}}]]|[[File:Placeholder.png|200px]]{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Image]]|#default=}}}} | ! colspan="4" | {{#if: {{{img|}}}|[[File:{{{img}}}]]|[[File:Placeholder.png|200px]]{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Image]]|#default=}}}} | ||
|- | |- | ||
| colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;"| <small>{{{capt1|''Missing Caption'' | | colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;"| <small>{{#if:{{{capt1|}}}|{{{capt1}}}|''Missing Caption'' }}</small> | ||
|- {{#if: {{{smallimg|}}}||style="display: none"}} | |- {{#if: {{{smallimg|}}}||style="display: none"}} | ||
| Line 37: | 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;"| {{#if:{{{flavor_text|}}}|{{{flavor_text}}}|''Missing Description''{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Description]]|#default=}}}} | ||
|- | |- | ||
| Line 45: | Line 45: | ||
|- | |- | ||
! colspan="2" style="text-align:center; border-radius:2em; background:#965c2d; color:white; width:40%;"| Obtainment Method | ! colspan="2" style="text-align:center; border-radius:2em; background:#965c2d; color:white; width:40%;"| Obtainment Method | ||
| colspan="2" style="text-align:center; font-weight:bold; background:white; border-radius:2em; padding-left:10px;"| {{{gets|''Missing Obtainment''{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Obtainment]]|#default= | | colspan="2" style="text-align:center; font-weight:bold; background:white; border-radius:2em; padding-left:10px;"| {{#if:{{{gets|}}}|{{{gets}}}|''Missing Obtainment''{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Obtainment]]|#default=}}}} | ||
|- | |- | ||
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"| Cost | ! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"| Cost | ||
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px;"| {{#if:{{{price|}}}|{{{price} | | colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px;"| {{#if:{{{price|}}}|{{{price}}} {{#ifeq: {{{curr|}}}|Copper|{{c}}|}}{{#ifeq: {{{curr|}}}|Silver|{{s}}|}}|N/A}} | ||
|- | |- | ||
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"| Sell Price | ! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"| Sell Price | ||
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px;"| {{{sell|0 | | colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px;"| {{#if: {{{sell|}}}|{{{sell}}}|0}} {{c}} | ||
|-{{#if: {{{flavor|}}}||style="display: none"}} | |-{{#if: {{{flavor|}}}||style="display: none"}} | ||
| Line 74: | Line 74: | ||
| colspan="2" style="text-align:center; font-weight:bold; background:white; border-radius:2em; padding-left:5px;"| +{{{stam|}}} | | colspan="2" style="text-align:center; font-weight:bold; background:white; border-radius:2em; padding-left:5px;"| +{{{stam|}}} | ||
|- | |- | ||
! colspan="2" style="text-align:center; border-radius:2em; background:#965c2d; color:white; width:40%;"| Rarity | ! colspan="2" style="text-align:center; border-radius:2em; background:#965c2d; color:white; width:40%;"| Rarity | ||
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px;"| {{#switch: {{{rarity}}} | | colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px;"| {{#switch: {{{rarity}}} | ||
| Line 80: | Line 80: | ||
|1=[[File:Pb wiki rarity - 1 star.png|x25px]]{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Rarity 1]]|#default=}} | |1=[[File:Pb wiki rarity - 1 star.png|x25px]]{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Rarity 1]]|#default=}} | ||
|2|3|4|5|6=[[File:Pb wiki rarity - {{{rarity}}} stars.png|x25px]]{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Rarity {{{rarity}}}]]|#default=}} | |2|3|4|5|6=[[File:Pb wiki rarity - {{{rarity}}} stars.png|x25px]]{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Rarity {{{rarity}}}]]|#default=}} | ||
|#default={{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Rarity]]|#default=}} | |#default=''Missing Rarity''{{#switch:{{NAMESPACE}}|{{ns:0}}=[[Category:Missing Rarity]]|#default=}} | ||
}} | }} | ||
| Line 127: | Line 127: | ||
|synthetic=[[Category:Synthetic]]}} | |synthetic=[[Category:Synthetic]]}} | ||
| #default = }}</includeonly><noinclude> | | #default = }}</includeonly><noinclude> | ||
==Usage== | |||
An infobox information for item pages. All article pages that transclude this template are put into [[:Category:Items]]. | |||
==Syntax== | ==Syntax== | ||
| Line 154: | Line 157: | ||
{{Item/Sandbox}} | {{Item/Sandbox}} | ||
<pre>{{Item/Sandbox}}</pre> | <pre>{{Item/Sandbox}}</pre> | ||
{{-}} | |||
{{Item/Sandbox | |||
|name= | |||
|img= | |||
|capt1= | |||
|smallimg= | |||
|capt2= | |||
|flavor_text= | |||
|type= | |||
|gets= | |||
|price= | |||
|curr= | |||
|sell= | |||
|flavor= | |||
|nature= | |||
|position= | |||
|taxonomy= | |||
|stam= | |||
|rarity= | |||
|debut= | |||
}} | |||
<pre>{{Item/Sandbox | |||
|name= | |||
|img= | |||
|capt1= | |||
|smallimg= | |||
|capt2= | |||
|flavor_text= | |||
|type= | |||
|gets= | |||
|price= | |||
|curr= | |||
|sell= | |||
|flavor= | |||
|nature= | |||
|position= | |||
|taxonomy= | |||
|stam= | |||
|rarity= | |||
|debut= | |||
}}</pre> | |||
{{-}} | {{-}} | ||
| Line 169: | Line 214: | ||
|sell=1000 | |sell=1000 | ||
|flavor={{f|Savory}} | |flavor={{f|Savory}} | ||
|nature={{ | |nature={{n|Nervous}} | ||
|position=Back Legs | |position=Back Legs | ||
|taxonomy=Mammalian | |taxonomy=Mammalian | ||
| Line 189: | Line 234: | ||
|sell=1000 | |sell=1000 | ||
|flavor={{f|Savory}} | |flavor={{f|Savory}} | ||
|nature={{ | |nature={{n|Nervous}} | ||
|position=Back Legs | |position=Back Legs | ||
|taxonomy=Mammalian | |taxonomy=Mammalian | ||
| Line 276: | Line 321: | ||
}, | }, | ||
"nature": { | "nature": { | ||
"description": "Nature of the item, if applicable. Wrap template {{ | "description": "Nature of the item, if applicable. Wrap template {{n}} around each nature. ", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
"assertive", | "assertive", | ||
| Line 340: | Line 385: | ||
}, | }, | ||
"stam": { | "stam": { | ||
"description": "If a food item, the amount of replenished stamina upon use in Errands | "description": "If a food item, the amount of replenished stamina upon use in Errands as seen in the database.", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
| Line 371: | Line 416: | ||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]] | ||
</noinclude> | |||
Latest revision as of 13:06, 21 April 2026
This template defines the table "ItemsSandbox". This table has not been created yet.
Usage
An infobox information for item pages. All article pages that transclude this template are put into Category:Items.
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 | ||
| Rarity | Missing Rarity | ||
{{Item/Sandbox}}
| Item/Sandbox | |||
|---|---|---|---|
| Missing Caption | |||
| Missing Description | |||
| Type | Missing Type | ||
| Obtainment Method | Missing Obtainment | ||
| Cost | N/A | ||
| Sell Price | 0 | ||
| Rarity | Missing Rarity | ||
{{Item/Sandbox
|name=
|img=
|capt1=
|smallimg=
|capt2=
|flavor_text=
|type=
|gets=
|price=
|curr=
|sell=
|flavor=
|nature=
|position=
|taxonomy=
|stam=
|rarity=
|debut=
}}
| Northern Lunasagi | |||
|---|---|---|---|
| |||
| The Lunasagi | |||
| Hello world. | |||
| Type | |||
| Obtainment Method | Errands | ||
| Cost | N/A | ||
| 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={{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 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 {{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 |

