Difference between revisions of "Template:Admit One geohash"

From Geohashing
imported>Robyn
m (Initial colour was ugly.)
m (Ribbon2 -> Ribbon)
 
(6 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>{{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 [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:'''
  

Latest revision as of 02:37, 17 November 2024

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.