Difference between revisions of "Template:NewBlock"

From TerraFirmaCraft Plus Wiki
Jump to: navigation, search
(Created page with "<includeonly> {{Block |title={{subst:BASEPAGENAMEE}} |image={{subst:BASEPAGENAMEE}}.png <!-- The large 144px or 150px image of the item --> |invimage={{subst:BASEPAGENAMEE}}...")
 
Line 2: Line 2:
 
{{Block
 
{{Block
 
|title={{subst:BASEPAGENAMEE}}
 
|title={{subst:BASEPAGENAMEE}}
|image={{subst:BASEPAGENAMEE}}.png   <!-- The large 144px or 150px image of the item -->
+
|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. There can be more of these entries (|invimage2= |invimage3= etc.) for variant inv images-->
+
|invimage={{subst:BASEPAGENAMEE}}    <!-- grid version image. For alt images add new lines (|invimage2= |invimage3= etc.) -->
|stackable=   <!-- yes or no, amt. ex:Yes, 64 -->
+
|stackable=                           <!-- yes or no, amt. ex:Yes, 64 -->
 +
|tool=                                <!-- name of tool used to break block. ex: Pick, Shovel -->
 
|size=  
 
|size=  
 
|weight=  
 
|weight=  

Revision as of 19:27, 5 October 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?)