Difference between revisions of "Template:Couch potato geohash"

From Geohashing
imported>Ahecht
imported>Relet
(test: separate categories for achievement and honorable mention)
Line 6: Line 6:
 
{{#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>
</table>[[Category:Couch potato geohash achievement]]
+
</table>
 +
<includeonly>[[Category:Couch potato geohash {{#if:{{{honor|}}}|honorable mention|achievement}}]]</includeonly>
 +
<noinclude>[[Category:Couch potato geohash achievement]]
  
<noinclude>
 
 
'''How to use this template:'''
 
'''How to use this template:'''
  

Revision as of 11:26, 3 December 2008

Couchpotatogeohash.png
This user earned the Couch Potato Geohash achievement
by living at the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{couch potato geohash

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)
| honor = true (if honorable mention)

}}

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

Example: {{couch potato geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 }} appears as:

Couchpotatogeohash.png
This user earned the Couch Potato Geohash Achievement
by living at the (47, -122) geohash on 2008-05-25.

Example: {{couch potato geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | image = Widder.jpg }} appears as:

Couchpotatogeohash.png
Widdershins earned the Couch Potato Geohash Achievement
by living at the (47, -122) geohash on 2008-05-25.
Widder.jpg

Example: {{couch potato geohash | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins | honor = true }} appears as:

Couchpotatohm.png
Widdershins earned the Couch Potato Geohash Honorable Mention
by living near the (47, -122) geohash on 2008-05-25.