Difference between revisions of "Template:Mineral"
Jump to navigation
Jump to search
Tristavius (talk | contribs) m |
Fyzixfighter (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 16: | Line 16: | ||
|RAD=[[File:Mineral_Radioactive.png]]<font color="#ff8503">''' {{#if:{{{size|}}}|{{{size}}}|}} Radioactive''' </font> | |RAD=[[File:Mineral_Radioactive.png]]<font color="#ff8503">''' {{#if:{{{size|}}}|{{{size}}}|}} Radioactive''' </font> | ||
|EXO=[[File:Mineral_Exotic.png]]<font color="#ee03ff">''' {{#if:{{{size|}}}|{{{size}}}|}} Exotic''' </font> | |EXO=[[File:Mineral_Exotic.png]]<font color="#ee03ff">''' {{#if:{{{size|}}}|{{{size}}}|}} Exotic''' </font> | ||
− | }}</includeonly><noinclude>{{documentation}}</noinclude> | + | }}{{#if:{{{multi|}}}| ×{{{multi}}} |}}</includeonly><noinclude>{{documentation}}</noinclude> |
Latest revision as of 14:20, 29 April 2016
Documentation for {{mineral}}
Use[edit]
Wherever a mineral type is mentioned, this template will display it with correctly colored text alongside the appropriate icon.
Usage[edit]
{{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 "×n" after the mineral type to indicate "n" number of deposits }}
Types[edit]
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