Template:Map Marker: Difference between revisions
Jump to navigation
Jump to search
(Create subobject for park (and trail) pages) |
(make description default to title - messing up later retrievals) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
[[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={{#if:{{{Marker Description|}}}|{{{Marker Description|}}}|{{{Marker Title|}}} }} | ||
|Has Marker Description={{{Marker Description}}} | |Has Marker Location={{{Marker Location|}}} | ||
|Has Marker Location={{{Marker Location}}} | |@category=Map Markers | ||
|@sortkey={{{Marker Title}}} | |@sortkey={{{Marker Title}}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 23:03, 13 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.