Template:RitsuTest: Difference between revisions

From Elwiki
No edit summary
No edit summary
Line 195: Line 195:
}}
}}
{{#if:{{{2|{{{link|}}}}}}|<div class="region-link">[[File:UI - Link.png|link={{{2|{{{link|}}}}}}]]</div>
{{#if:{{{2|{{{link|}}}}}}|<div class="region-link">[[File:UI - Link.png|link={{{2|{{{link|}}}}}}]]</div>
}}</div>
}}
}}
}}{{#ifeq:{{{3|{{{caption|}}}}}}|true
|<dfn>{{</dfn>
{| cellpadding="0" border-style=none; overflow=visible;
| {{#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|{{{link}}}|}}}'''</div>
|}<dfn>}}</dfn>
|{{#var:region}}
}}
}}
</div>
}}
<div class="region-map-wrap">
{{#var:region}}
{{#ifeq:{{{3|{{{caption|}}}}}}|true
|<div style="transform: skew(-10deg); font-size:18px;" class="tone-8"><div style="padding:10px; text-align:center; transform: skew(10deg)">'''{{{2|{{{link}}}|}}}'''</div></div>
}}
</div>
</includeonly>
</includeonly>
<noinclude>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.
<noinclude>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.
Line 214: Line 213:
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:
{{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}}
<code><nowiki>{{RegionMap|Special|Special Maps|true}}</nowiki></code> will return:
{{User:Ritsu/test|Special|Special Maps|true}}
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:55, 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

{{RegionMap|Special|Special Maps|true}} 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.