Template:Item: Difference between revisions
From Paw Borough Wiki
No edit summary |
No edit summary |
||
(10 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 | |||
|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|}}} | |||
|flavor={{{flavor|}}} | |||
}} | }} | ||
{| 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: {{{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= | |||
|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= }}