Template:Map Marker Template: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(add return of no details with space)
(revert - not needed here)
 
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|}}}~{{#if:{{{details|}}}|{{{details|}}}|<nowiki> </nowiki>}}~{{#switch:{{{icon|}}}
|marker={{{location|}}}~{{{title|}}}~{{{details|}}}~{{#switch:{{{icon|}}}
|Parking=MarkerA.png
|Parking=MarkerA.png
|Photo spot=MarkerB.png
|Photo spot=MarkerB.png

Latest revision as of 23:02, 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.