Template:Item: Difference between revisions

From StrawberryMC
CmdBlock00 (talk | contribs)
No edit summary
CmdBlock00 (talk | contribs)
mNo edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
== How to Use This Template ==
== Example ==
<div style="background:#f4f4f4; border:1px solid #ccc; padding:10px; margin-bottom:1em;">
Just copy and paste this example and edit the values:
<pre>
<pre>
{{Item
{{Item
  | name          = Item Name
  | name          = Item Name
| type          = tool
  | rarity        = epic
  | rarity        = epic
  | image        = File:ItemImage.png
  | image        = File:ItemImage.png
  | magicFind    = 10%
  | magicFind    = 10
  | fortune      = 25
  | fortune      = 25
  | blast        = 100
  | blast        = 100
  | moneyMulti    = 50%
  | income        = 50
  | xpMulti      = 100%
  | xpMulti      = 100
  | speed        = 120
  | speed        = 120
  | diggingPower  = 300
  | diggingPower  = 300
}}
}}
</pre>
</pre>
</div>
 
== Parameters ==
 
* '''name''' – Name of the item
* '''type''' – Type of item (e.g. )
* '''[[rarity]]''' –
* '''image''' – Image of the item, preferably a render (e.g. `File:Tool.png`) 
* '''magicFind''', '''fortune''', '''blast''' – Numerical stats 
* '''moneyMulti''', '''xpMulti''' – Multiplier stats (e.g. `50%`) 
* '''speed''', '''diggingPower''' – Numeric only 


== Preview ==
== Preview ==
Line 25: Line 33:
{{ItemPreviewExample}}
{{ItemPreviewExample}}
</div>
</div>
<details>
<summary>Advanced Info (Click to expand)</summary>
=== Parameters ===
* '''name''' – Name of the item 
* '''rarity''' – One of: `common`, `uncommon`, `rare`, `epic`, `legendary`, `exotic`, `admin` 
* '''image''' – Optional image (e.g. `File:Tool.png`) 
* '''magicFind''', '''fortune''', '''blast''' – Numerical stats 
* '''moneyMulti''', '''xpMulti''' – Multiplier stats (e.g. `50%`) 
* '''speed''', '''diggingPower''' – Numeric only 
=== Rarity Colors ===
Rarity names link to the [[Rarity]] article:
* '''[[Rarity#Common|<span class="item-rarity-common">Common</span>]]'''
* '''[[Rarity#Uncommon|<span class="item-rarity-uncommon">Uncommon</span>]]'''
* '''[[Rarity#Rare|<span class="item-rarity-rare">Rare</span>]]'''
* '''[[Rarity#Epic|<span class="item-rarity-epic">Epic</span>]]'''
* '''[[Rarity#Legendary|<span class="item-rarity-legendary">Legendary</span>]]'''
* '''[[Rarity#Exotic|<span class="item-rarity-exotic">Exotic</span>]]'''
* '''[[Rarity#Admin|<span class="item-rarity-admin">Admin</span>]]'''
=== Tooltip Info ===
Each stat has a hover tooltip showing its purpose.
</details>
</noinclude>
</noinclude>



Revision as of 16:44, 13 October 2025

Example

{{Item
 | name          = Item Name
 | type          = tool
 | rarity        = epic
 | image         = File:ItemImage.png
 | magicFind     = 10
 | fortune       = 25
 | blast         = 100
 | income        = 50
 | xpMulti       = 100
 | speed         = 120
 | diggingPower  = 300
}}

Parameters

  • name – Name of the item
  • type – Type of item (e.g. )
  • rarity
  • image – Image of the item, preferably a render (e.g. `File:Tool.png`)
  • magicFind, fortune, blast – Numerical stats
  • moneyMulti, xpMulti – Multiplier stats (e.g. `50%`)
  • speed, diggingPower – Numeric only

Preview