no edit summary
No edit summary |
No edit summary |
||
(11 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 source="attribution">
<data source="aka"><label>Also known as:</label></data>
<group>
Line 16:
<data source="website"><label>Website:</label></data>
</group>
<group collapse="closed">
<header> History </header>
<data source="open"><label>Opened:</label></data>
Line 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 37 ⟶ 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
Line 58 ⟶ 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 66 ⟶ 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
Line 88 ⟶ 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 168 ⟶ 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 200 ⟶ 204:
"caption": {
"label": "Caption",
"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",
"autovalue": "",
Line 217 ⟶ 221:
"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 223 ⟶ 254:
"name",
"image",
"alt",
"caption",
"attribution",
"aka",
"category",
Line 235 ⟶ 268:
"purpose",
"link",
"
"street",
"postcode",
"nearby",
"zoom"
],
"format": "block"
|