imported>Mattyk |
(Replacing old links) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div style="float:right;clear:right;margin-top: -2em;">[[ | + | <includeonly><div style="float:right;clear:right;margin-top: -2em;">[[{{canonicalurl:User:Mattyk/Hash/doc|action=edit}} edit documentation]]</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. | :You can leave the word <code>result=</code> out, as long as the result is the first unnamed parameter. | ||
;Description | ;Description | ||
Line 25: | Line 26: | ||
===Examples=== | ===Examples=== | ||
− | <nowiki>{{User:Mattyk/Hash|date=2008-09-20|latitude=-19| | + | <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-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| | + | <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- | + | :{{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| | + | :{{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-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; - 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=...
ordesc=...
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}}
- 2008-09-20 -19 146: out near Woodstock
- 2008-10-04 -19 146: Failed - No public access
- 2008-11-05 47 -122: Hash #30 for Thomcat.
- 2013-07-04 34 35: 1PE wishes