No edit summary Tags: Mobile edit Mobile web edit |
No edit summary |
||
(18 intermediate revisions by the same user not shown) | |||
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"></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> |
||
<header> About </header> |
<header> About </header> |
||
<data source="category"><label>Category:</label></data> |
<data source="category"><label>Category:</label></data> |
||
<data source="heritage-cat"><label>Heritage Category:</label></data> |
|||
<data source="heritage-grade"><label>Grade:</label></data> |
|||
<data source="times"><label>Hours:</label></data> |
<data source="times"><label>Hours:</label></data> |
||
<data source="telephone"><label>Telephone number:</label></data> |
<data source="telephone"><label>Telephone number:</label></data> |
||
<data source="website"><label>Website:</label></data> |
<data source="website"><label>Website:</label></data> |
||
</group> |
</group> |
||
<group> |
<group collapse="closed"> |
||
<header> History </header> |
<header> History </header> |
||
<data source="open"><label>Opened:</label></data> |
<data source="open"><label>Opened:</label></data> |
||
Line 21: | Line 25: | ||
<group> |
<group> |
||
<header> Location </header> |
<header> Location </header> |
||
<data source=" |
<data source="location"><format>{{#display_map:center={{{location}}}|zoom={{{zoom|no}}}|scrollwheelzoom=off|static=yes}}</format></data> |
||
<data source="street"><label>Street:</label></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="postcode"><label>Postcode:</label></data> |
||
<data source="nearby"><label>Nearby:</label></data> |
<data source="nearby"><label>Nearby:</label></data> |
||
</group> |
</group> |
||
</infobox>{{#if:{{{name|}}}|[[Category:{{{name}}}]]|}}{{#if:{{{image|}}}||[[Category:Infobox without image]]}}{{#if:{{{category|}}}|[[Category:{{{category}}}]]|}}{{#if:{{{heritage-cat|}}}|[[Category:{{{heritage-cat}}}]]|}}{{#if:{{{heritage-grade|}}}|[[Category:Grade {{{heritage-grade}}} listed building]]|}}{{#if:{{{street|}}}|[[Category:Places on {{{street}}}]]|}}{{#if:{{{town|}}}|[[Category:Places in {{{town}}}]]|}}{{#if:{{{village|}}}|[[Category:Places in {{{village}}}]]|}}{{#if:{{{postcode|}}}|[[Category:Places in {{{postcode}}}]]|}}</includeonly><noinclude> |
|||
</infobox> |
|||
</includeonly><noinclude> |
|||
Use this code: |
Use this code: |
||
<pre> |
<pre> |
||
Line 33: | Line 38: | ||
|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 |
|||
|attribution = attribution to image maker |
|||
|aka = |
|aka = |
||
* alternative name |
* alternative name |
||
* other name |
* other name |
||
|category = Restaurant/Park/Church/etc. |
|category = Restaurant/Park/Church/etc. |
||
|heritage-cat = Scheduled Monument/Listed |
|||
|heritage-grade = I/II*/II |
|||
|times = |
|times = |
||
*Monday - Friday: 9:00 - 20:00 |
*Monday - Friday: 9:00 - 20:00 |
||
Line 51: | Line 61: | ||
*what it does 2 |
*what it does 2 |
||
|link = what's it related to? |
|link = what's it related to? |
||
| |
|location = Rothwell Leeds |
||
|zoom = |
|||
|street = street name here |
|street = street name here |
||
|town = Rothwell (only town allowed) |
|||
|village = Oulton/Robin Hood/Stourton etc. |
|||
|postcode = postcode here |
|postcode = postcode here |
||
|nearby = what's nearby? |
|nearby = what's nearby? |
||
Line 59: | Line 72: | ||
{{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 |
|||
|attribution = attribution to image maker |
|||
|aka = |
|aka = |
||
* alternative name |
* alternative name |
||
* other name |
* other name |
||
|category = Restaurant/Park/Church/etc. |
|category = Restaurant/Park/Church/etc. |
||
|heritage-cat = Scheduled Monument/Listed |
|||
|heritage-grade = I/II*/II |
|||
|times = |
|times = |
||
*Monday - Friday: 9:00 - 20:00 |
*Monday - Friday: 9:00 - 20:00 |
||
Line 78: | Line 96: | ||
*what it does 2 |
*what it does 2 |
||
|link = what's it related to? |
|link = what's it related to? |
||
| |
|location = Rothwell Leeds |
||
|zoom = |
|||
|street = street name here |
|street = street name here |
||
|town = Rothwell (only town allowed) |
|||
|village = Oulton/Robin Hood/Stourton etc. |
|||
|postcode = postcode here |
|postcode = postcode here |
||
|nearby = what's nearby? |
|nearby = what's nearby? |
||
}}}< |
}}}<templatedata> |
||
{ |
|||
"params": { |
|||
"name": { |
|||
"label": "Name", |
|||
"description": "The name of the place.", |
|||
"example": "Rothwell Country Park, Blackburn Hall, Carlton, etc.", |
|||
"type": "string", |
|||
"default": "Page name", |
|||
"autovalue": "{{PAGENAME}}", |
|||
"required": true |
|||
}, |
|||
"aka": { |
|||
"label": "Also know as", |
|||
"description": "For other commonly used names of the place.", |
|||
"example": "Rothwell Urban District Offices, Rothwell One Stop Centre, Rothwell Area Office", |
|||
"type": "string", |
|||
"autovalue": "" |
|||
}, |
|||
"image": { |
|||
"label": "Image", |
|||
"description": "An image of the place.", |
|||
"example": "imagename.jpg imagename.png", |
|||
"type": "content", |
|||
"autovalue": "", |
|||
"suggested": true |
|||
}, |
|||
"category": { |
|||
"label": "Category", |
|||
"description": "The category of place it is.", |
|||
"example": "Park, Business, Office, Pub, etc.", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"times": { |
|||
"label": "Hours", |
|||
"description": "The open hours of the place. If all day, leave blank.", |
|||
"example": "7-10, 5-9", |
|||
"type": "string" |
|||
}, |
|||
"telephone": { |
|||
"label": "Telephone", |
|||
"description": "The telephone number for the place.", |
|||
"example": "[tel:07891277108 07891277108] (Park Ranger)", |
|||
"type": "string" |
|||
}, |
|||
"website": { |
|||
"label": "Website", |
|||
"description": "The website of the place.", |
|||
"example": "[https://www.ywt.org.uk/nature-reserves/rothwell-country-park Yorkshire Wildlife Trust]", |
|||
"type": "string" |
|||
}, |
|||
"open": { |
|||
"label": "First opened", |
|||
"description": "The date the place first opened.", |
|||
"example": "1st February 1999", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"closed": { |
|||
"label": "Date of Closure", |
|||
"description": "The date the place closed.", |
|||
"example": "17th February 2019", |
|||
"type": "string" |
|||
}, |
|||
"purpose": { |
|||
"label": "Purpose of the Place", |
|||
"description": "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.", |
|||
"type": "string" |
|||
}, |
|||
"link": { |
|||
"label": "Related to", |
|||
"description": "Other former or present places which are related to this place.", |
|||
"example": "Rothwell Pit for Rothwell Country Park and vice versa.", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"street": { |
|||
"label": "Street", |
|||
"description": "The street the place is on.", |
|||
"example": "Church Street", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"postcode": { |
|||
"label": "Postcode", |
|||
"description": "The postcode of the place.", |
|||
"example": "LS26 0NG", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"nearby": { |
|||
"label": "Nearby", |
|||
"description": "Other places near to this place.", |
|||
"example": "Morrisons for Allen's Newsagents and vice versa.", |
|||
"type": "string", |
|||
"suggested": true |
|||
}, |
|||
"caption": { |
|||
"label": "Caption", |
|||
"description": "A caption of the image.", |
|||
"example": "Fanny Pit in 1984.", |
|||
"type": "string", |
|||
"autovalue": "", |
|||
"suggested": true |
|||
}, |
|||
"heritage-cat": { |
|||
"label": "Heritage Category", |
|||
"description": "Only used if the building is listed or a scheduled monument", |
|||
"example": "Scheduled Monument or Listed", |
|||
"type": "string" |
|||
}, |
|||
"heritage-grade": { |
|||
"label": "Heritage Grade", |
|||
"description": "Only used if it is a listed building", |
|||
"example": "I or II* or II", |
|||
"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 |
|||
}, |
|||
"zoom": { |
|||
"label": "Zoom", |
|||
"description": "Map zoom - leave unless map looks funny", |
|||
"example": "16", |
|||
"default": "no" |
|||
} |
|||
}, |
|||
"description": "This infobox is for brief information about the place you are creating an article for.", |
|||
"paramOrder": [ |
|||
"name", |
|||
"image", |
|||
"alt", |
|||
"caption", |
|||
"attribution", |
|||
"aka", |
|||
"category", |
|||
"heritage-cat", |
|||
"heritage-grade", |
|||
"times", |
|||
"telephone", |
|||
"website", |
|||
"open", |
|||
"closed", |
|||
"purpose", |
|||
"link", |
|||
"location", |
|||
"street", |
|||
"postcode", |
|||
"nearby", |
|||
"zoom" |
|||
], |
|||
"format": "block" |
|||
} |
|||
</templatedata></noinclude> |
Latest revision as of 16:43, 30 June 2024
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 |town = Rothwell (only town allowed) |village = Oulton/Robin Hood/Stourton etc. |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 |