Widget:Lower City Map: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (fix last)
No edit summary
 
Line 172: Line 172:
     <path style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#690000;fill-opacity:0.2249;stroke:#870000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" d="m 1327.5,194 v 47 h 65.5 v -34 h -6.25 v -23.25 h -43 V 194 Z" id="path2195" inkscape:label="Mortuary" />
     <path style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#690000;fill-opacity:0.2249;stroke:#870000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" d="m 1327.5,194 v 47 h 65.5 v -34 h -6.25 v -23.25 h -43 V 194 Z" id="path2195" inkscape:label="Mortuary" />
   </a>
   </a>
   <a href="https://bg3.wiki/wiki/Graveyard">
   <a href="https://bg3.wiki/wiki/Graveyard_(Lower_City)">
     <path style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#690000;fill-opacity:0.2249;stroke:#870000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" d="m 1243.8008,281.78205 h 90.8632 l 8.3086,-8.3085 V 240.76986 H 1327.593 V 193.5 l 16.157,0.5 v -10.25 h 43 V 207 h 6.25 l 0.068,26.61178 66.1129,0.55726 0.2876,-3.29868 19.6222,-19.62221 -0.3726,-27.56953 -25.6184,-0.42631 -0.4379,-28.98562 -125.0687,-0.82452 h -127.6328 l -88.3883,90.88835 h 28.9913 v 34.97666 h 11.3137 v 24.04163 h 16.1171 v -6.71752 h 7.9246 v -14.84924 z" id="path2202" sodipodi:nodetypes="cccccccccccccccccccccccccccccc" inkscape:label="Graveyard" />
     <path style="font-variation-settings:normal;opacity:1;vector-effect:none;fill:#690000;fill-opacity:0.2249;stroke:#870000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000;stop-opacity:1" d="m 1243.8008,281.78205 h 90.8632 l 8.3086,-8.3085 V 240.76986 H 1327.593 V 193.5 l 16.157,0.5 v -10.25 h 43 V 207 h 6.25 l 0.068,26.61178 66.1129,0.55726 0.2876,-3.29868 19.6222,-19.62221 -0.3726,-27.56953 -25.6184,-0.42631 -0.4379,-28.98562 -125.0687,-0.82452 h -127.6328 l -88.3883,90.88835 h 28.9913 v 34.97666 h 11.3137 v 24.04163 h 16.1171 v -6.71752 h 7.9246 v -14.84924 z" id="path2202" sodipodi:nodetypes="cccccccccccccccccccccccccccccc" inkscape:label="Graveyard" />
   </a>
   </a>

Latest revision as of 17:52, 1 February 2024

Lower City Map.

Parameters:

Parameter Effect Default
transform display coordinates Defaults to an empty transform.
debug If 'true', shows display coordinates in a debug div. false
w / h SVG dimensions 400 / 270
caption Caption (no wikitext!) Interactive map of the Lower City
unique_name A valid HTML ID. Helps distinguish between multiple maps. lower-city-map

Example with viewport changed: {{#widget:Lower City Map|transform=translate(-4168.33781321086,-1970.1107490456338) scale(4.322901608157405)|unique_name=map-sorc|caption=Sorcerous Sundries.}}

Example map with debug enabled:

Note: I was intending to also implement tooltips, but unsure if that will ever happen. - Sky (talk) 13:09, 27 December 2023 (CET)