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

From Geohashing
imported>Mattyk
imported>Mattyk
Line 1: Line 1:
<includeonly><div style="float:right;clear:right;margin-top: -2em;">&#91;[http://wiki.xkcd.com/wgh/index.php?title=User:Mattyk/Hash/doc&action=edit edit documentation]&#93;</div><</includeonly>
+
<includeonly><div style="float:right;clear:right;margin-top: -2em;">&#91;[http://wiki.xkcd.com/wgh/index.php?title=User:Mattyk/Hash/doc&action=edit edit documentation]&#93;</div></includeonly>
 
==Usage==
 
==Usage==
 
  <nowiki>{{</nowiki>User:Mattyk/Hash
 
  <nowiki>{{</nowiki>User:Mattyk/Hash
Line 19: Line 19:
 
: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.
 +
:You can leave the word <code>result=</code> out, as long as the result is the first unnamed parameter.
 
;Description
 
;Description
 
:Optional;  displays a bit of a blurb after the meetup links.
 
:Optional;  displays a bit of a blurb after the meetup links.
 +
:You can leave the word <code>description=</code> out, as long as the description is the first unnamed parameter after the result.
 
:Can also use <code>desc=...</code>
 
:Can also use <code>desc=...</code>
  
 
===Examples===
 
===Examples===
  <nowiki>{{User:Mattyk/Hash|date=2008-09-20|lat=-19|lon=146|result=success|description=out near Woodstock}}</nowiki>
+
  <nowiki>{{User:Mattyk/Hash|date=2008-09-20|latitude=-19|longotude=146|result=success|description=out near Woodstock}}</nowiki>
  <nowiki>{{User:Mattyk/Hash|date=2008-11-08|lat=-19|lon=146|result=fail|description=Too far to go}}</nowiki>
+
  <nowiki>{{User:Mattyk/Hash|date=2008-10-04|lat=-19|lon=146|result=fail|desc=[[:Category:Failed - No public access|]]}}</nowiki>
  <nowiki>{{User:Mattyk/Hash|bad|date=2080-10-24|lat=-19|lon=146|description=Too many Thunderbirds}}</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|Too many Thunderbirds}}</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-11-08|lat=-19|lon=146|result=fail|description=Too far to go}}
+
{{User:Mattyk/Hash|date=2008-11-08|lat=-19|lon=146|result=fail}}
{{User:Mattyk/Hash|bad|date=2080-10-24|lat=-19|lon=146|description=Too many Thunderbirds}}
+
{{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|There is no spoon}}

Revision as of 11:26, 8 November 2008

Usage

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

Parameters

Date
In YYYY-MM-DD format, e.g. 2024-12-24
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.
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.
You can leave the word description= out, as long as the description is the first unnamed parameter after the result.
Can also use 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|desc=[[: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|bad|date=2080-10-24|lat=-19|lon=146|Too many Thunderbirds}}

Arrow2.png 2008-09-20 -19 146: out near Woodstock Arrow4.png 2008-11-08 -19 146 Arrow2.png 2008-11-05 47 -122: Hash #30 for Thomcat. Arrow4.png 2080-10-24 -19 146