Template:MaterialInfobox: Difference between revisions
Content deleted Content added
No edit summary |
|||
| (8 intermediate revisions by 2 users not shown) | |||
Line 1:
<infobox
<title source="
| common
| Very rare | Very Rare | very rare = [[File:Very_Rare_material.svg|35px|link=]][[Category:Very rare materials]]▼
| rare
| Common | common = [[File:Common material.svg|35px|link=]][[Category:Common materials]]▼
| standard
| Standard | standard = [[File:Standard_material.svg|35px|link=]][[Category:Standard materials]]▼
| Standard = [[File:Standard material.svg|34px|link=]] {{PAGENAME}}
}} {{PAGENAME}}</format></title>▼
| very common
<image source="image"/>▼
| Very Common
<data source="grade">▼
| Very common = [[File:Very common material.svg|34px|link=]] {{PAGENAME}}
| very rare
| Very Rare
| Very rare = [[File:Very Rare material.svg|34px|link=]] {{PAGENAME}}
<header>Known Uses</header>▼
}}</default></title>
<data source="grade"><label>Grade</label><format>{{#switch: {{{grade}}}
| common
▲
<includeonly>[[Category:Materials]]</includeonly>▼
| rare
| Rare = Rare (Grade 4) [[Category:Rare materials]]
| standard
▲| Standard
| very common
| Very Common
| Very common = Very Common (Grade 1) [[Category:Very common materials]]
| very rare
| Very Rare
▲
<data source="type"><label>Type</label><format>{{#switch: {{{type}}}
| E = [[Encoded Materials|Encoded Material]] [[Category:Encoded materials]]
| M = [[Manufactured Materials|Manufactured Material]] [[Category:Manufactured materials]]
| R = [[Raw Materials|Raw Material]] [[Category:Raw materials]]
}}</format></data>
<header>Recipes and Unlocks</header>
▲</infobox><includeonly>{{#if: {{NAMESPACE}} || [[Category:Materials]]}}</includeonly><noinclude>
Example usage:<pre>
{{MaterialInfobox
| image
| grade
|
| knownuses =
}}
</pre>
== Usage ==
;image: The image to display in the material infobox, preferably of the item as seen in the game.▼
;grade: The grade or rating on how difficult it is to find.
▲;image:The image to display in the material infobox.
;type: The type of material, which indicates its source. There are three types: "E" (Encoded/Data), "M" (Manufactured), and "R" (Raw).
;knownuses: The known uses listed in the information of the material
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>
| |||