Template:AreaSection: Difference between revisions

From IdleOn MMO Wiki
mNo edit summary
mNo edit summary
Line 22: Line 22:
   |x={{{x}}}
   |x={{{x}}}
   |y={{{y}}}
   |y={{{y}}}
   |Size={{{Size|20}}}
   |Size={{{Size|25}}}
   |color_text={{{color_text|#000}}}
   |color_text={{{color_text|}}}
   |color_fill={{{color_fill|#fff}}}
   |color_fill={{{color_fill|}}}
}}<!--
}}<!--


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


[[category:Table templates]]
[[category:Table templates]]
</noinclude>
</noinclude>

Revision as of 22:56, 25 July 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)
}}