Difference between revisions of "Template:LocationInfobox"

From Cassette Beasts
(Created based on Template:SpeciesInfobox, feel free to change around style and structure)
 
(Change to use image map for New Wirral map)
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|[[File:New Wirral map - {{{map_image_name|{{{name}}}}}}.png|270px]]}}</td></tr>
+
<tr class="infobox-map"><td colspan="2">{{#spoiler:show=Show on map|hide=Hide map|{{NewWirralMap
 +
| location = {{{map_image_name|{{{name}}}}}}
 +
| image_size = 270px
 +
}}}}</td></tr>
 
</table>
 
</table>
 
</div>
 
</div>
 
</div>
 
</div>
</div>
+
</div><noinclude>
 +
{{-}}
 +
== Examples ==
 +
{{LocationInfobox
 +
|name=Harbourtown Beach
 +
|image=Harbourtown Beach.png
 +
}}
 +
</noinclude>

Revision as of 16:40, 11 May 2023

{{{name}}}
 
Unknown.png


Examples

Harbourtown Beach
 
Harbourtown Beach.png