User:Samu698/Sandbox/Template Map: Difference between revisions
Appearance
imported>Samu698 m . |
imported>Samu698 m . |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 39: | Line 39: | ||
<div class="maplocation" style="left:{{#if:{{{1|}}}|{{{1|}}}|0}}px;top:{{#if:{{{2|}}}|{{{2|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>{{#if:{{{loc2x|}}} | <div class="maplocation" style="left:{{#if:{{{loc2x|}}}|{{{loc2x|}}}|0}}px;top:{{#if:{{{loc2y|}}}|{{{loc2y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc3x|}}} | <div class="maplocation" style="left:{{#if:{{{loc3x|}}}|{{{loc3x|}}}|0}}px;top:{{#if:{{{loc3y|}}}|{{{loc3y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc4x|}}} | <div class="maplocation" style="left:{{#if:{{{loc4x|}}}|{{{loc4x|}}}|0}}px;top:{{#if:{{{loc4y|}}}|{{{loc4y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}[[File:Map{{#ifeq:{{{island|}}}|true|_with_Island|}}.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div></includeonly> | <div class="maplocation" style="left:{{#if:{{{1|}}}|{{{1|}}}|0}}px;top:{{#if:{{{2|}}}|{{{2|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>{{#if:{{{loc2x|}}} | <div class="maplocation" style="left:{{#if:{{{loc2x|}}}|{{{loc2x|}}}|0}}px;top:{{#if:{{{loc2y|}}}|{{{loc2y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc3x|}}} | <div class="maplocation" style="left:{{#if:{{{loc3x|}}}|{{{loc3x|}}}|0}}px;top:{{#if:{{{loc3y|}}}|{{{loc3y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}{{#if:{{{loc4x|}}} | <div class="maplocation" style="left:{{#if:{{{loc4x|}}}|{{{loc4x|}}}|0}}px;top:{{#if:{{{loc4y|}}}|{{{loc4y|}}}|0}}px;">[[File:Maplocation.png|20px|link=]]</div>|}}[[File:Map{{#ifeq:{{{island|}}}|true|_with_Island|}}.png|{{#if:{{{3|}}}|{{{3|}}}|400}}px|link=]]</div></includeonly> | ||
<noinclude> | <noinclude> | ||
Map template with clickable links | == Map template with clickable links == | ||
The CSS for this template can be found at [[User:Samu698/Sandbox/Template Map/styles.css]] | |||
TODO: disable links when size is less than 400 | |||
Normal map: {{User:samu698/Sandbox/Template_Map|100|100}} | Normal map: {{User:samu698/Sandbox/Template_Map|100|100}} | ||
Smaller map(no links): {{User:samu698/Sandbox/Template_Map|100|10|200}} | Smaller map(no links): {{User:samu698/Sandbox/Template_Map|100|10|200}} | ||
Latest revision as of 21:32, 28 June 2022
Map template with clickable links
The CSS for this template can be found at User:Samu698/Sandbox/Template Map/styles.css
TODO: disable links when size is less than 400
Normal map:
Smaller map(no links):
Map with 3 locations:
Map with Island:
