Difference between revisions of "Template:Admit One geohash"

From Geohashing
imported>Mattyk
m (more whitespace.)
imported>Relet
(-> ribbon template)
Line 1: Line 1:
<includeonly><table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
<includeonly>{{Ribbon
<tr>
+
|color  = dodgerblue
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: dodgerblue; border-collapse: separate;"><div>[[Image:AdmitOne.JPG|44px]]</div></td>
+
|icon  = AdmitOne.JPG
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Admit One Geohash|Admit One Achievement]]'''
+
|user  = {{#if:{{{name|}}}|{{{name}}}|This user}}
:by paying {{#if:{{{price|}}}|{{{price}}}|}} to access the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] {{#if:{{{venue|}}}|at {{{venue}}}|}} on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </td>
+
|achievement = [[Admit One Geohash|Admit One Achievement]]
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
|action = paying {{#if:{{{price|}}}|{{{price}}}|}} to access the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] {{#if:{{{venue|}}}|at {{{venue}}}|}} on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
|image  = {{{image|}}}
</table>[[Category:Admit one achievement]]</includeonly><noinclude>
+
|category = Admit one achievement
 +
}}</includeonly><noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 17:56, 13 February 2009

How to use this template:

{{Admit One geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) of geohash (required)
| name = name of acheiver (optional)
| price = admission price paid (optional)
| venue = name of place accessed (optional)
| image = image name (optional)

}}

The image name should not include 'Image:' or surrounding braces.

Example: {{Admit One geohash | latitude = 42 | longitude = -71 | date = 2008-06-05 | price = $2 | venue = Borderland State Park | name = Ben | image =2008-06-05-42-71-05.jpg }} appears as:

AdmitOne.JPG
Ben earned the Admit One Achievement
by paying $2 to access the (42, -71) geohash at Borderland State Park on 2008-06-05.
2008-06-05-42-71-05.jpg

Example: {{Admit One geohash | latitude = 42 | longitude = -71 | date = 2008-06-05 | price = $2 | name = Ben | image =2008-06-05-42-71-05.jpg }} appears as:

AdmitOne.JPG
Ben earned the Admit One Achievement
by paying $2 to access the (42, -71) geohash on 2008-06-05.
2008-06-05-42-71-05.jpg

Example: {{Admit One geohash | latitude = 42 | longitude = -71 | date = 2008-06-05 | venue = Borderland State Park | name = Ben | image =2008-06-05-42-71-05.jpg }} appears as:

AdmitOne.JPG
Ben earned the Admit One Achievement
by paying to access the (42, -71) geohash at Borderland State Park on 2008-06-05.
2008-06-05-42-71-05.jpg

Example: {{Admit One geohash | latitude = 42 | longitude = -71 | date = 2008-06-05 | name = Ben }} appears as:

AdmitOne.JPG
Ben earned the Admit One Achievement
by paying to access the (42, -71) geohash on 2008-06-05.

Note that Ben didn't actually win this award, as the state park was a side trip taken after his geohash. He was just a convenient victim for the examples.