Difference between pages "About" and "Template:GMap"

From LCA2015 Delegate wiki
(Difference between pages)
Jump to: navigation, search
(About linux.conf.au: moving some links from the Main Page to here.)
 
(Created a template for displaying a link to Google Map as a hatnote.)
 
Line 1: Line 1:
{{Trail}}
+
<includeonly>: <small>[[File:location-162102.png|16px|baseline|Google Maps|link={{{1}}}]] ''Google map:''  [{{{1}}} {{{2}}}]</small></includeonly><noinclude>
== About linux.conf.au ==
+
[[Category:Markup Templates]]
: <small>''Main article: [[LCA]]''</small>
+
== Description ==
Find out more about linux.conf.au (LCA), past conferences, the beginner's guide, etc.
+
Places a hatnote with a link to a specific Google Map. Should only be used at the beginning of a new line.
<section begin=lca />* [http://www.darkmere.gen.nz/2007/0129.html LCA first timers guide ]
+
* [[LCA FAQ]] - Frequently asked Questions about the conference<section end=lca />
+
  
== About LCA2015 ==
+
== Parameters ==
: <small>''Main article: [[LCA2015]]''</small>
+
{| class="wikitable"
Find out more about LCA2015, the team, volunteers, badge definitions, etc.
+
! colspan=3 | Template:GMap
<section begin=lca2015 /><section end=lca2015 />
+
|-
 +
! Parameter !! Scope !! Description
 +
|-
 +
| <code>1</code> || required || First unnamed param. The URL link to the specified Google Map.
 +
|-
 +
| <code>2</code> || required || Second unnamed param. The name/title of the specified Google Map.
 +
|}
  
== About the venue ==
+
== Example ==
: <small>''Main article: [[Venue]]''</small>
+
<pre>{{GMap|https://www.google.co.nz/maps/search/dining/@-36.8528995,174.7713,15z/data=!3m1!4b1!4m4
Find out more about our venue: UoA, OGGB, FPAA, NICAI, etc.
+
!2m3!3m2!1sdining!2s-36.8529,+174.7713|Dining locations near the OGGB building.}}</pre>
<section begin=venue /><section end=venue />
+
  
== About Auckland ==
+
Will display as...
: <small>''Main article: [[Auckland]]''</small>
+
{{GMap|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|Dining locations near the OGGB building.}}
Find out about Auckland, including attractions to visit while you're here, travel options, etc.
+
<section begin=auckland /><section end=auckland />
+
  
== About New Zealand ==
+
</noinclude>
: <small>''Main article: [[New Zealand]]''</small>
+
Find out about New Zealand, including attractions to visit while you're here, travel options, etc.
+
<section begin=nz /><section end=nz />
+

Revision as of 21:52, 1 January 2015

Description

Places a hatnote with a link to a specific Google Map. Should only be used at the beginning of a new line.

Parameters

Template:GMap
Parameter Scope Description
1 required First unnamed param. The URL link to the specified Google Map.
2 required Second unnamed param. The name/title of the specified Google Map.

Example

{{GMap|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|Dining locations near the OGGB building.}}

Will display as...

link={{{url}}} Google map: [{{{url}}} {{{title}}}]