Difference between revisions of "Template:Admit One geohash"
imported>Robyn (Second save to make the template propagate to itself.) |
imported>Robyn (You can't put the space inside the if?) |
||
Line 3: | Line 3: | ||
<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: dimgray; 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> |
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}} | {{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}} | ||
</tr> | </tr> |
Revision as of 18:01, 4 October 2008
This user earned the Admit One Achievement
|
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:
Ben earned the Admit One Achievement
|
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:
Ben earned the Admit One Achievement
|
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:
Ben earned the Admit One Achievement
|
Example:
{{Admit One geohash
| latitude = 42
| longitude = -71
| date = 2008-06-05
| name = Ben
}}
appears as:
Ben earned the Admit One Achievement
|
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.