Difference between revisions of "Template:NewBlock"
From TerraFirmaCraft Plus Wiki
(Created page with "<includeonly> {{Block |title={{subst:BASEPAGENAMEE}} |image={{subst:BASEPAGENAMEE}}.png <!-- The large 144px or 150px image of the item --> |invimage={{subst:BASEPAGENAMEE}}...") |
m |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{Block | {{Block | ||
|title={{subst:BASEPAGENAMEE}} | |title={{subst:BASEPAGENAMEE}} | ||
− | |image={{subst:BASEPAGENAMEE}}.png | + | |image={{subst:BASEPAGENAMEE}}.png <!-- The large (~150px) image of the item, including file extension (.png, .gif). Alt images can be added using ; --> |
− | |invimage={{subst:BASEPAGENAMEE}} <!-- grid version image. | + | |invimage={{subst:BASEPAGENAMEE}} <!-- grid version image. For alt images add new lines (|invimage2= |invimage3= etc.) --> |
− | |stackable= | + | |stackable= <!-- yes or no, amt. ex:Yes, 64 --> |
+ | |tool= <!-- name of tool used to break block. ex: Pick, Shovel --> | ||
|size= | |size= | ||
|weight= | |weight= | ||
|blockid= | |blockid= | ||
}} | }} | ||
− | |||
− | |||
== Obtaining == <!-- Detailed description of where to find the item or how to craft it. --> | == Obtaining == <!-- Detailed description of where to find the item or how to craft it. --> |
Latest revision as of 10:38, 2 December 2019
Template documentation (for the above template, sometimes hidden or invisible)
This is a template for creating new block pages with item info box, sections, nav box, category tag, and additional instructions commented in the page's wikicode.
Use
In the blank edit box of a new page, type {{subst:NewItem}} and save the page. On saving, the wiki does a one-time transclusion of this template and saves the page as if the template contents were manually entered. The page name is used to autocomplete certain parts of the template (ex:block images and recipe template), so make sure that the url of the page you're creating matches the names of the block's images.
Visit Template:NewBlock/doc to edit this text! (How does this work?)