Template:AreaSection: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 27: Line 27:
}}<!--
}}<!--


--><div style="margin: 2em 0 -1em;"><span style="font-size: 1.5rem; font-family: 'Idleon';">[[#{{#invoke:String|replace|{{{WorldImage}}}|.png|}}|^ ]]</span><h3 style="display: inline;">{{{ID}}} - {{{Area}}}</h3></div>
--><div style="margin: 2em 0 -1em;" id="{{{Area}}}"><span style="font-size: 1.5rem; font-family: 'Idleon';">[[#{{#invoke:String|replace|{{{WorldImage}}}|.png|}}|^ ]]</span><h3 style="display: inline;">{{{ID}}} - {{{Area}}}</h3></div>
{|class="wikitable mw-collapsible worldtable"
{|class="wikitable mw-collapsible worldtable"
|+class="nowrap" |<span id="{{{Area}}}">{{#if:{{{Area}}}|{{{Area}}}|{{PAGENAME}}}}</span>
!Img
!Img
!Name
!Name

Revision as of 01:24, 18 August 2024

This template defines the table "AreaData". View table.

Usage:

{{AreaSection
|ID=<the ID displayed on map>
|Area=<Area(map)>
|World=<World(Integer)>
|WorldImage=<WorldImage.png> (If you want to draw a marker on the map)
|x=<x coordinate of the marker> (If you want to draw a marker on the map)
|y=<y coordinate of the marker> (If you want to draw a marker on the map)
|Size=<Diameter of the marker circle> (Default value 25)
|color_text=<Color of the text and border of the marker on map> (Default value depends on map)
|color_fill=<Color of the fill of the marker on map> (Default value depends on map)
}}