Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 194: Line 194:
</imagemap>
</imagemap>
}}
}}
{{#if:{{{2|{{{caption|}}}}}}|<div class="region-link">[[File:UI - Link.png|link={{{2|{{{caption|}}}}}}]]</div>}}
{{#if:{{{2|{{{link|}}}}}}|<div class="region-link">[[File:UI - Link.png|link={{{2|{{{link|}}}}}}]]</div>}}
</div>
</div>
}}
}}
}}
}}


{{#if:{{{2|{{{caption|}}}}}}
{{#ifeq:{{{3|{{{caption|}}}}}}|true
|<dfn>{{</dfn>
|<dfn>{{</dfn>
{| cellpadding="0" border-style=none; overflow=visible;
{| cellpadding="0" border-style=none; overflow=visible;
| {{#var:region}}
| {{#var:region}}
|-
|-
| style="transform: skew(-10deg); font-size:18px;" class="tone-8" | <div style="width=100%; padding:10px; text-align:center; transform: skew(10deg)">{{{2|{{{caption}}}|}}}</div>
| style="transform: skew(-10deg); font-size:18px;" class="tone-8" | <div style="width=100%; padding:10px; text-align:center; transform: skew(10deg)">'''{{{2|{{{link}}}|}}}'''</div>
|}<dfn>}}</dfn>
|}<dfn>}}</dfn>
|{{#var:region}}
|{{#var:region}}
Line 217: Line 217:
{{User:Ritsu/test|Ruben}}<br>
{{User:Ritsu/test|Ruben}}<br>
<code><nowiki>{{RegionMap|Special|'''Special Maps'''}}</nowiki></code> will return:
<code><nowiki>{{RegionMap|Special|'''Special Maps'''}}</nowiki></code> will return:
{{User:Ritsu/test|Special|'''Special Maps'''}}
{{User:Ritsu/test|Special|Special Maps}}
This template is maintained with the [http://maschek.hu/imagemap/imgmap/ Online Image Map Editor].</noinclude>
This template is maintained with the [http://maschek.hu/imagemap/imgmap/ Online Image Map Editor].</noinclude>

Revision as of 00:39, 5 July 2022

The RegionMap template will show an interactive map where all of the dungeon icons can be clicked on, linking to their respective pages. You can access the original file by clicking on the small ? icon that appears on the bottom right corner of the image.

Usage

{{regionmap|region=name|caption=text}} 

This is a very simple template. The only parameters are region, which can be replaced by any of the Elsword World's regions' names, and caption, which is completely optional and can be customized however you want. For example, {{RegionMap|Ruben}} will return:

ModeBase
Regular[Blood Moon's Dream]
NormalHeavyNormalHeavy
Per Picture FrameMaxPer Picture FrameMaxPer Picture FrameMaxPer Picture FrameMax
PvE6,222%37,332%8,959.68%53,758.08%7,466.4%74,664%10,751.62%107,516.16%
PvP2,363%14,178%3,402.72%20,416.32%2,599.3%25,993%3,742.99%37,429.92%


{{RegionMap|Special|'''Special Maps'''}} will return:

ModeBase
Regular[Blood Moon's Dream]
NormalHeavyNormalHeavy
Per Picture FrameMaxPer Picture FrameMaxPer Picture FrameMaxPer Picture FrameMax
PvE6,222%37,332%8,959.68%53,758.08%7,466.4%74,664%10,751.62%107,516.16%
PvP2,363%14,178%3,402.72%20,416.32%2,599.3%25,993%3,742.99%37,429.92%

This template is maintained with the Online Image Map Editor.