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

Template:Infobox place: Difference between revisions

Template page
Content added Content deleted
No edit summary
No edit summary
Line 3: Line 3:
<infobox layout="stacked">
<infobox layout="stacked">
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image"/>
<image source="image"><alt source="alt"></alt></image>
<data source="caption">'''<center></center>'''</data>
<data source="caption"></data>
<data source="attribution">''<center></center>''</data>
<data source="attribution"></data>
<data source="aka"><label>Also known as:</label></data>
<data source="aka"><label>Also known as:</label></data>
<group>
<group>
Line 25: Line 25:
<group>
<group>
<header> Location </header>
<header> Location </header>
<data source="map"><label>Map:</label></data>
<data source="location"><label>Map:</label><format>{{#display_map:center={{{location}}}|scrollwheelzoom= off}}</format></data>
<data source="street"><label>Street:</label></data>
<data source="street"><label>Street:</label></data>
<data source="postcode"><label>Postcode:</label></data>
<data source="postcode"><label>Postcode:</label></data>
Line 37: Line 37:
|name = name of place here
|name = name of place here
|image = image here.jpg
|image = image here.jpg
|alt = alt text
|caption = caption of image
|caption = caption of image
|attribution = attribution to image maker
|attribution = attribution to image maker
Line 59: Line 60:
*what it does 2
*what it does 2
|link = what's it related to?
|link = what's it related to?
|map = {{#display_map:center=Rothwell Leeds}}
|location = Rothwell Leeds
|street = street name here
|street = street name here
|postcode = postcode here
|postcode = postcode here
Line 67: Line 68:
{{Infobox place
{{Infobox place
|name = name of place here
|name = name of place here
|image = All Saints Church - Church Street, Woodlesford - geograph.org.uk - 841909.jpg
|image = image here.jpg
|alt = alt text
|caption = caption of image
|caption = caption of image
|attribution = attribution to image maker
|attribution = attribution to image maker
Line 90: Line 92:
*what it does 2
*what it does 2
|link = what's it related to?
|link = what's it related to?
|map = {{#display_map:center=Rothwell Leeds}}
|location = Rothwell Leeds
|street = street name here
|street = street name here
|postcode = postcode here
|postcode = postcode here
Line 170: Line 172:
"example": "Rothwell Pit for Rothwell Country Park and vice versa.",
"example": "Rothwell Pit for Rothwell Country Park and vice versa.",
"type": "string",
"type": "string",
"suggested": true
},
"map": {
"label": "Map of the Place",
"example": "{{#display_map:center=Rothwell Country Park}}",
"type": "string",
"required": true,
"suggested": true
"suggested": true
},
},
Line 202: Line 197:
"caption": {
"caption": {
"label": "Caption",
"label": "Caption",
"description": "A caption of the image, with attribution to the copyright holder.",
"description": "A caption of the image.",
"example": "Fanny Pit in 1984.",
"example": "[https://www.geograph.org.uk/photo/1383019 Photo] © [https://www.geograph.org.uk/profile/27348 Mike Kirby] ([https://creativecommons.org/licenses/by-sa/2.0/ cc-by-sa/2.0])",
"type": "string",
"type": "string",
"autovalue": "",
"autovalue": "",
Line 219: Line 214:
"example": "I or II* or II",
"example": "I or II* or II",
"type": "string"
"type": "string"
},
"location": {
"label": "Map of the Place",
"description": "The name or coordinates of the place",
"example": "Rothwell Leeds or 53.75808, -1.44646",
"type": "string",
"required": true,
"suggested": true
},
"alt": {
"label": "Alternative Text",
"description": "Alternative text for the image",
"example": "An image of mining buildings at Fanny Pit in 1984.",
"type": "string",
"suggested": true
},
"attribution": {
"label": "Attribution",
"description": "Attribution of the image's copyright owner",
"example": "[https://www.geograph.org.uk/photo/1383019 Photo] © [https://www.geograph.org.uk/profile/27348 Mike Kirby] ([https://creativecommons.org/licenses/by-sa/2.0/ cc-by-sa/2.0])",
"suggested": true
}
}
},
},
Line 225: Line 241:
"name",
"name",
"image",
"image",
"alt",
"caption",
"caption",
"attribution",
"aka",
"aka",
"category",
"category",
Line 237: Line 255:
"purpose",
"purpose",
"link",
"link",
"map",
"location",
"street",
"street",
"postcode",
"postcode",

Revision as of 15:31, 2 February 2023

Use this code:

{{Infobox place
|name = name of place here
|image = image here.jpg
|alt = alt text
|caption = caption of image
|attribution = attribution to image maker
|aka = 
* alternative name
* other name
|category = Restaurant/Park/Church/etc.
|heritage-cat = Scheduled Monument/Listed
|heritage-grade = I/II*/II
|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
|open = date here
|closed = date here
|purpose = 
*what it does 1
*what it does 2
|link = what's it related to?
|location = Rothwell Leeds
|street = street name here
|postcode = postcode here
|nearby = what's nearby?
}}

to produce this:

}

This infobox is for brief information about the place you are creating an article for.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the place.

Default
Page name
Example
Rothwell Country Park, Blackburn Hall, Carlton, etc.
Auto value
{{PAGENAME}}
Stringrequired
Imageimage

An image of the place.

Example
imagename.jpg imagename.png
Auto value
Contentsuggested
Alternative Textalt

Alternative text for the image

Example
An image of mining buildings at Fanny Pit in 1984.
Stringsuggested
Captioncaption

A caption of the image.

Example
Fanny Pit in 1984.
Auto value
Stringsuggested
Attributionattribution

Attribution of the image's copyright owner

Example
[https://www.geograph.org.uk/photo/1383019 Photo] © [https://www.geograph.org.uk/profile/27348 Mike Kirby] ([https://creativecommons.org/licenses/by-sa/2.0/ cc-by-sa/2.0])
Unknownsuggested
Also know asaka

For other commonly used names of the place.

Example
Rothwell Urban District Offices, Rothwell One Stop Centre, Rothwell Area Office
Auto value
Stringoptional
Categorycategory

The category of place it is.

Example
Park, Business, Office, Pub, etc.
Stringsuggested
Heritage Categoryheritage-cat

Only used if the building is listed or a scheduled monument

Example
Scheduled Monument or Listed
Stringoptional
Heritage Gradeheritage-grade

Only used if it is a listed building

Example
I or II* or II
Stringoptional
Hourstimes

The open hours of the place. If all day, leave blank.

Example
7-10, 5-9
Stringoptional
Telephonetelephone

The telephone number for the place.

Example
[tel:07891277108 07891277108] (Park Ranger)
Stringoptional
Websitewebsite

The website of the place.

Example
[https://www.ywt.org.uk/nature-reserves/rothwell-country-park Yorkshire Wildlife Trust]
Stringoptional
First openedopen

The date the place first opened.

Example
1st February 1999
Stringsuggested
Date of Closureclosed

The date the place closed.

Example
17th February 2019
Stringoptional
Purpose of the Placepurpose

What the place was used for or created for. If the purpose is clear, leave blank.

Example
To house the offices of the Rothwell Urban District.
Stringoptional
Related tolink

Other former or present places which are related to this place.

Example
Rothwell Pit for Rothwell Country Park and vice versa.
Stringsuggested
Map of the Placelocation

The name or coordinates of the place

Example
Rothwell Leeds or 53.75808, -1.44646
Stringrequired
Streetstreet

The street the place is on.

Example
Church Street
Stringsuggested
Postcodepostcode

The postcode of the place.

Example
LS26 0NG
Stringsuggested
Nearbynearby

Other places near to this place.

Example
Morrisons for Allen's Newsagents and vice versa.
Stringsuggested
Cookies help us deliver our services. By using our services, you agree to our use of cookies.