Template:Infobox building

From MinecraftOnline
Revision as of 23:25, 18 April 2011 by SlowRiot (talk | contribs) (Adding automatic naming if title is unspecified and automatic addition to the warps category if pagename is the same as nearest warp name.)
Jump to navigation Jump to search

When to use

Place this on any page suitable for the buildings category. It will add the page to the category, as well as producing the handy info box.

Please don't attempt to alter the code for this template unless you really know what you're doing, and you have community consensus.

Usage

Copy and paste below, and modify as appropriate:

{{Infobox building
|title        = AwesomeCastle Seven
|image        = Image.png
|caption      = View from the front
|author       = Jim
|contributors = Bob, Mike
|type         = Castle
|underground  = No
|public       = Yes
|n-s_size     = 40
|w-e_size     = 40
|height       = 20
|xcoord       = -1204
|ycoord       = 62
|zcoord       = 3028
|nearestwarp  = AmpCity
|maplink      = http://minecraftonline.com/map/?lat=0.528557&lng=0.420644&zoom=10
}}

Or use this blank template:

{{Infobox building
|title        = 
|image        = 
|caption      = 
|author       = 
|contributors = 
|type         = 
|underground  = 
|public       = 
|n-s_size     = 
|w-e_size     = 
|height       = 
|xcoord       = 
|ycoord       = 
|zcoord       = 
|nearestwarp  = 
|maplink      =
}}