Jump to content

Template:Item Infobox: Difference between revisions

From The Petit Planet Wiki
Shirra (talk | contribs)
added the option for multiple sources for items
Shirra (talk | contribs)
m desc
 
(3 intermediate revisions by the same user not shown)
Line 18: Line 18:


|Information_collapsible = Yes
|Information_collapsible = Yes
|Information = Category, Type, Quality, Size, Selling Price
|Information = Category, Type, Quality, Size, Selling Price, Description
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Category = {{#if:{{{category|}}}|[[{{{category}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
|Type = {{#if:{{{type|}}}|[[{{{type}}}]]}}
Line 29: Line 29:
|Size = {{#if:{{{size|}}}|{{#replace:{{{size}}}|x|×}}}}
|Size = {{#if:{{{size|}}}|{{#replace:{{{size}}}|x|×}}}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|x={{{sell|{{{price}}}}}}}}}}
|Selling Price = {{#if:{{{sell|{{{price|}}}}}}|{{Item|Dough|x={{{sell|{{{price}}}}}}}}}}
|Description = {{{description|}}}


|How to Obtain_collapsible = Yes
|How to Obtain_collapsible = Yes
|How to Obtain = Source, Source 1, Source 2, Source 3
|How to Obtain = Source, Sources
|Source  = {{{source|}}}
|Source  = {{{source|}}}
|Source 1 = {{{source1|}}}
|Sources  = {{#if:{{#explode:{{{sources|}}}|;|1}}|{{List|{{{sources}}}}}|}}
|Source 2 = {{{source2|}}}
|Source 3 = {{{source2|}}}
}}<!--
}}<!--



Latest revision as of 18:39, 19 April 2026

Template documentation
Note: parts of or the entire template might not be visible without values provided.

The documentation for this template is missing. Click here to create it.