Template:Map Marker: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(change to use category for map marker)
(make description default to title - messing up later retrievals)
 
Line 13: Line 13:
[[Category:Form Templates]]
[[Category:Form Templates]]
</noinclude><includeonly>{{#subobject:
</noinclude><includeonly>{{#subobject:
  |Is Marker Type={{{Icon Type}}}
  |Is Marker Type={{{Icon Type|}}}
  |Has Marker Title={{{Marker Title}}}
  |Has Marker Title={{{Marker Title|}}}
  |Has Marker Description={{{Marker Description}}}
  |Has Marker Description={{#if:{{{Marker Description|}}}|{{{Marker Description|}}}|{{{Marker Title|}}} }}
  |Has Marker Location={{{Marker Location}}}
  |Has Marker Location={{{Marker Location|}}}
  |@category=Map Markers
  |@category=Map Markers
  |@sortkey={{{Marker Title}}}
  |@sortkey={{{Marker Title}}}
}}</includeonly>
}}</includeonly>

Latest revision as of 00:03, 14 December 2018

This is the "Map Marker" template. It's use is for the Park Form to list markers to put on the map.

It should be called in the following format:

{{Map Marker
 |Icon Type=
 |Marker Title=
 |Marker Description=
 |Marker Location=
}}

Edit the page to see the template text.