Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#vardefine: region |{{#if:{{{1|{{{region|}}}}}}|<div class="region-map"><div class="region-link">[[File:UI - Link.png|link={{{2|{{{caption|}}}}}}]]</div>{{#switch: {{{1|{{{region|}}}}}}
<includeonly>{{#vardefine: region |{{#if:{{{1|{{{region|}}}}}}|<div class="region-map">{{#switch: {{{1|{{{region|}}}}}}
  | Ruben =
  | Ruben =
<imagemap>File:RubenMap.png|572px|
<imagemap>File:RubenMap.png|572px|
Line 194: Line 194:
</imagemap>
</imagemap>
}}
}}
<div class="region-link">[[File:UI - Link.png|link={{{2|{{{caption|}}}}}}]]</div>
</div>
</div>
}}
}}
Line 214: Line 215:


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, <code><nowiki>{{RegionMap|Ruben}}</nowiki></code> will return:
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, <code><nowiki>{{RegionMap|Ruben}}</nowiki></code> will return:
{{RegionMap|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:
{{RegionMap|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:31, 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:

xx
x
Bank Share
x
Sealing Possible
x
Other Limitations
x
Additional Effects
x
Set
x
Rarity
x
Item Type
x
Level Requirement
x
Item Level
x
Reselling Price
x
Trading
x


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

xx
x
Bank Share
x
Sealing Possible
x
Other Limitations
x
Additional Effects
x
Set
x
Rarity
x
Item Type
x
Level Requirement
x
Item Level
x
Reselling Price
x
Trading
x

This template is maintained with the Online Image Map Editor.