Difference between revisions of "Template:ResourceMap/doc"
Flachdachs (talk | contribs) (created) |
Flachdachs (talk | contribs) (cave nodes switchable) |
||
Line 4: | Line 4: | ||
<nowiki> |
<nowiki> |
||
{{#widget:MapStyles}}{{#widget:MapLegend|id=sce <!-- same id as for MapLocations, different to ids of other maps on the same page --> |
{{#widget:MapStyles}}{{#widget:MapLegend|id=sce <!-- same id as for MapLocations, different to ids of other maps on the same page --> |
||
+ | |showcavetoggle=true <!-- or false, to show a checkbox for cave nodes. don't add a show=... line for caves --> |
||
|show=water-vein|text.water-vein=Water Vein |
|show=water-vein|text.water-vein=Water Vein |
||
|show=oil-vein|text.oil-vein=Single Oil Vein |
|show=oil-vein|text.oil-vein=Single Oil Vein |
||
Line 24: | Line 25: | ||
| caption = caption |
| caption = caption |
||
| marker water-vein = 16 <!-- dot size, for calculation only. dot appearance is defined in widget MapStyles --> |
| marker water-vein = 16 <!-- dot size, for calculation only. dot appearance is defined in widget MapStyles --> |
||
+ | | marker water-vein cave = 16 <!-- add extra line for cave nodes --> |
||
| marker oil-vein = 16 |
| marker oil-vein = 16 |
||
| marker oil-vein-double = 16 |
| marker oil-vein-double = 16 |
||
Line 34: | Line 36: | ||
| marker metal-rich = 7 |
| marker metal-rich = 7 |
||
| 10.8, 39.2, water-vein, with comment <!-- lat, lon, type, optional comment in the tooltip --> |
| 10.8, 39.2, water-vein, with comment <!-- lat, lon, type, optional comment in the tooltip --> |
||
− | | 10.9, 48.8, water-vein |
+ | | 10.9, 48.8, water-vein cave <!-- add cave separated by one space for cave nodes --> |
| 10.7, 25.1, salt |
| 10.7, 25.1, salt |
||
| 11.2, 21.2, salt |
| 11.2, 21.2, salt |
||
Line 62: | Line 64: | ||
</div><div class="full-container"><div class="legend-container"> |
</div><div class="full-container"><div class="legend-container"> |
||
<div id="legend-notice" class="notice">'''Important Notice:'''<br>For any resource found in caves, its underground cave nodes are also displayed on the map.</div> |
<div id="legend-notice" class="notice">'''Important Notice:'''<br>For any resource found in caves, its underground cave nodes are also displayed on the map.</div> |
||
− | {{#widget:MapLegend|id=sce |
+ | {{#widget:MapLegend|id=sce|showcavetoggle=true |
|show=water-vein|text.water-vein=Water Vein |
|show=water-vein|text.water-vein=Water Vein |
||
|show=oil-vein|text.oil-vein=Single Oil Vein |
|show=oil-vein|text.oil-vein=Single Oil Vein |
||
Line 84: | Line 86: | ||
| caption = caption |
| caption = caption |
||
| marker water-vein = 16 |
| marker water-vein = 16 |
||
+ | | marker water-vein cave = 16 |
||
| marker oil-vein = 16 |
| marker oil-vein = 16 |
||
| marker oil-vein-double = 16 |
| marker oil-vein-double = 16 |
||
Line 94: | Line 97: | ||
| marker metal-rich = 7 |
| marker metal-rich = 7 |
||
− | | 10.8, 39.2, water-vein, with comment |
+ | | 10.8, 39.2, water-vein, with comment |
− | | 10.9, 48.8, water-vein |
+ | | 10.9, 48.8, water-vein cave |
| 10.7, 25.1, salt |
| 10.7, 25.1, salt |
||
| 11.2, 21.2, salt |
| 11.2, 21.2, salt |
Revision as of 07:08, 28 September 2016
Include {{#widget:MapStyles}}
only once per page, include {{#widget:MapLegend}}
and {{ResourceMap}}
one per map.
Usage example:
{{#widget:MapStyles}}{{#widget:MapLegend|id=sce <!-- same id as for MapLocations, different to ids of other maps on the same page --> |showcavetoggle=true <!-- or false, to show a checkbox for cave nodes. don't add a show=... line for caves --> |show=water-vein|text.water-vein=Water Vein |show=oil-vein|text.oil-vein=Single Oil Vein |show=oil-vein-double|text.oil-vein-double=Double Oil Veins |show=salt|text.salt=Salt Deposit|note.salt=Note: In the Badlands, bones will yield salt when mined. |show=sulfur|text.sulfur=Sulfur Deposit|note.sulfur=Note: Some sulfur deposits displayed are located underground within caves. |show=crystal|text.crystal=Crystal Deposit |show=obsidian|text.obsidian=Obsidian Deposit |show=silica|text.silica=Silica Deposit |show=metal-poor|text.metal-poor=Poor Metal Deposit |show=metal-rich|text.metal-rich=Rich Metal Deposit }} {{ResourceMap|id=sce | map=Obelisk Locations (Scorched Earth).jpg | mapsize = 800 | borderCoordTop = 0.0 | borderCoordBottom = 100.0 | borderCoordLeft = 0.0 | borderCoordRight = 100.0 | caption = caption | marker water-vein = 16 <!-- dot size, for calculation only. dot appearance is defined in widget MapStyles --> | marker water-vein cave = 16 <!-- add extra line for cave nodes --> | marker oil-vein = 16 | marker oil-vein-double = 16 | marker sulfur = 7 | marker salt = 7 | marker crystal = 7 | marker obsidian = 7 | marker silica = 7 | marker metal-poor = 7 | marker metal-rich = 7 | 10.8, 39.2, water-vein, with comment <!-- lat, lon, type, optional comment in the tooltip --> | 10.9, 48.8, water-vein cave <!-- add cave separated by one space for cave nodes --> | 10.7, 25.1, salt | 11.2, 21.2, salt | 33.4, 68.4, oil-vein | 35.6, 75.1, oil-vein | 36.8, 69.1, oil-vein-double | 41.7, 70.9, oil-vein-double | 35.2, 55.1, sulfur | 33.8, 56.4, sulfur | 66.6, 36.1, crystal | 68, 34.1, crystal | 67.2, 33, obsidian | 66.6, 35.8, obsidian | 26.2, 51.4, silica | 27, 51.1, silica | 31.5, 43, metal-poor | 32, 43.4, metal-poor | 31.3, 43.6, metal-rich | 32.6, 43.7, metal-rich }}
Mobile App users need to view this page in a browser to use the map fully.
![]() ![]() |
To use this map,
|
Important Notice:
For any resource found in caves, its underground cave nodes are also displayed on the map.
For any resource found in caves, its underground cave nodes are also displayed on the map.
Note: In the Badlands, bones will yield salt when mined. |
|
![]() |
caption |