Template:MapLink/Documentation: Difference between revisions

Want an adless experience? Log in or Create an account.
for V2, only supporting id target for now
(update doc with removal of wiki-to-map usage and addition of id param)
(for V2, only supporting id target for now)
Line 3: Line 3:
==Usage==
==Usage==
{{Usage|text|id}}
{{Usage|text|id}}
{{Usage|text|lat|lng}}
{{Usage/Param|text|Display text that the user clicks. If lat and lng aren't supplied, this also doubles as the target id to link to.}}
{{Usage/Param|text|Display text that the user clicks. If lat and lng aren't supplied, this also doubles as the target id to link to.}}
{{Usage/Param|id|ID for the target to link to.|optional}}
{{Usage/Param|id|ID for the target to link to.|optional}}
{{Usage/Param|lat|Latitude of the target as defined in its {{Temlink|Pin}} template.|optional}}
{{Usage/Param|lng|Longitude of the target as defined in its {{Temlink|Pin}} template.|optional}}


==Example==
==Example==