Difference between revisions of "Template:Admit One geohash"

From Geohashing
imported>Robyn
(You can't put the space inside the if?)
imported>Robyn
m (Initial colour was ugly.)
Line 1: Line 1:
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<tr>
 
<tr>
<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>
+
<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>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Admit One Geohash|Admit One Achievement]]'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Admit One Geohash|Admit One Achievement]]'''
 
: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>
 
: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>

Revision as of 18:04, 4 October 2008

AdmitOne.JPG
This user earned the Admit One Achievement
by paying to access the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].


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.