Jump to content

Template:MaterialInfobox: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
m Fixed category
Working split and some test text
Line 11: Line 11:
| 3:Type = Split
| 3:Type = Split
| 3:LabelLeft = Known uses
| 3:LabelLeft = Known uses
| 3:ValueLeftMethod = Newline
| 3:ValueLeft = {{{knownuses|}}}
| 3:ValueLeft = {{{knownuses|}}}
| 3:LabelMethod = ExampleSplitLabelMethod
| 3:ValueMethod = SplitNewline
| 3:LabelRight = d test d
| 3:LabelRightMethod = SplitTest
| 3:ValueRight = t;e;s;t
}}<includeonly>[[Category:Materials]]
}}<includeonly>[[Category:Materials]]
{{#switch:{{lc:{{{grade|}}}}}
{{#switch:{{lc:{{{grade|}}}}}

Revision as of 04:16, 11 December 2015

{{#infoboxbuilder: | 0:Theme = eInfobox | 0:CustomModule = Module:Infobox Material | 1:Type = Title

| 1:Label = NULL
| 1:ValueMethod = PreTitleIcon
| 1:Grade = 
| 1:Value = MaterialInfobox

| 2:Type = Line

| 2:Label = Grade
| 2:Value = 

| 3:Type = Split

| 3:LabelLeft = Known uses
| 3:ValueLeft = 
| 3:LabelMethod = ExampleSplitLabelMethod
| 3:ValueMethod = SplitNewline
| 3:LabelRight = d test d
| 3:LabelRightMethod = SplitTest
| 3:ValueRight = t;e;s;t

}}

{{CommodityInfobox
| grade      = 
| knownuses  = 
}}
grade
The grade or rating on how difficult it is to find. Can either be "Very common", "Common", or "Rare".
knownuses
The known uses listed in the information of the material. New material are separated by semi-colon (";"). Names have to be exact in terms of both name and capitalisation. Please use icon templates such as {{Material ship}}.