Template:Item: Difference between revisions
From Paw Borough Wiki
No edit summary |
No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|gets=List (,) of Wikitext | |gets=List (,) of Wikitext | ||
|price=Integer | |price=Integer | ||
|Currency=String | |||
|sell=Integer | |sell=Integer | ||
|flavor=String | |flavor=String | ||
|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|}}} | |||
|price={{{price|}}} | |price={{{price|}}} | ||
|sell={{{sell|}}} | |sell={{{sell|}}} | ||
Line 21: | Line 25: | ||
|- {{#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 33: | Line 37: | ||
|- | |- | ||
! 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|}}} | | 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|}}} | | 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; "| | | colspan="2" style="text-align: center;font-weight:bold; background:white; border-radius:2em;padding-left: 5px; "| {{{flavor|}}}{{f|{{{flavor|}}}}} | ||
|- | |- | ||
|-{{#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= | |||
|gets= | |||
|price= | |||
|flavor= | |||
|sell= | |||
|debut= | |||
|flavor_text= | |||
}} | |||
</pre> | |||
</noinclude> |
Latest revision as of 20:15, 14 February 2025
This template defines the table "Items". View table.
{{Item |img= |smallimg= |capt1= Item |capt2=Icon for |curr= |gets= |price= |flavor= |sell= |debut= |flavor_text= }}