Template:Block: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 9: | Line 9: | ||
==Usage== | ==Usage== | ||
The Block template is meant to be used for any block. | The Block template is meant to be used for any block. | ||
===Large Block Version:=== | |||
<pre>{{Block | <pre>{{Block | ||
|size=<Large or Small?> | |size=<Large or Small?> | ||
Line 15: | Line 16: | ||
|researchtobuild=<Links to research> | |researchtobuild=<Links to research> | ||
|itemsrequired=<links to items?> | |itemsrequired=<links to items?> | ||
}}</pre> | |||
===Small Block Version:=== | |||
<pre>{{Block | |||
|size=<Large or Small?> | |||
|dims=<X x Y x Z> | |||
|material=<Material Block is made from?> | |||
}}</pre> | }}</pre> | ||
*The code above can be pasted into your page and edited. | *The code above can be pasted into your page and edited. | ||
*Because small blocks are crafted they should all using the [[Template:Crafting_Blueprint|Crafting Blueprint]] template. This makes the ''research to build'' and ''items required'' fields redundant. | |||
*Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in. | *Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in. | ||
*Templates adds [[:Category:Blocks]]. [[:Category:Large Blocks]], [[:Category:Small Blocks]], and [[:Category:Missing_information]] are added conditionally. | *Templates adds [[:Category:Blocks]]. [[:Category:Large Blocks]], [[:Category:Small Blocks]], and [[:Category:Missing_information]] are added conditionally. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 20:11, 22 August 2017
Block Information
- Size
<Information Missing>
- Dimensions
1 x 1 x 1
- Material
<Information Missing>
Usage
The Block template is meant to be used for any block.
Large Block Version:
{{Block |size=<Large or Small?> |dims=<X x Y x Z> |material=<Material Block is made from?> |researchtobuild=<Links to research> |itemsrequired=<links to items?> }}
Small Block Version:
{{Block |size=<Large or Small?> |dims=<X x Y x Z> |material=<Material Block is made from?> }}
- The code above can be pasted into your page and edited.
- Because small blocks are crafted they should all using the Crafting Blueprint template. This makes the research to build and items required fields redundant.
- Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
- Templates adds Category:Blocks. Category:Large Blocks, Category:Small Blocks, and Category:Missing_information are added conditionally.