Category
![]() |
You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser | ![]() |
Difference between revisions of "Template:Minimap"
From FreewarWiki
(Blanked the page) |
(-) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <!-- Variablen-Setup | ||
+ | Abstand Unterkante Felseninsel/Unterkante Belpharia-Inseln sind 12 Felder; *Height* entsprechend angepasst | ||
+ | -->{{MapsMetaData|}}<!-- | ||
+ | -->{{#vardefine:prefix|{{#var:prefix{{{Area}}}}}}}<!-- | ||
+ | /* Start of the Code */ | ||
+ | |||
+ | --> | ||
+ | <div class="minimap" style="position:relative; padding:1px; width:{{#expr:({{#var:belphariaOffsetX}} + {{#var:belphariaWidth}} + 3) * {{{Size|5}}}}}px; height:{{#expr:({{#var:belphariaOffsetY}} + {{#var:belphariaHeight}} + 3) * {{{Size|5}}}}}px; overflow:visible;"> | ||
+ | <div style="position:absolute; left:{{#expr:{{#var:OffsetX}} * {{{Size|5}}}}}px; top:{{#expr:{{#var:OffsetY}} * {{{Size|5}}}}}px;">[[Image:{{{Image|Gesamtkarte Kontinent (automatisch generiert).jpg}}}|{{#expr:({{#var:Width}} + 3) * {{{Size|5}}}}}px]]<div style="position:absolute; left:0; top:0; right:0; bottom:0;"></div></div> | ||
+ | |||
+ | <div style="position:absolute; left:{{#expr:{{#var:narubiaOffsetX}} * {{{Size|5}}}}}px; top:{{#expr:{{#var:narubiaOffsetY}} * {{{Size|5}}}}}px;">[[Image:{{{narubiaImage|Map Narubia (automatically generated).jpg}}}|{{#expr:({{#var:narubiaWidth}} + 3) * {{{Size|5}}}}}px]]<div style="position:absolute; left:0; top:0; right:0; bottom:0;"></div></div> | ||
+ | |||
+ | <div style="position:absolute; left:{{#expr:{{#var:itolosOffsetX}} * {{{Size|5}}}}}px; top:{{#expr:{{#var:itolosOffsetY}} * {{{Size|5}}}}}px;">[[Image:{{{itolosImage|Map Itolos (automatically generated).jpg}}}|{{#expr:({{#var:itolosWidth}} + 3) * {{{Size|5}}}}}px]]<div style="position:absolute; left:0; top:0; right:0; bottom:0;"></div></div> | ||
+ | |||
+ | <div style="position:absolute; left:{{#expr:{{#var:frozenislandOffsetX}} * {{{Size|5}}}}}px; top:{{#expr:{{#var:frozenislandOffsetY}} * {{{Size|5}}}}}px;">[[Image:{{{frozenislandImage|Map Frozen Island (automatically generated).jpg}}}|{{#expr:({{#var:frozenislandWidth}} + 3) * {{{Size|5}}}}}px]]<div style="position:absolute; left:0; top:0; right:0; bottom:0;"></div></div> | ||
+ | |||
+ | <div style="position:absolute; left:{{#expr:{{#var:belphariaOffsetX}} * {{{Size|5}}}}}px; top:{{#expr:{{#var:belphariaOffsetY}} * {{{Size|5}}}}}px;">[[Image:{{{belphariaImage|Map Belpharia Islands (automatically generated).jpg}}}|{{#expr:({{#var:belphariaWidth}} + 3) * {{{Size|5}}}}}px]]<div style="position:absolute; left:0; top:0; right:0; bottom:0;"></div></div> | ||
+ | |||
+ | <div style="position:absolute; left:{{#expr:{{#var:darkfrostislandOffsetX}} * {{{Size|5}}}}}px; top:{{#expr:{{#var:darkfrostislandOffsetY}} * {{{Size|5}}}}}px;">[[Image:{{{darkfrostislandImage|Map Darkfrost Island (automatically generated).jpg}}}|{{#expr:({{#var:darkfrostislandWidth}} + 3) * {{{Size|5}}}}}px]]<div style="position:absolute; left:0; top:0; right:0; bottom:0;"></div></div> | ||
+ | |||
+ | {{{1}}} | ||
+ | </div><noinclude>{{Documentation}} | ||
+ | |||
+ | [[Category:Map templates|{{PAGENAME}}]] | ||
+ | |||
+ | [[de:Vorlage:Minimap]] | ||
+ | </noinclude> |
Latest revision as of 04:01, 9 April 2018
[Edit] Documentation
This template creates a minimap of Freewar, combining several image files into a single image.
Usage
This template can be include with {{Minimap|"1"|"Area"|"Size"|"Image"|"itolosImage"|"frozenislandImage"|"belphariaImage"}}.
Parameter
- 1: Optional placeholder for own additions.
- Area: Specifies an optional prefix for an area.
- Size: Sets an alternative size, by default 5px.
- Image: Specifies an alternate image file for the main continent of Freewar.
- itolosImage: Sets an alternative image file for the area Itolos.
- frozenislandImage: Sets an alternative image file for the area Frozen Island.
- belphariaImage: Sets an alternative image file for the area Belpharia.