|
|
Line 1: |
Line 1: |
| The wiki has built-in funtionality that lets us display a map with parametric coordinates. | | The wiki has built-in functionality that lets us display a map with parametric coordinates. See [[North Forge:Mapping]] for more info. |
| {{#display_map: | | {{#display_map: |
| 80,80~Test tool~The [[Test tool]] is a cool tool; | | 80,80~Test tool~The [[Test tool]] is a cool tool; |
Line 8: |
Line 8: |
| |zoom=2 | | |zoom=2 |
| }} | | }} |
|
| |
| This means we could store the coordinates once and then show a full floor map with many markers with hovers and pop-ups somewhere prominent, and a map with the location of the tool on the tool's page. I have set this up on a different wiki before. I could see this being useful for e.g. a map of our fire extinguishers or eye wash stations or...; or they could be on the general map in a red when tools are a different colour.
| |
|
| |
| == bug ==
| |
| However, right now there is some bug with the cargo extension that would pull the coordinates. I have [https://www.mediawiki.org/wiki/Extension_talk:Cargo#getting_error_%22Identifier_must_not_contain_quote,_dot_or_null_characters%22_when_trying_to_use_Concatenate bug reported the bug] and will work on this some more when it is fixed.
| |
|
| |
| Found work-around for bug, work can continue.
| |