Difference between revisions of "User:Mattyk/Hash/doc"

From Geohashing
imported>Mattyk
imported>Mattyk
Line 18: Line 18:
 
;Result
 
;Result
 
:One of <code>good, ok, success, successful, succeed, succeeded</code> for a successful hash;
 
:One of <code>good, ok, success, successful, succeed, succeeded</code> for a successful hash;
:One of <code>bad, fail, failure, failed</code> for a failed hash.
+
:One of <code>bad, fail, failure, failed</code> for a failed hash;
 +
:Anything else, for the rest.
 
:You can leave the word <code>result=</code> out, as long as the result is the first unnamed parameter.
 
:You can leave the word <code>result=</code> out, as long as the result is the first unnamed parameter.
 
;Description
 
;Description
Line 28: Line 29:
 
  <nowiki>:{{User:Mattyk/Hash|date=2008-10-04|lat=-19|lon=146|result=fail|descr=[[:Category:Failed - No public access|]]}}</nowiki>
 
  <nowiki>:{{User:Mattyk/Hash|date=2008-10-04|lat=-19|lon=146|result=fail|descr=[[:Category:Failed - No public access|]]}}</nowiki>
 
  <nowiki>:{{User:Mattyk/Hash|good|date=2008-11-05|lat=47|lon=-122|desc=Hash #30 for [[User:Thomcat|]].}}</nowiki>
 
  <nowiki>:{{User:Mattyk/Hash|good|date=2008-11-05|lat=47|lon=-122|desc=Hash #30 for [[User:Thomcat|]].}}</nowiki>
  <nowiki>:{{User:Mattyk/Hash|bad|date=2080-10-24|lat=-19|lon=146|desc=There is no spoon}}</nowiki>
+
  <nowiki>:{{User:Mattyk/Hash|alt|date=2080-10-24|lat=-19|lon=146|desc=There is no spoon}}</nowiki>
  
 
:{{User:Mattyk/Hash|date=2008-09-20|lat=-19|lon=146|result=success|description=out near Woodstock}}
 
:{{User:Mattyk/Hash|date=2008-09-20|lat=-19|lon=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|Failed - No public access]]}}
 
:{{User:Mattyk/Hash|date=2008-10-04|lat=-19|lon=146|result=fail|descr=[[:Category:Failed - No public access|Failed - No public access]]}}
 
:{{User:Mattyk/Hash|good|date=2008-11-05|lat=47|lon=-122|desc=Hash #30 for [[User:Thomcat|Thomcat]].}}
 
:{{User:Mattyk/Hash|good|date=2008-11-05|lat=47|lon=-122|desc=Hash #30 for [[User:Thomcat|Thomcat]].}}
:{{User:Mattyk/Hash|bad|date=2080-10-24|lat=-19|lon=146|desc=There is no spoon}}
+
:{{User:Mattyk/Hash|alt|date=2080-10-24|lat=-19|lon=146|desc=There is no spoon}}

Revision as of 11:50, 8 November 2008

Usage

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

Parameters

Date
In YYYY-MM-DD format, e.g. 2024-12-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|longotude=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=2080-10-24|lat=-19|lon=146|desc=There is no spoon}}
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 2080-10-24 -19 146: There is no spoon