Difference between revisions of "Template:LocationInfobox"

From Cassette Beasts
(Created based on Template:SpeciesInfobox, feel free to change around style and structure)
 
(Add Funworld example)
 
(4 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|[[File:New Wirral map - {{{map_image_name|{{{name}}}}}}.png|270px]]}}</td></tr>
+
{{#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}}}}}}
 +
| image_size = 270px}}
 +
|{{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
 +
}}
 +
{{LocationInfobox
 +
|name=Funworld
 +
|image=Funworld.png
 +
|brightside_pier=yes
 +
}}
 +
</noinclude>

Latest revision as of 11:18, 18 March 2024

{{{name}}}
 
Unknown.png


Examples

Harbourtown Beach
 
Harbourtown Beach.png
Funworld
 
Funworld.png