Template:Item: Difference between revisions
From StrawberryMC
CmdBlock00 (talk | contribs) mNo edit summary |
CmdBlock00 (talk | contribs) mNo edit summary |
||
| Line 66: | Line 66: | ||
<!-- Info --> | <!-- Info --> | ||
<div class="infobox-header"><div class="infobox-htxt">Information</div></div> | <div class="infobox-header"><div class="infobox-htxt">Information</div></div> | ||
<div class="item-rarity item-rarity-{{{rarity|common}}}"> | <div class="item-rarity item-rarity-{{{rarity|common}}}"><span class="infobox-label">Rarity:</span> {{ucfirst:{{{rarity|common}}}}}'''</div> | ||
<div class="item-info"><span class="infobox-label">Type:</span> {{ucfirst:{{{type}}}}} | |||
</div> | |||
< | |||
<!-- Stats --> | <!-- Stats --> | ||
{{#iferror: {{#expr:{{{magicFind}}}{{{fortune}}}{{{blast}}}{{{moneyMulti}}}{{{xpMulti}}}{{{speed}}}{{{diggingPower}}}}}||{{#ifexpr:({{{magicFind|}}} + {{{fortune|}}} + {{{blast|}}} + | {{#iferror: {{#expr:{{{magicFind}}}{{{fortune}}}{{{blast}}}{{{moneyMulti}}}{{{xpMulti}}}{{{speed}}}{{{diggingPower}}}}}||{{#ifexpr:({{{magicFind|}}} + {{{fortune|}}} + {{{blast|}}} + | ||
Revision as of 21:59, 15 October 2025
Parameters
| Parameter | Extra Information | Required (Y/N) |
|---|---|---|
| name | The item's name (e.g. Iron Sword) | Yes |
| image | An image of the item | Yes |
| lore | Do "<br>" for new line | No |
| rarity | The item's rarity | Yes |
| type | The item's type (e.g. tool, weapon) | Yes |
| stats | List of Stats | No |
magicFind fortune blast moneyMulti xpMulti speed diggingPower
Example
Item Name
Nothing.
Information
Rarity: Epic
Type: Tool
Statistics
Magic FindIncreases chance for rare drops: 10
FortuneIncreases item yield: 25
BlastBlast radius or power: 100
Money MultiplierIncreases coin gain: +50
XP MultiplierIncreases XP earned: +100
SpeedAffects movement speed: 120
Digging PowerDamage you deal to enemies: 300
{{Item
| name = Item Name
| image = File:Placeholder.png
| lore = Nothing.
| type = tool
| rarity = epic
| magicFind = 10
| fortune = 25
| blast = 100
| moneyMulti = 50
| xpMulti = 100
| speed = 120
| diggingPower = 300
}}
