Template:Item: Difference between revisions

From Paw Borough Wiki
No edit summary
No edit summary
(40 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="wikitable" style = "float: right; max-width: 20em"
<noinclude>
!  colspan="2"|'''{{{name|{{PAGENAME}}}}}'''
{{#cargo_declare:_table=Items
|flavor_text=Wikitext
|gets=List (,) of Wikitext
|price=Integer
|Currency=String
|Rating=String
|sell=Integer
|flavor=String
|nature=String
|stars=String
|curren
}}
</noinclude>
<includeonly>
{{#cargo_store:_table=Items
|flavor_text={{{flavor_text|}}}
|gets={{{gets|}}}
|currency={{{curr|}}}
|rating={{{rating|}}}
|price={{{price|}}}
|sell={{{sell|}}}
|flavor={{{flavor|}}}
|nature={{{nature|}}}
|stars={{{stars|}}}
}}
{| class="infobox" style = "float: right; margin:1%;"
!  colspan="4"|'''{{{name|{{PAGENAME}}}}}'''
|-
|-
! colspan="2" {{#if: {{{img|}}}||style="display: none"}} | [[File:{{{img|}}}|width|300px]]
! colspan="4" {{#if: {{{img|}}}||style="display: none"}} | [[File:{{{img|}}}]]
|- {{#if: {{{img|}}}||style="display: none"}}
|- {{#if: {{{img|}}}||style="display: none"}}
|
|-
|-
! colspan="2" {{#if: {{{smallimg|}}}||style="display: none"}} | [[File:{{{smallimg|}}}|width|50px]]
| 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" {{#if: {{{smallimg|}}}||style="display: none"}} | [[File:{{{smallimg|}}}]]
|- {{#if: {{{smallimg|}}}||style="display: none"}}
|- {{#if: {{{smallimg|}}}||style="display: none"}}
| colspan="2" style="text-align: center" | <small>{{{capt|}}}</small>
| colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;" | <small>{{{capt2|}}}</small>
|-
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Acquired Via
| colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 10px; "| {{{gets|}}}
|-
|-
! Acquired Via
! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Cost
| {{{gets|}}}
| 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;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; width:25%;"| {{{sell|}}} {{c}}
|-
|-
! Price
|-{{#if: {{{flavor|}}}||style="display: none"}}
| {{{price|}}}
! 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|}}}{{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"}}
! Debut Date
! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"|  Debut Date
| {{{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=
}}