Template:MaterialInfobox: Difference between revisions
Appearance
Content deleted Content added
Added image support |
mNo edit summary |
||
| Line 8: | Line 8: | ||
| 2:Type = MainImage |
| 2:Type = MainImage |
||
| 2:Label = NULL |
| 2:Label = NULL |
||
| 2:Value = {{{ |
| 2:Value = {{#if:{{{image|}}}|[[File:{{{image|}}}|306px]]}} |
||
| 3:Type = Line |
| 3:Type = Line |
||
| 3:Label = Grade |
| 3:Label = Grade |
||
| Line 48: | Line 48: | ||
</pre> |
</pre> |
||
== Usage == |
== Usage == |
||
| ⚫ | |||
;grade:The grade or rating on how difficult it is to find. Can either be "Very common", "Common", "Standard", "Rare", or "Very rare". |
;grade:The grade or rating on how difficult it is to find. Can either be "Very common", "Common", "Standard", "Rare", or "Very 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 [[:Category:Icon templates|icon templates]] such as {{t|Material ship}}. |
;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 [[:Category:Icon templates|icon templates]] such as {{t|Material ship}}. |
||
</noinclude> |
</noinclude> |
||
Revision as of 01:53, 29 November 2017
{{#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 = MainImage
| 2:Label = NULL | 2:Value =
| 3:Type = Line
| 3:Label = Grade | 3:Value =
| 4:Type = Custom
| 4:Label = tr
| 4:Value = Known uses
| 4:CssClass = custom-listheader
| 5:Type = Custom
| 5:Label = | 5:Value = | 5:ValueMethod = TableSplitRows | 5:CssClass = custom-list
}}
{{CommodityInfobox
| ModuleImage =
| grade =
| knownuses =
}}
Usage
- grade
- The grade or rating on how difficult it is to find. Can either be "Very common", "Common", "Standard", "Rare", or "Very rare".
- image
- The image to display in the material infobox.
- 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}}.