Jump to content

BTA-Mirror:Editing guide: Difference between revisions

imported>TerboGoodGame
No edit summary
imported>TerboGoodGame
Line 14: Line 14:
There are numerous templates used throughout the wiki that are used for specific areas where formatting and CSS styling would be beneficial. They allow for easier editing of things such as crafting recipes, infoboxes and contents. Below is a list of important templates to know and understand:
There are numerous templates used throughout the wiki that are used for specific areas where formatting and CSS styling would be beneficial. They allow for easier editing of things such as crafting recipes, infoboxes and contents. Below is a list of important templates to know and understand:


* [[Template:BlockSprite]] (used for hyperlinking blocks)
[[Template:BlockSprite]] (Used in the [[Block]] page for listing blocks. It's not recommended to use this outside of that page.)
** {{BlockSprite|Grass|name=y|link=y}}
 
* [[Template:ItemSprite]] (used for hyperlinking items)
{{BlockSprite|Grass|name=y|link=y}}
**{{ItemSprite|Cloth|name=y|link=y}}
 
*[[Template:Crafting table]] (used for displaying crafting recipes or smelting recipes)
[[Template:ItemSprite]] (Used in the [[Item]] page for listing items. It's not recommended to use this outside of that page.)
**{{Crafting table
 
{{ItemSprite|Cloth|name=y|link=y}}
 
[[Template:Crafting table]] (Used for showing crafting recipes or smelting recipes.)
{{Crafting table
|1=Any Cobblestone
|1=Any Cobblestone
|2=Cobblestone
|2=Cobblestone
Line 32: Line 36:
|foot=y
|foot=y
}}
}}
*[[Template:Item infobox]] (used for infoboxes pertaining to blocks or items)
[[Template:Item infobox]] (Used for infoboxes pertaining to items or blocks.)
**{{Item infobox
{{Item infobox
|description= Short description outlining what the block does.
|description= Short description outlining what the block does.
|item = Stone
|item = Stone