Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox items: Difference between revisions

Template page
No edit summary
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<templatestyles src="Template:Infobox generic/styles.css" />
{{Infobox
{| class="infobox infobox-species"
| name              = {{{name|}}}
|-
| image              = {{{image|}}}
! colspan="2" class="infobox-header" | {{{name|Item}}}
| journal_entry      = {{{journal_entry|}}}
|-
| journal_vp1        = {{{journal_vp1|}}}
| colspan="2" class="infobox-image" | [[File:{{{image|}}}|250px|center|{{{name}}}]]
| journal_tip        = {{{journal_tip|}}}
|-
| journal_pp        = {{{journal_pp|}}}
| colspan="2" class="infobox-section infobox-journal-cell" |
| level              = {{{level|}}}
{{{journal_entry|}}}
| base_value        = {{{base_value|}}}
|-
| special_effects    = {{{special_effects|}}}
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Level</span>
}}
| class="infobox-section infobox-value-cell" | {{{level|}}}
|-
| class="infobox-section infobox-label-cell" | <span class="infobox-label">Base Value</span>
| class="infobox-section infobox-value-cell" | {{{base_value|}}} chocolate coins
|}
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
  "description": "Infobox for an item",
"description": "Infobox for an item",
  "params": {
"params": {
    "name": {"label": "Item name", "description": "Name of the item", "type": "string", "required": true},
"name": {
    "image": {"label": "Image filename", "description": "Image file of the item (without 'File:')", "type": "string"},
"label": "Item name",
    "level": {"label": "Level", "description": "Item level (1–11)", "type": "number"},
"description": "Name of the item",
    "base_value": {"label": "Base value", "description": "Value in Chocolate Coins", "type": "number"},
"type": "string",
"journal_entry": {
"required": true
  "label": "Journal entry",
},
  "description": "Journal entry displayed under the image",
"image": {
  "type": "string"
"label": "Image filename",
}
"description": "Image file of the item (without 'File:')",
  }
"type": "string"
},
"level": {
"label": "Level",
"description": "Item level (1–11)",
"type": "number"
},
"base_value": {
"label": "Base value",
"description": "Value in Chocolate Coins",
"type": "number"
},
"journal_entry": {
"label": "Journal entry",
"description": "Journal entry displayed under the image",
"type": "string"
},
"special_effects": {
"label": "Special Effects",
"description": "Effects the item has when placed in your garden (The rainbow preventing fights, the bell making Moozipan produce, ect.)",
"type": "string"
}
},
"paramOrder": [
"name",
"image",
"journal_entry",
"level",
"base_value",
"special_effects"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 13:47, 23 February 2026

Infobox items

Infobox for an item

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Item namename

Name of the item

Stringrequired
Image filenameimage

Image file of the item (without 'File:')

Stringoptional
Journal entryjournal_entry

Journal entry displayed under the image

Stringoptional
Levellevel

Item level (1–11)

Numberoptional
Base valuebase_value

Value in Chocolate Coins

Numberoptional
Special Effectsspecial_effects

Effects the item has when placed in your garden (The rainbow preventing fights, the bell making Moozipan produce, ect.)

Stringoptional