No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
<group> |
<group> |
||
<header> Location </header> |
<header> Location </header> |
||
<data source="location"><label>Map:</label><format>{{#display_map:center={{{location}}}|scrollwheelzoom= off}}</format></data> |
<data source="location"><label>Map:</label><format>{{#display_map:center={{{location}}}|zoom={{{zoom|no}}}|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 61: | Line 61: | ||
|link = what's it related to? |
|link = what's it related to? |
||
|location = Rothwell Leeds |
|location = Rothwell Leeds |
||
|zoom = |
|||
|street = street name here |
|street = street name here |
||
|postcode = postcode here |
|postcode = postcode here |
||
Line 93: | Line 94: | ||
|link = what's it related to? |
|link = what's it related to? |
||
|location = Rothwell Leeds |
|location = Rothwell Leeds |
||
|zoom = |
|||
|street = street name here |
|street = street name here |
||
|postcode = postcode here |
|postcode = postcode here |
||
Line 235: | Line 237: | ||
"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])", |
"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 |
"suggested": true |
||
}, |
|||
"zoom": { |
|||
"label": "Zoom", |
|||
"description": "Map zoom - leave unless map looks funny", |
|||
"example": "16", |
|||
"default": "no" |
|||
} |
} |
||
}, |
}, |
||
Line 258: | Line 266: | ||
"street", |
"street", |
||
"postcode", |
"postcode", |
||
"nearby" |
"nearby", |
||
"zoom" |
|||
], |
], |
||
"format": "block" |
"format": "block" |
Revision as of 16:10, 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 |zoom = |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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the place.
| String | required |
Image | image | An image of the place.
| Content | suggested |
Alternative Text | alt | Alternative text for the image
| String | suggested |
Caption | caption | A caption of the image.
| String | suggested |
Attribution | attribution | Attribution of the image's copyright owner
| Unknown | suggested |
Also know as | aka | For other commonly used names of the place.
| String | optional |
Category | category | The category of place it is.
| String | suggested |
Heritage Category | heritage-cat | Only used if the building is listed or a scheduled monument
| String | optional |
Heritage Grade | heritage-grade | Only used if it is a listed building
| String | optional |
Hours | times | The open hours of the place. If all day, leave blank.
| String | optional |
Telephone | telephone | The telephone number for the place.
| String | optional |
Website | website | The website of the place.
| String | optional |
First opened | open | The date the place first opened.
| String | suggested |
Date of Closure | closed | The date the place closed.
| String | optional |
Purpose of the Place | purpose | What the place was used for or created for. If the purpose is clear, leave blank.
| String | optional |
Related to | link | Other former or present places which are related to this place.
| String | suggested |
Map of the Place | location | The name or coordinates of the place
| String | required |
Street | street | The street the place is on.
| String | suggested |
Postcode | postcode | The postcode of the place.
| String | suggested |
Nearby | nearby | Other places near to this place.
| String | suggested |
Zoom | zoom | Map zoom - leave unless map looks funny
| Unknown | optional |