Template:Item: Difference between revisions
From Paw Borough Wiki
No edit summary |
Wyverwithy (talk | contribs) No edit summary |
||
| (24 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | |||
{{#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%;" | {| class="infobox" style = "float: right; margin:1%;" | ||
! colspan=" | ! colspan="4"|'''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
! colspan=" | ! colspan="4" {{#if: {{{img|}}}||style="display: none"}} | [[File:{{{img|}}}]] | ||
|- {{#if: {{{img|}}}||style="display: none"}} | |- {{#if: {{{img|}}}||style="display: none"}} | ||
|- | |- | ||
| colspan=" | | colspan="4" style="text-align: center; padding-left: 2px; padding-right: 2px;" | ''{{{flavor_text|}}}'' | ||
|- | |- | ||
| colspan=" | | colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;" | <small>{{{capt1|}}}</small> | ||
|- | |- | ||
! colspan=" | ! colspan="4" {{#if: {{{smallimg|}}}||style="display: none"}} | [[File:{{{smallimg|}}}]] | ||
|- {{#if: {{{smallimg|}}}||style="display: none"}} | |- {{#if: {{{smallimg|}}}||style="display: none"}} | ||
| colspan=" | | colspan="4" style="text-align: center; background:#965c2d; color:white; border-radius:2em;" | <small>{{{capt2|}}}</small> | ||
|- | |- | ||
! style="border-radius:2em; background:#965c2d; color:white; width:40%;"| Acquired Via | ! colspan="2" style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:40%;"| Acquired Via | ||
| style="font-weight:bold; background:white; border-radius:2em;padding-left: | | colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 10px; "| {{{gets|}}} | ||
|- | |- | ||
! style="border-radius:2em; background:#965c2d; color:white; width:40%;"| | ! style="text-align: center;border-radius:2em; background:#965c2d; color:white; width:25%;"| Cost | ||
| style="font-weight:bold; background:white; border-radius:2em;padding-left: 5px; "| {{{ | | 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}} | |||
|- | |||
|-{{#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;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"}} | ||
! style="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 | ||
| style="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=
}}
