Template:Map Marker Template: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(escape unicode)
(add return of no details with space)
Line 2: Line 2:
</noinclude><includeonly>{{#switch:{{{#userparam|}}}
</noinclude><includeonly>{{#switch:{{{#userparam|}}}
|trail={{{location|}}}~{{#replace:{{{title|}}}|&#x0027;|<nowiki>'</nowiki>}}~'''Distance:''' {{{distance|}}}, '''Difficulty:''' {{{difficulty|}}}, '''Markings:''' {{{marking|}}}~MarkerT.png
|trail={{{location|}}}~{{#replace:{{{title|}}}|&#x0027;|<nowiki>'</nowiki>}}~'''Distance:''' {{{distance|}}}, '''Difficulty:''' {{{difficulty|}}}, '''Markings:''' {{{marking|}}}~MarkerT.png
|marker={{{location|}}}~{{{title|}}}~{{{details|}}}~{{#switch:{{{icon|}}}
|marker={{{location|}}}~{{{title|}}}~{{#if:{{{details|}}}|{{{details|}}}|<nowiki> </nowiki>}}~{{#switch:{{{icon|}}}
|Parking=MarkerA.png
|Parking=MarkerA.png
|Photo spot=MarkerB.png
|Photo spot=MarkerB.png

Revision as of 22:55, 13 December 2018

Used by park trail map - details forthcoming. Edit to see more. Manual switch list to change marker type to icon name - plans to eventually do similar to Template:Auto List to Icons.