Difference between revisions of "Template:LocationInfobox"

From Cassette Beasts
(Change to use image map for New Wirral map)
(Add Funworld example)
 
(3 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
</div>
 
</div>
 
<div class="infobox-body">
 
<div class="infobox-body">
<div class="infobox-image"><center>[[File:{{{image|Unknown.png}}}|300px]]</center></div>
+
<div class="infobox-image"><center>[[File:{{{image|Unknown.png}}}|290px]]</center></div>
 
<div class="infobox-data">
 
<div class="infobox-data">
 
<table>
 
<table>
<tr class="infobox-map"><td colspan="2">{{#spoiler:show=Show on map|hide=Hide map|{{NewWirralMap
+
{{#if: {{{nomap|}}}||
 +
<tr class="infobox-map"><td colspan="2">{{#spoiler:show=Show on map|hide=Hide map|
 +
{{#ifeq:{{{brightside_pier|}}}|yes|{{BrightsidePierMap
 
| location = {{{map_image_name|{{{name}}}}}}
 
| location = {{{map_image_name|{{{name}}}}}}
| image_size = 270px
+
| image_size = 270px}}
}}}}</td></tr>
+
|{{NewWirralMap
 +
| location = {{{map_image_name|{{{name}}}}}}
 +
| image_size = 270px}}
 +
}}
 +
}}</td></tr>}}
 
</table>
 
</table>
 
</div>
 
</div>
Line 21: Line 27:
 
|name=Harbourtown Beach
 
|name=Harbourtown Beach
 
|image=Harbourtown Beach.png
 
|image=Harbourtown Beach.png
 +
}}
 +
{{LocationInfobox
 +
|name=Funworld
 +
|image=Funworld.png
 +
|brightside_pier=yes
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:18, 18 March 2024

{{{name}}}
 
Unknown.png


Examples

Harbourtown Beach
 
Harbourtown Beach.png
Funworld
 
Funworld.png