Jump to content

Template:MaterialInfobox: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
m Fixed infobox
m Changed css pos
Line 11: Line 11:
| 3:Type = Custom
| 3:Type = Custom
| 3:Label = tr
| 3:Label = tr
| 3:Value = <td colspan="2" class="custom-listheader" >Known uses</td>
| 3:Value = <td colspan="2">Known uses</td>
| 3:CssClass = RowLabel
| 3:CssClass = custom-listheader
| 5:Type = Custom
| 5:Type = Custom
| 5:Label = tr
| 5:Label = tr
| 5:Value = <td colspan="2" class="custom-list">{{{knownuses|}}}</td>
| 5:Value = <td colspan="2">{{{knownuses|}}}</td>
| 5:ValueMethod = Newline
| 5:ValueMethod = Newline
| 5:CssClass = Column
| 5:CssClass = custom-list
}}<includeonly>[[Category:Materials]]
}}<includeonly>[[Category:Materials]]
{{#switch:{{lc:{{{grade|}}}}}
{{#switch:{{lc:{{{grade|}}}}}

Revision as of 19:12, 14 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 = Custom

| 3:Label = tr

| 3:Value = Known uses

| 3:CssClass = custom-listheader

| 5:Type = Custom

| 5:Label = tr

| 5:Value =

| 5:ValueMethod = Newline
| 5:CssClass = custom-list

}}

{{CommodityInfobox
| grade      = 
| knownuses  = 
}}

Usage

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}}.