Template:Infobox block: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
mNo edit summary
see http://www.mediawiki.org/wiki/Help:Magic_words#Namespaces_2 for more info; prohibits category from appearing on anything but main name space(article space)
Line 63: Line 63:
|}
|}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>
<includeonly>[[Category:Blocks]]</includeonly>
<includeonly>{{#ifeq:{{NAMESPACE}}|{{ns:0}}|[[Category:Blocks]]}}</includeonly>

Revision as of 07:17, 26 August 2010

Infobox block
File:No image.png
Type ?
Affected by gravity? ?
Requires sunlight/dirt? ?
Allows light to pass through? ?
Emits Light? ?
Data Value ? dec (? hex)

Documentation

These usage notes will not be included in articles bearing this template.

This template provides a uniform design for block pages.

{{Block
| name = 
| image = 
| type = 
| gravity = 
| dirt = 
| transparent = 
| light = 
| datadec = 
| datahex = 
}}
Parameter Function Default value
name Name of the block {{BASEPAGENAME}}
image Image of the block (should be approx. 150x150px) No image.png
type Type (Deprecated?) ?
gravity Affected by gravity? ?
dirt Requires sunlight/dirt? ?
transparent Allows light to pass through? ?
light Emits Light? ?
datadec Decimal Data Value ?
datahex Hexadecimal Data Value ?