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

From Geohashing
imported>Mattyk
(Replacing old links)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div style="float:right;clear:right;">&#91;[http://wiki.xkcd.com/wgh/index.php?title=User:Mattyk/Hash/doc&action=edit edit documentation]&#93;</div><br style="clear:right"></includeonly>
+
<includeonly><div style="float:right;clear:right;margin-top: -2em;">&#91;[{{canonicalurl:User:Mattyk/Hash/doc|action=edit}} edit documentation]&#93;</div></includeonly>
 
==Usage==
 
==Usage==
 
  <nowiki>{{</nowiki>User:Mattyk/Hash
 
  <nowiki>{{</nowiki>User:Mattyk/Hash
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.
 
;Description
 
;Description
 
:Optional;  displays a bit of a blurb after the meetup links.
 
:Optional;  displays a bit of a blurb after the meetup links.
:Can also use <code>desc=...</code>
+
:Can also use <code>descr=...</code> or <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|longitude=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|descr=[[: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|alt|date=2013-07-04|lat=34|lon=35|desc=[[User:1PE|]] wishes}}</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-10-04|lat=-19|lon=146|result=fail|descr=[[:Category:Failed - No public access|Failed - No public access]]}}
{{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|alt|date=2013-07-04|lat=34|lon=35|desc=[[User:1PE|1PE]] wishes}}

Latest revision as of 19:50, 19 February 2020

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|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