Difference between revisions of "Template:Mineral/doc"

From Ultronomicon
Jump to: navigation, search
m (Usage)
(Usage)
Line 8: Line 8:
 
|type          = A code for the mineral type; can be a single digit 1-8 representing common-exotic or the first three letters of the type (e.g COM, EXO)
 
|type          = A code for the mineral type; can be a single digit 1-8 representing common-exotic or the first three letters of the type (e.g COM, EXO)
 
|size          = (Optional) Can be used to add a size prefix.  Should be passed the text (e.g. Huge, Medium)
 
|size          = (Optional) Can be used to add a size prefix.  Should be passed the text (e.g. Huge, Medium)
 +
|multi          = (Optional) Adds a "×'''multi'''" after the mineral type to indicate '''multi''' number of deposits
 
}}</pre>
 
}}</pre>
  

Revision as of 14:12, 29 April 2016

Use

Wherever a mineral type is mentioned, this template will display it with correctly colored text alongside the appropriate icon.

Usage

{{Mineral
|type           = A code for the mineral type; can be a single digit 1-8 representing common-exotic or the first three letters of the type (e.g COM, EXO)
|size           = (Optional) Can be used to add a size prefix.  Should be passed the text (e.g. Huge, Medium)
|multi          = (Optional) Adds a "×'''multi'''" after the mineral type to indicate '''multi''' number of deposits 
}}

Types

1 or COM = Common
2 or COR = Corrosive
3 or BAS = Base Metal
4 or NOB = Noble Gas
5 or RAR = Rare Earth
6 or PRE = Precious
7 or RAD = Radioactive
8 or EXO = Exotic