Difference between revisions of "User:Mattyk/Hash"

From Geohashing
imported>Mattyk
(New page: <includeonly><span style="background:{{#switch:{{{result|}}} |good=green |bad=red}}; width: 2em;">   </span></includeonly><noinclude>{{User:Mattyk/Hash|result=good}}</noincl...)
 
imported>Mattyk
(No longer in a div - allows '''bold''', etc., around it.)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="background:{{#switch:{{{result|}}}
+
<includeonly>[[Image:Arrow{{#switch:{{{result|{{{1}}}}}}
|good=green
+
|good=2
|bad=red}}; width: 2em;">&nbsp;&nbsp;&nbsp;</span></includeonly><noinclude>{{User:Mattyk/Hash|result=good}}</noinclude>
+
|ok=2
 +
|success=2
 +
|successful=2
 +
|succeed=2
 +
|succeeded=2
 +
|bad=4
 +
|fail=4
 +
|failure=4
 +
|failed=4
 +
|1}}.png|8px]] [[{{{date|{{#time:Y-m-d}}}}} {{{latitude|{{{lat|-19}}}}}} {{{longitude|{{{lon|146}}}}}}]]{{#if:
 +
{{{description|{{{descr|{{{desc|}}}}}}}}}
 +
|&#58; {{{description|{{{descr|{{{desc}}}}}}}}}
 +
|}}</includeonly><noinclude>{{ {{FULLPAGENAME}}/doc }}</noinclude>

Latest revision as of 11:45, 8 November 2008

Usage

{{User:Mattyk/Hash
| date=...
| latitude=...
| longitude=...
| result=...
| description=...
}}

Parameters

Date
In YYYY-MM-DD format, e.g. 2024-05-23
Latitude
Can also use lat=...
Longitude
Can also use lon=...
Result
One of good, ok, success, successful, succeed, succeeded for a successful hash;
One of bad, fail, failure, failed for a failed hash;
Anything else, for the rest.
You can leave the word result= out, as long as the result is the first unnamed parameter.
Description
Optional; displays a bit of a blurb after the meetup links.
Can also use descr=... or desc=...

Examples

:{{User:Mattyk/Hash|date=2008-09-20|latitude=-19|longitude=146|result=success|description=out near Woodstock}}
:{{User:Mattyk/Hash|date=2008-10-04|lat=-19|lon=146|result=fail|descr=[[:Category:Failed - No public access|]]}}
:{{User:Mattyk/Hash|good|date=2008-11-05|lat=47|lon=-122|desc=Hash #30 for [[User:Thomcat|]].}}
:{{User:Mattyk/Hash|alt|date=2013-07-04|lat=34|lon=35|desc=[[User:1PE|]] wishes}}
Arrow2.png 2008-09-20 -19 146: out near Woodstock
Arrow4.png 2008-10-04 -19 146: Failed - No public access
Arrow2.png 2008-11-05 47 -122: Hash #30 for Thomcat.
Arrow1.png 2013-07-04 34 35: 1PE wishes