Difference between revisions of "Template:LocationInfobox"

From Cassette Beasts
(Adjust image size so that they stay centered)
(Add Funworld example)
 
(2 intermediate revisions by 2 users not shown)
Line 8: Line 8:
 
<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