Difference between pages "Template:GMap" and "File:badge-icon-country-nz.png"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
m (Parameters: fised descriptions)
 
(Badge icon for delegates from NZ. Category:Badge Icons)
 
Line 1: Line 1:
<includeonly>: <small>[[File:location-162102.png|16px|baseline|Google Maps|link={{{url}}}]] ''Google map:''  [{{{url}}} {{{title}}}]</small></includeonly><noinclude>
+
Badge icon for delegates from NZ.
[[Category:Markup Templates]]
+
[[Category:Badge Icons]]
== Description ==
+
Places a hatnote with a link to a specific Google Map. Should only be used at the beginning of a new line.
+
 
+
== Parameters ==
+
{| class="wikitable"
+
! colspan=3 | Template:GMap
+
|-
+
! Parameter !! Scope !! Description
+
|-
+
| <code>url</code> || required || The URL link to the specified Google Map.
+
|-
+
| <code>title</code> || required || The name/title of the specified Google Map.
+
|}
+
 
+
== Example ==
+
<pre>{{GMap|url=https://www.google.co.nz/maps/search/dining/@-36.8528995,174.7713,15z/data=!3m1!4b1!4m4
+
!2m3!3m2!1sdining!2s-36.8529,+174.7713|title=Dining locations near the OGGB building.}}</pre>
+
 
+
Will display as...
+
{{GMap|url=https://www.google.co.nz/maps/search/dining/@-36.8528995,174.7713,15z/data=!3m1!4b1!4m4!2m3!3m2!1sdining!2s-36.8529,+174.7713|title=Dining locations near the OGGB building.}}
+
 
+
</noinclude>
+

Latest revision as of 09:50, 12 January 2015

Badge icon for delegates from NZ.