Template:LocationInfobox: Difference between revisions
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}}}| | <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| | {{#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> | |||



