1,004
edits
(created page) |
m (Added notice to fill in consumes and outputs manually as automating them wasn't possible) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1:
Do '''not''' use this as you would a normal template. Copy the source below when creating a new page as a template, or copy just the parts relevant to you.
<syntaxhighlight lang="mediawiki">
<!-- This is a comment! Anything inside of this will not be displayed on the page -->
<!-- InfoBox -->
{{Object
|title1 = {{PAGENAME}}
|image1 = [[File:PartName.png|thumb]]
|type = {{#invoke:GetPartInfo|getField|Type}}
|recipe={{#invoke:GetPartInfo|getField|Recipe}} <!-- Remove recipe and raw_recipe if it is abundantly clear that it is uncraftable (eg. obtination method = mining) -->
|
|configuration={{#invoke:GetPartInfo|getField|Configuration}} <!-- Remove for natural resources. Leave it for other parts though -->▼
|consumes= <!-- Please fill in the ''consumes'' and ''outputs'' fields manually as they cannot be automated. Remove them if it doesn't consume or output anything -->
|outputs=
|malleability={{#invoke:GetPartInfo|getField|Malleability}}
|default_size={{#invoke:GetPartInfo|getField|DefaultSize}}▼
|durability={{#invoke:GetPartInfo|getField|Durability}}
|default_colour={{#invoke:GetPartInfo|getField|DefaultColor}}▼
|flammable={{#invoke:GetPartInfo|getField|Flammable}}
▲|configuration={{#invoke:GetPartInfo|getField|Configuration}}
▲|default_colour={{#invoke:GetPartInfo|getField|DefaultColor}}
▲|default_size={{#invoke:GetPartInfo|getField|DefaultSize}}
}}
<!-- Some information -->
The
Line 30 ⟶ 33:
[[Category:Parts]]
</syntaxhighlight>
|