no edit summary
No edit summary |
No edit summary |
||
(16 intermediate revisions by the same user not shown) | |||
Line 3:
<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"><label>Also known as:</label></data>
<group>
<header> About </header>
<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="telephone"><label>Telephone number:</label></data>
<data source="website"><label>Website:</label></data>
</group>
<group collapse="closed">
<header> History </header>
<data source="open"><label>Opened:</label></data>
Line 22 ⟶ 25:
<group>
<header> Location </header>
<data source="
<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"><label>Nearby:</label></data>
</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>
Use this code:
<pre>
Line 34 ⟶ 38:
|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
Line 52 ⟶ 61:
*what it does 2
|link = what's it related to?
|
|zoom =
|street = street name here
|town = Rothwell (only town allowed)
|village = Oulton/Robin Hood/Stourton etc.
|postcode = postcode here
|nearby = what's nearby?
Line 60 ⟶ 72:
{{Infobox place
|name = name of place here
|image = All Saints Church - Church Street, Woodlesford - geograph.org.uk - 841909.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
Line 79 ⟶ 96:
*what it does 2
|link = what's it related to?
|
|zoom =
|street = street name here
|town = Rothwell (only town allowed)
|village = Oulton/Robin Hood/Stourton etc.
|postcode = postcode here
|nearby = what's nearby?
Line 159 ⟶ 179:
"example": "Rothwell Pit for Rothwell Country Park and vice versa.",
"type": "string",
"suggested": true▼
},▼
"map": {▼
"label": "Map of the Place",▼
"type": "string",▼
"required": true,▼
"suggested": true
},
Line 188 ⟶ 201:
"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
},
"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"
}
},
Line 194 ⟶ 254:
"name",
"image",
"alt",
"caption",
"attribution",
"aka",
"category",
"heritage-cat",
"heritage-grade",
"times",
"telephone",
Line 203 ⟶ 268:
"purpose",
"link",
"
"street",
"postcode",
"nearby",
"zoom"
],
"format": "block"
|