Difference between revisions of "Template:Block"

From The Twilight Forest Wiki
Jump to navigation Jump to search
(Add padding, reimplement file navigation, make the header bigger, shrink image display)
Line 1: Line 1:
<includeonly>{|class="wikitable" id="blockInfobox" style="{{{style|float:right; margin-left: 100px;}}}"
<includeonly>{|class="wikitable" id="blockInfobox" style="{{{style|float:right; margin-left: 100px;}}}"
!colspan="2"|{{{name| {{BASEPAGENAME}} }}}
!colspan="2" style="font-size: 1.6em;"|{{{name| {{BASEPAGENAME}} }}}


|-
|-
|colspan="2" style="background-color: #222"|[[File:{{{image|!.png}}}|center|256px|link=|{{{image|}}}]]
|colspan="2" style="background-color: #222; padding: 35px;"|[[File:{{{image|!.png}}}|center|128px]]


|-
|-

Revision as of 19:04, 7 February 2024

Usage:

{{Block
|style= (used to orientate the table's styling, use only if you're a pro)
|name= (optional, defaults to the article's title)
|image= (filelink)
|transparent= (defaults to no)
|luminance= (light emitted, defaults to none)
|hardness= (block hardness)
|blastres= (blast resistance)
|tool= (best tool for harvesting)
|renewable= (yes/no)
|stackable= (yes/no)
|flammable= (defaults to no)
|id= (in-game id)
}}
Block
!.png
Transparency None
Luminance None
Hardness
Blast Resistance
Tool
Renewable
Stackable
Flammable No
ID