Template:MaterialInfobox: Difference between revisions
Appearance
Content deleted Content added
Get rid of everything that doesn't work correctly when there's a line in the infobox |
Don't need these anymore, they were just for testing |
||
| Line 22: | Line 22: | ||
| 5:ValueMethod = Newline |
| 5:ValueMethod = Newline |
||
| 5:CssClass = ImTheList |
| 5:CssClass = ImTheList |
||
| 6:Type = Custom |
|||
| 6:Label = tr |
|||
| 6:Value = <td colspan="2">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;test1;test2</td> |
|||
| 6:ValueMethod = Newline |
|||
| 6:CssClass = ImTheList |
|||
| 7:Type = Line |
|||
| 7:Label = TestGrade |
|||
| 7:Value = Test |
|||
}}<includeonly>[[Category:Materials]] |
}}<includeonly>[[Category:Materials]] |
||
{{#switch:{{lc:{{{grade|}}}}} |
{{#switch:{{lc:{{{grade|}}}}} |
||
Revision as of 19:02, 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 = Header
| 3:Label = | 3:Value = TestHeader | 3:CssClass = ImTheHeader
| 4:Type = Custom
| 4:Label = tr
| 4:Value = FakeTestHeader
| 4:CssClass = ImTheFakeHeader
| 5:Type = Custom
| 5:Label = tr
| 5:Value =
| 5:ValueMethod = Newline | 5:CssClass = ImTheList
}}
{{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}}.
Notes
Due to the quite irritating structure of the Split type, editing this template should be done with caution.