Difference between revisions of "Template:Admit One geohash"

From Geohashing
imported>Robyn
(Preview looks good. Let's see if it works.)
 
m (Replacing Peeron with Geohashing.info)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
<includeonly>{{Achievement
<tr>
+
|color  = dodgerblue
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: dimgray; 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 [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] {{#if:{{{venue|}}}|at {{{venue}}}|}} on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
|image  = {{{image|}}}
</table>[[Category:Admit one achievement]]
+
|category = Admit one achievement
 
+
}}</includeonly><noinclude>
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{Admit one geohash
+
&#x007B;{Admit One geohash
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
Line 24: Line 23:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Admit one geohash
+
<code>&#x007B;{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 34: Line 33:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Admit one geohash
+
{{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 45: Line 44:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Admit one geohash
+
<code>&#x007B;{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 54: Line 53:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Admit one geohash
+
{{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 64: Line 63:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Admit one geohash
+
<code>&#x007B;{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 73: Line 72:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Admit one geohash
+
{{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 83: Line 82:
  
 
'''Example:'''
 
'''Example:'''
<code>&#x007B;{Admit one geohash
+
<code>&#x007B;{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71
Line 90: Line 89:
 
}}</code> appears as:
 
}}</code> appears as:
  
{{Admit one geohash
+
{{Admit One geohash
 
| latitude = 42
 
| latitude = 42
 
| longitude = -71
 
| longitude = -71

Latest revision as of 10:42, 15 January 2022

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
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
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
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
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.