Template:Block: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
<p style="margin-left: 1.6em;">{{{dims|1 x 1 x 1}}}</p>
<p style="margin-left: 1.6em;">{{{dims|1 x 1 x 1}}}</p>
;Material
;Material
<p style="margin-left: 1.6em;">{{{material|<Information Missing>}}}{{#if:{{{material|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{material|<Information Missing>}}}{{#if:{{{material|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p>{{#if:{{{researchtobuild|}}}|<!--TRUE-->;Research Required to Build<br/><p style="margin-left: 1.6em;">{{{researchtobuild}}}</p>}}{{#if:{{{itemsrequired|}}}|<!--TRUE-->;Items Required to Build<br/><p style="margin-left: 1.6em;">{{{itemsrequired}}}</p>}}<includeonly>[[Category:Blocks]]</includeonly><noinclude>
;Research Required to Build
<p style="margin-left: 1.6em;">{{{researchtobuild|None}}}</p>
;Items Required to Build
<p style="margin-left: 1.6em;">{{{itemsrequired|<Information Missing>}}}{{#if:{{{itemsrequired|}}}||<includeonly>[[Category:Missing_information]]</includeonly>}}</p><includeonly><includeonly>[[Category:Blocks]]</includeonly></includeonly><noinclude>


==Usage==
==Usage==

Revision as of 13:28, 21 July 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.

{{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?>}}
  • The code above can be pasted into your page and edited.
  • 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.