Template:Item: Difference between revisions

From Paw Borough Wiki
No edit summary
No edit summary
(17 intermediate revisions by 2 users not shown)
Line 5: Line 5:
|price=Integer
|price=Integer
|Currency=String
|Currency=String
|Rating=String
|sell=Integer
|sell=Integer
|flavor=String
|flavor=String
|nature=String
|stars=String
|curren
|curren
}}
}}
</noinclude>
</noinclude>
<includeonly>
{{#cargo_store:_table=Items
{{#cargo_store:_table=Items
|flavor_text={{{flavor_text|}}}
|flavor_text={{{flavor_text|}}}
|gets={{{gets|}}}
|gets={{{gets|}}}
|currency={{{curr|}}}
|currency={{{curr|}}}
|rating={{{rating|}}}
|price={{{price|}}}
|price={{{price|}}}
|sell={{{sell|}}}
|sell={{{sell|}}}
|flavor={{{flavor|}}}
|flavor={{{flavor|}}}
|nature={{{nature|}}}
|stars={{{stars|}}}
}}
}}
{| class="infobox" style = "float: right;  margin:1%;"
{| class="infobox" style = "float: right;  margin:1%;"
Line 24: Line 31:
|- {{#if: {{{img|}}}||style="display: none"}}
|- {{#if: {{{img|}}}||style="display: none"}}
|-
|-
| colspan="4" style="text-align: center; padding-left: 2px; padding-right: 2px;" | {{{flavor_text|}}}
| colspan="4" style="text-align: center; padding-left: 2px; padding-right: 2px;" | ''{{{flavor_text|}}}''
|-
|-
| colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;" | <small>{{{capt1|}}}</small>
| colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;" | <small>{{{capt1|}}}</small>
Line 36: Line 43:
|-
|-
! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Cost
! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Cost
| style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; width:25%;"| {{{price|}}} {{#if: {{{curr|Copper}}}|{{c}}|}}{{#if: {{{curr|Silver}}}|{{s}}|}}
| style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; width:25%;"| {{{price|}}} {{#ifeq: {{{curr|}}}|Copper|{{c}}|}}{{#ifeq: {{{curr|}}}|Silver|{{s}}|}}
! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Worth
! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Worth
| style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; width:25%;"| {{{sell|}}} {{c}}
| style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; width:25%;"| {{{sell|}}} {{c}}
|-
|-{{#if: {{{flavor|}}}||style="display: none"}}
|-{{#if: {{{flavor|}}}||style="display: none"}}
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Flavor
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Flavor
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; "| [[{{{flavor|}}}]]
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; "| {{{flavor|}}}{{f|{{{flavor|}}}}}
|-{{#if: {{{nature|}}}||style="display: none"}}
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Nature
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; "| {{{nature|}}}
|-! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Stars
| style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; width:25%;"| {{{stars|}}} {{#ifeq: {{{rating|}}}|1|{{[[File:gold star.png|25px]]}}|}}{{#ifeq: {{{rating|}}}|2|{{[[File:gold star.png|25px]][[File:gold star.png|25px]]}}|}}{{#ifeq: {{{rating|}}}|3|{{[[File:gold star.png|25px]][[File:gold star.png|25px]][[File:gold star.png|25px]]}}|}}{{#ifeq: {{{rating|}}}|4|{{[[File:gold star.png|25px]][[File:gold star.png|25px]][[File:gold star.png|25px]][[File:gold star.png|25px]]}}|}}{{#ifeq: {{{rating|}}}|5|{{[[File:gold star.png|25px]][[File:gold star.png|25px]][[File:gold star.png|25px]][[File:gold star.png|25px]][[File:gold star.png|25px]]}}|}}
|-
|-
|-{{#if: {{{debut|}}}||style="display: none"}}
|-{{#if: {{{debut|}}}||style="display: none"}}
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Debut Date
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Debut Date
| 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|}}}
|}
|}</includeonly>
<noinclude>
<pre>
{{Item
|img=
|smallimg=
|capt1= Item
|capt2=Icon for
|curr=
|rating=
|gets=
|price=
|flavor=
|nature=
|sell=
|stars=
|debut=
|flavor_text=
}}
</pre>
</noinclude>

Revision as of 12:15, 4 February 2026

This template defines the table "Items". View table.


{{Item
|img=
|smallimg=
|capt1= Item
|capt2=Icon for 
|curr=
|rating=
|gets=
|price=
|flavor=
|nature=
|sell=
|stars=
|debut=
|flavor_text=
}}