More actions
Content deleted Content added
No edit summary |
No edit summary |
||
(14 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="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 22: | 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 34: | 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 |
|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 53: | 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 61: | 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 |
|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 81: | 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? |
||
Line 161: | Line 179: | ||
"example": "Rothwell Pit for Rothwell Country Park and vice versa.", |
"example": "Rothwell Pit for Rothwell Country Park and vice versa.", |
||
"type": "string", |
"type": "string", |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
"example": "{{#display_map:center=Rothwell Country Park}}", |
|||
⚫ | |||
⚫ | |||
"suggested": true |
"suggested": true |
||
}, |
}, |
||
Line 193: | Line 204: | ||
"caption": { |
"caption": { |
||
"label": "Caption", |
"label": "Caption", |
||
"description": "A caption of the image |
"description": "A caption of the image.", |
||
"example": "Fanny Pit in 1984.", |
|||
⚫ | |||
"type": "string", |
"type": "string", |
||
"autovalue": "", |
"autovalue": "", |
||
"suggested": true |
"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": { |
|||
⚫ | |||
"description": "The name or coordinates of the place", |
|||
"example": "Rothwell Leeds or 53.75808, -1.44646", |
|||
⚫ | |||
⚫ | |||
⚫ | |||
}, |
|||
⚫ | |||
"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", |
|||
⚫ | |||
"suggested": true |
|||
}, |
|||
"zoom": { |
|||
"label": "Zoom", |
|||
"description": "Map zoom - leave unless map looks funny", |
|||
"example": "16", |
|||
"default": "no" |
|||
} |
} |
||
}, |
}, |
||
Line 204: | Line 254: | ||
"name", |
"name", |
||
"image", |
"image", |
||
"alt", |
|||
"caption", |
"caption", |
||
"attribution", |
|||
"aka", |
"aka", |
||
"category", |
"category", |
||
"heritage-cat", |
|||
"heritage-grade", |
|||
"times", |
"times", |
||
"telephone", |
"telephone", |
||
Line 214: | Line 268: | ||
"purpose", |
"purpose", |
||
"link", |
"link", |
||
" |
"location", |
||
"street", |
"street", |
||
"postcode", |
"postcode", |
||
"nearby" |
"nearby", |
||
"zoom" |
|||
], |
], |
||
"format": "block" |
"format": "block" |