Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox place: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
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="location"><label>Map:</label><format>{{#display_map:center={{{location}}}|zoom={{{zoom|no}}}|scrollwheelzoom= off|static=yes}}</format></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="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>
</infobox>
</includeonly><noinclude>
Use this code:
<pre>
Line 61 ⟶ 62:
|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?
Line 93 ⟶ 97:
|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?
Line 235 ⟶ 242:
"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 258 ⟶ 271:
"street",
"postcode",
"nearby",
"zoom"
],
"format": "block"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.