Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Building: Difference between revisions

Template page
Content added Content deleted
No edit summary
Tags: Mobile edit Mobile web edit
 
No edit summary
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<pre>
{{#template_params:image (namespace=File)|alt|caption|attribution|aka (label=Also known as)|status (label=Status)|building type (label=Building type)|heritage category (label=Heritage category)|heritage grade (label=Heritage grade)}}
{{Building
{{#cargo_declare:_table=Building|image=File|alt=Wikitext|caption=Text|attribution=Wikitext|aka=List (,) of String|status=String|building_type=String|heritage_category=String (allowed values=Scheduled Monument,Listed)|heritage_grade=String (allowed values=I,II*,II)}}
|short description =
</noinclude><includeonly>{{#cargo_store:_table=Building}}
|long description =
{{#template_display:_format=infobox}}
|image = image here.jpg
[[Category:Building]]
|alt = alt text
</includeonly>
|caption = caption of image
|attribution = attribution to image maker
|aka =
* alternative name
* other name
|status = Opened/Closed/Demolished
|building type = House/Church/School
|heritage category = Scheduled Monument/Listed
|heritage grade = I/II*/II
|architecture = style name
|current tenants = name of tenants
|times =
*Monday Friday: 9:00 - 20:00
*Saturday: 9:00 - 22:00
*Sunday: 11:00 - 16:00
|telephone = telephone number here
|website =
*facebook page
*another website
|link = Name of relevant place
|previous = Name of previous building
|years built = Century built
|groundbreaking = Date of groundbreaking
|construction start = Date of start of construction
|construction finish = Date of end of construction
|topped out = Date topped-out
|completed = Date building was completed
|open = date here
|inaugurated = Date inaugurated
|renovation date = Date of renovation
|renovation nature = Nature of renovation
|closed = date here
|demolished = Date demolished
|cost = Cost of building
|renovation cost = Cost of renovation
|client = Name of client
|owner = Name of owner
|previous tenants = Name of previous tenants
|purpose =
*what it does 1
*what it does 2
|material = Material of building
|size = Size of building
|floor count = Number of floors
|floor area = Area of floors
|grounds area = Area of grounds
|architect = Name of architect
|architect firm = Name of architect firm
|developer = Name of developer
|engineer = Name of engineer
|designer = Name of other designers
|contractor = Name of contractor(s)
|location = Rothwell Leeds
|street = street name here
|town = Rothwell (only town allowed)
|village = Oulton/Robin Hood/Stourton etc.
|postcode = postcode here
|nearby = what's nearby?
|facilities = what facilities there are at the building
|parking = where the parking is
|public transport = where the public transport is
|disabled access = what the disabled access is
|map icon =
}}
</pre>
{{#cargo_declare:_table=Building
|aka=List (,) of String
|short_description=Wikitext
|long_description=Wikitext
|image=File
|status=String
|building_type=String (hierarchy;allowed values={{Building type values}})
|open=Date
|closed=Date
|demolished=Date
|heritage_category=String (allowed values=Scheduled Monument,Listed)
|heritage_grade=String (allowed values=I,II*,II)
|architecture=String
|current_tenants=List (,) of String
|previous=List (,) of String
|years_built=String (allowed values=11th century,12th century,13th century,14th century,15th century,16th century,17th century,18th century,19th century,20th century,21st century)
|groundbreaking=Date
|construction_start=Start date
|construction_finish=End date
|topped_out=Date
|completed=Date
|inaugurated=Date
|renovation_date=List (,) of Date
|renovation_nature=List (,) of Text
|cost=String
|renovation_cost=List (,) of String
|client=String
|owner=String
|landlord=String
|previous_tenants=List (,) of String
|contractor=List (,) of String
|location=Coordinates
|street=String
|town=Page (allowed values=Rothwell)
|village=Page (allowed values=Carlton,Lofthouse,Oulton,Robin Hood,Stourton,Thorpe-on-the-Hill,Woodlesford)
|postcode=String
|nearby=List (,) of Page
|map_icon=String
}}
</noinclude>
<includeonly>{{#cargo_store:_table=Building}}
<templatestyles src="Template:Infobox place/infobox.css" />
{{{short description}}}
<infobox layout="stacked">
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image"><alt source="alt"></alt></image>
<data source="caption"></data>
<data source="attribution"></data>
<data source="aka"><format>{{#arraymap:{{{aka|}}}|,|x|*x|\n}}</format><label>Also known as:</label></data>
<group>
<header> About </header>
<data source="status"><label>Status:</label></data>
<data source="building type"><label>Building type:</label></data>
<data source="heritage category"><label>Heritage category:</label></data>
<data source="heritage grade"><label>Grade:</label></data>
<data source="architecture"><label>Architectural style:</label></data>
<data source="current tenants"><format>{{#arraymap:{{{current tenants|}}}|,|x|*x|\n}}</format><label>Current tenants:</label></data>
<data source="times"><format>{{#arraymap:{{{times|}}}|,|x|*x|\n}}</format><label>Hours:</label></data>
<data source="telephone"><label>Telephone number:</label></data>
<data source="website"><label>Website:</label></data>
<data source="link"><format>{{#arraymap:{{{link|}}}|,|x|*[[x]]|\n}}</format><label>Related to:</label></data>
</group>
<group collapse="closed">
<header> History </header>
<data source="previous"><format>{{#arraymap:{{{previous|}}}|,|x|*x|\n}}</format><label>Previous building:</label></data>
<data source="years built"><label>Century built:</label></data>
<data source="groundbreaking"><format>{{Form date|date={{{groundbreaking}}}}}</format><label>Groundbreaking date:</label></data>
<data source="construction start"><label>Construction started:</label></data>
<data source="construction finish"><label>Construction finished:</label></data>
<data source="topped out"><label>Topped-out:</label></data>
<data source="completed"><format>{{Form date|date={{{completed}}}}}</format><label>Completed:</label></data>
<data source="open"><format>{{Form date|date={{{open}}}}}
</format><label>Opened:</label></data>
<data source="inaugurated"><format>{{Form date|date={{{inaugurated}}}}}</format><label>Inaugurated:</label></data>
<data source="renovation date"><format>{{#arraymap:{{{renovation date|}}}|,|x|*x|\n}}</format><label>Renovation date(s):</label></data>
<data source="renovation nature"><format>{{#arraymap:{{{renovation nature|}}}|,|x|*x|\n}}</format><label>Nature of renovation(s):</label></data>
<data source="closed"><format>{{Form date|date={{{closed}}}}}</format><label>Closed:</label></data>
<data source="demolished"><format>{{Form date|date={{{demolished}}}}}</format><label>Demolished:</label></data>
<data source="cost"><label>Cost:</label></data>
<data source="renovation cost"><format>{{#arraymap:{{{renovation cost|}}}|,|x|*x|\n}}</format><label>Renovation cost(s):</label></data>
<data source="client"><label>Client:</label></data>
<data source="owner"><label>Owner:</label><format>{{#arraymap:{{{owner|}}}|,|x|*x|\n}}</format></data>
<data source="landlord"><label>Landlord:</label></data>
<data source="previous tenants"><format>{{#arraymap:{{{previous tenants|}}}|,|x|*x|\n}}</format><label>Previous tenant(s):</label></data>
<data source="purpose"><label>Purpose:</label></data>
</group>
<group collapse="closed">
<header> Technical Details </header>
<data source="material"><label>Material:</label></data>
<data source="size"><label>Size:</label></data>
<data source="floor count"><label>Floor count:</label></data>
<data source="floor area"><label>Floor area:</label></data>
<data source="grounds area"><label>Grounds area:</label></data>
</group>
<group collapse="closed">
<header> Design and Construction </header>
<data source="architect"><format>{{#arraymap:{{{architect|}}}|,|x|*x|\n}}</format><label>Architect(s):</label></data>
<data source="architect firm"><label>Architecture-firm:</label></data>
<data source="developer"><label>Developer:</label></data>
<data source="engineer"><label>Engineer:</label></data>
<data source="designer"><label>Other designer(s):</label></data>
<data source="contractor"><format>{{#arraymap:{{{contractor|}}}|,|x|*x|\n}}</format><label>Contractor(s):</label></data>
</group>
<group>
<header> Location </header>
<data source="location"><format>{{#display_map:center={{{location}}}|zoom=18|scrollwheelzoom= off|static=yes}}</format></data>
<data source="street"><label>Street:</label></data>
<data source="town"><label>Town:</label></data>
<data source="village"><label>Village:</label></data>
<data source="postcode"><label>Postcode:</label></data>
<data source="nearby"><format>{{#arraymap:{{{nearby|}}}|,|x|[[x]]|}}</format><label>Nearby:</label></data>
</group>
<group collapse="closed">
<header> Other Information </header>
<data source="facilities"><label>Facilities:</label></data>
<data source="parking"><label>Parking:</label></data>
<data source="public transport"><label>Public transport access:</label></data>
<data source="disabled access"><label>Disabled access:</label></data>
</group>
</infobox>{{#if: {{{long description|}}} | {{{long description}}} | &nbsp; }}</includeonly>

Latest revision as of 16:40, 30 June 2024

{{Building
|short description =
|long description =
|image = image here.jpg
|alt = alt text
|caption = caption of image
|attribution = attribution to image maker
|aka = 
* alternative name
* other name
|status = Opened/Closed/Demolished
|building type = House/Church/School
|heritage category = Scheduled Monument/Listed
|heritage grade = I/II*/II
|architecture = style name
|current tenants = name of tenants
|times =
*Monday   Friday: 9:00 - 20:00
*Saturday: 9:00 - 22:00
*Sunday: 11:00 - 16:00
|telephone = telephone number here
|website =
*facebook page
*another website
|link = Name of relevant place
|previous = Name of previous building
|years built = Century built
|groundbreaking = Date of groundbreaking
|construction start = Date of start of construction
|construction finish = Date of end of construction
|topped out = Date topped-out
|completed = Date building was completed
|open = date here
|inaugurated = Date inaugurated
|renovation date = Date of renovation
|renovation nature = Nature of renovation
|closed = date here
|demolished = Date demolished
|cost = Cost of building
|renovation cost = Cost of renovation
|client = Name of client
|owner = Name of owner
|previous tenants = Name of previous tenants
|purpose = 
*what it does 1
*what it does 2
|material = Material of building
|size = Size of building
|floor count = Number of floors
|floor area = Area of floors
|grounds area = Area of grounds
|architect = Name of architect
|architect firm = Name of architect firm
|developer = Name of developer
|engineer = Name of engineer
|designer = Name of other designers
|contractor = Name of contractor(s)
|location = Rothwell Leeds
|street = street name here
|town = Rothwell (only town allowed)
|village = Oulton/Robin Hood/Stourton etc.
|postcode = postcode here
|nearby = what's nearby?
|facilities = what facilities there are at the building
|parking = where the parking is
|public transport = where the public transport is
|disabled access = what the disabled access is
|map icon =
}}

This template defines the table "Building". View table.


Cookies help us deliver our services. By using our services, you agree to our use of cookies.