Template:Infobox building: Difference between revisions

From Nguhcraft Wiki
Jump to navigation Jump to search
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
<includeonly>[[Category:Buildings]]<onlyinclude>{{Infobox|
<includeonly><onlyinclude>{{Infobox|
{{Infobox/above|{{{name|}}}}}
{{Infobox/above|{{{name|}}}}}
{{Infobox/image|image={{{image|}}}|caption={{{image-label|'''Building'''}}}|options=border{{!}}frameless{{!}}250px}}
{{Infobox/image|image={{{image|}}}|caption={{{image-label|'''Building'''}}}|options=border{{!}}frameless{{!}}250px}}
Line 7: Line 7:
{{Infobox/row|Owner|{{{owner|}}}}}
{{Infobox/row|Owner|{{{owner|}}}}}
{{Infobox/row|{{{location-type|Location}}}|{{{location}}}}}
{{Infobox/row|{{{location-type|Location}}}|{{{location}}}}}
}}</onlyinclude></includeonly><noinclude>[[Category:Infobox templates|building]]
}}
{{#if: {{{nocategory|}}}||[[Category:Buildings]]}}</onlyinclude></includeonly><noinclude>[[Category:Infobox templates|building]]
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 18:59, 15 December 2024

Documentation

Eggsampleum
Building
Location
Year of Construction4269 BC
BuilderEggsampler E. GG. jr.
OwnerEgg Sam Pler sr.
CountryEggsamplic peoples Egg of Eggsamplese

This is a template for building infoboxes. Most parameters are optional and the row will not appear if the parameter is empty or omitted. Feel free to add more parameters for stuff that people might want to put in a building infobox. The current parameters are:

name
Name of the building
image
Filename of an image of the building
image-label
Label under the image. Default is '''Building'''
map
Filename of the map
map-label
Label under the map. Default is '''Location'''
construction-year
Year of construction of the building
builder
Name of the person or organisation who built the building
owner
Name of the person or organisation who owns the building
location-type
Type of the location (e.g. country, city, continent, ...)
location
Location of the building