Difference between revisions of "User:Pedalpusher/sandbox/ToTHSingle"

From Geohashing
imported>Pedalpusher
(added more examples)
m (Replacing Peeron with Geohashing.info)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
|icon = {{#ifeq:{{{completed|}}}|yes| T2htemp2.JPG | T2htemp1.JPG }}
 
|icon = {{#ifeq:{{{completed|}}}|yes| T2htemp2.JPG | T2htemp1.JPG }}
 
|user = {{#ifeq:{{{completed|}}}|yes| {{#ifeq:{{{challenger|}}}|no| {{{user2|}}} |{{{user1|}}} }} | {{{user1|}}} }}
 
|user = {{#ifeq:{{{completed|}}}|yes| {{#ifeq:{{{challenger|}}}|no| {{{user2|}}} |{{{user1|}}} }} | {{{user1|}}} }}
 +
|customtitle = {{#switch: {{{completed|}}} | yes = earned | issued a challenge for the }}
 
|achievement = [[A Tale of Two Hashes achievement]]
 
|achievement = [[A Tale of Two Hashes achievement]]
 
|action = {{#ifeq:{{{completed|}}}|yes
 
|action = {{#ifeq:{{{completed|}}}|yes
  
|<!-- then another #if: --> {{#ifeq:{{{challenger|}}}|no|<!-- nested then --> meeting the challenge of {{{user1}}} to geohash in {{{place}}}, going to the [http://carabiner.peeron.com/xkcd/map/map.html?lat={{{latitude2}}}&long={{{longitude2}}}&date={{{date2}}} ({{{latitude2}}}, {{{longitude2}}}) geohash] on [[{{{date2}}} {{{latitude2}}} {{{longitude2}}}|{{{date2}}}]] | <!-- nested else --> having their challenge, issued on [[{{{date1}}} {{{latitude1}}} {{{longitude1}}}|{{{date1}}}]], met by {{{user2}}} in {{{place}}} }}
+
|<!-- if yes, another #if: --> {{#ifeq:{{{challenger|}}}|no|<!-- nested then --> meeting the challenge of {{{user1}}} to geohash in {{{place}}}, going to the {{egl|{{{date2}}}|{{{latitude2}}}|{{{longitude2}}}|text= ({{{latitude2}}}, {{{longitude2}}}) geohash}} on [[{{{date2}}} {{{latitude2}}} {{{longitude2}}}|{{{date2}}}]] | <!-- nested else --> having their challenge, issued on [[{{{date1}}} {{{latitude1}}} {{{longitude1}}}|{{{date1}}}]], met by {{{user2}}} in {{{place}}} }}
  
| <!-- else: -->geohashing in a place named {{{place}}} at the [http://carabiner.peeron.com/xkcd/map/map.html?lat={{{latitude1}}}&long={{{longitude1}}}&date={{{date1}}} ({{{latitude1}}}, {{{longitude1}}}) geohash] on [[{{{date1}}} {{{latitude1}}} {{{longitude1}}}|{{{date1}}}]]
+
| <!-- else: -->geohashing in a place named {{{place}}} at the {{egl|{{{date1}}}|{{{latitude1}}}|{{{longitude1}}}|text= ({{{latitude1}}}, {{{longitude1}}}) geohash}} on [[{{{date1}}} {{{latitude1}}} {{{longitude1}}}|{{{date1}}}]]
 
|image = {{{image|}}}} ]]}}
 
|image = {{{image|}}}} ]]}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
Line 105: Line 106:
 
:| latitude2 = 42
 
:| latitude2 = 42
 
:| longitude2 = -78
 
:| longitude2 = -78
:| date2 = 2008-02-03
+
:| date2 = 2015-03-26
 
:| user2 = Joe
 
:| user2 = Joe
 
:| place = wherever
 
:| place = wherever
Line 119: Line 120:
 
| latitude2 = 42
 
| latitude2 = 42
 
| longitude2 = -78
 
| longitude2 = -78
| date2 = 2008-02-03
+
| date2 = 2015-03-26
 
| user2 = Joe
 
| user2 = Joe
 
| place = wherever
 
| place = wherever
Line 137: Line 138:
 
:| latitude2 = 42
 
:| latitude2 = 42
 
:| longitude2 = -78
 
:| longitude2 = -78
:| date2 = 2008-02-03
+
:| date2 = 2015-03-26
 
:| user2 = Joe
 
:| user2 = Joe
 
:| place = wherever
 
:| place = wherever
Line 151: Line 152:
 
| latitude2 = 42
 
| latitude2 = 42
 
| longitude2 = -78
 
| longitude2 = -78
| date2 = 2008-02-03
+
| date2 = 2015-03-26
 
| user2 = Joe
 
| user2 = Joe
 
| place = wherever
 
| place = wherever
Line 169: Line 170:
 
:| latitude2 = 42
 
:| latitude2 = 42
 
:| longitude2 = -78
 
:| longitude2 = -78
:| date2 = 2008-02-03
+
:| date2 = 2015-03-26
 
:| user2 = Joe
 
:| user2 = Joe
 
:| place = wherever
 
:| place = wherever
Line 182: Line 183:
 
| latitude2 = 42
 
| latitude2 = 42
 
| longitude2 = -78
 
| longitude2 = -78
| date2 = 2008-02-03
+
| date2 = 2015-03-26
 
| user2 = Joe
 
| user2 = Joe
 
| place = wherever
 
| place = wherever
Line 199: Line 200:
 
:| latitude2 = 42
 
:| latitude2 = 42
 
:| longitude2 = -78
 
:| longitude2 = -78
:| date2 = 2008-02-03
+
:| date2 = 2015-03-26
 
:| place = wherever
 
:| place = wherever
 
:| completed = yes
 
:| completed = yes
Line 211: Line 212:
 
| latitude2 = 42
 
| latitude2 = 42
 
| longitude2 = -78
 
| longitude2 = -78
| date2 = 2008-02-03
+
| date2 = 2015-03-26
 
| place = wherever
 
| place = wherever
 
| completed = yes
 
| completed = yes
Line 223: Line 224:
 
:| latitude2 = 42
 
:| latitude2 = 42
 
:| longitude2 = -78
 
:| longitude2 = -78
:| date2 = 2008-02-03
+
:| date2 = 2015-03-26
 
:| place = wherever
 
:| place = wherever
 
:| completed = yes
 
:| completed = yes
Line 232: Line 233:
 
| latitude2 = 42
 
| latitude2 = 42
 
| longitude2 = -78
 
| longitude2 = -78
| date2 = 2008-02-03
+
| date2 = 2015-03-26
 
| place = wherever
 
| place = wherever
 
| completed = yes
 
| completed = yes
 
| challenger = no
 
| challenger = no
 
}}
 
}}

Latest revision as of 20:17, 18 January 2022

Tale of Two Hashes Template

T2htemp1.JPG
This user issued a challenge for the A Tale of Two Hashes achievement
by geohashing in a place named {{{place}}} at the ({{{latitude1}}}, {{{longitude1}}}) geohash on [[{{{date1}}} {{{latitude1}}} {{{longitude1}}}|{{{date1}}}]].


How to use this template

{{A Tale of Two Hashes

| latitude1 = latitude of first expedition (required for challenger's ribbon)
| longitude1 = longitude of first expedition (required for challenger's ribbon)
| date1 = date of first expedition (YYYY-MM-DD format) (required for challenger's ribbon)
| user1 = challenger's name (from first expedition; required)*
| latitude2 = latitude of second expedition (required if completed=yes)
| longitude2 = longitude of second expedition (required if completed=yes)
| date2 = date of second expedition (YYYY-MM-DD format) (required if completed=yes)
| user2 = completer's name (from second expedition; required if completed=yes)*
| place = the common place name (required)
| completed = no|yes (default is no; required)
| challenger = no|yes (Are you the challenger[user1]? default is yes; required if completed=yes)*
| image = image name from your expedition (optional)

}}

The image name should not include 'Image:' or surrounding braces.

*Note if challenger = yes, then user1 is optional, if no, then user2 is optional. Challenger indicates the name going in the title of the ribbon. If correct user is left out, ribbon will read 'This user earned the A Tale...' See below for examples.



Examples

Challenger Expedition (Initial)

Note: you can leave the lines for the completion expedition as they will (hopefully) be needed when completed changes to 'yes'

Full Details

{{A Tale of Two Hashes challenge

| latitude1 = 53
| longitude1 = -1
| date1 = 2008-05-24
| user1 = Tom
| latitude2 = latitude of second expedition (required if completed=yes)
| longitude2 = longitude of second expedition (required if completed=yes)
| date2 = date of second expedition (YYYY-MM-DD format) (required if completed=yes)
| user2 = completer's name (from second expedition; required if completed=yes)*
| place = wherever
| completed = no
| challenger = yes
| image = 2008-05-24_53_-1_j.jpg

}} appears as:


T2htemp1.JPG
Tom issued a challenge for the A Tale of Two Hashes achievement
by geohashing in a place named wherever at the (53, -1) geohash on 2008-05-24.
2008-05-24 53 -1 j.jpg

Challenge Bare Minimum

{{A Tale of Two Hashes challenge

| latitude1 = 53
| longitude1 = -1
| date1 = 2008-05-24
| place = wherever

}} appears as:


T2htemp1.JPG
This user issued a challenge for the A Tale of Two Hashes achievement
by geohashing in a place named wherever at the (53, -1) geohash on 2008-05-24.

Challenge Completed

Initial Expedition

{{A Tale of Two Hashes challenge

| latitude1 = 53
| longitude1 = -1
| date1 = 2008-05-24
| user1 = Tom
| latitude2 = 42
| longitude2 = -78
| date2 = 2015-03-26
| user2 = Joe
| place = wherever
| completed = yes
| challenger = yes
| image = 2008-05-24_53_-1_j.jpg

}} appears as:


T2htemp2.JPG
Tom earned A Tale of Two Hashes achievement
by having their challenge, issued on 2008-05-24, met by Joe in wherever.
2008-05-24 53 -1 j.jpg

Second Expedition, Full Details

{{A Tale of Two Hashes challenge

| latitude1 = 53
| longitude1 = -1
| date1 = 2008-05-24
| user1 = Tom
| latitude2 = 42
| longitude2 = -78
| date2 = 2015-03-26
| user2 = Joe
| place = wherever
| completed = yes
| challenger = no
| image = 2015-09-05 bikeAtHash.jpg

}} appears as:


T2htemp2.JPG
Joe earned A Tale of Two Hashes achievement
by meeting the challenge of Tom to geohash in wherever, going to the (42, -78) geohash on 2015-03-26.
2015-09-05 bikeAtHash.jpg

Without Image

{{A Tale of Two Hashes challenge

| latitude1 = 53
| longitude1 = -1
| date1 = 2008-05-24
| user1 = Tom
| latitude2 = 42
| longitude2 = -78
| date2 = 2015-03-26
| user2 = Joe
| place = wherever
| completed = yes
| challenger = no

}} appears as:


T2htemp2.JPG
Joe earned A Tale of Two Hashes achievement
by meeting the challenge of Tom to geohash in wherever, going to the (42, -78) geohash on 2015-03-26.

Without Name for achiever

{{A Tale of Two Hashes challenge

| latitude1 = 53
| longitude1 = -1
| date1 = 2008-05-24
| user1 = Tom
| latitude2 = 42
| longitude2 = -78
| date2 = 2015-03-26
| place = wherever
| completed = yes
| challenger = no

}} appears as:


T2htemp2.JPG
This user earned A Tale of Two Hashes achievement
by meeting the challenge of Tom to geohash in wherever, going to the (42, -78) geohash on 2015-03-26.

Bare Minimum for Challenger Completed

{{A Tale of Two Hashes challenge

| user1 = Tom
| latitude2 = 42
| longitude2 = -78
| date2 = 2015-03-26
| place = wherever
| completed = yes
| challenger = no

}} appears as:


T2htemp2.JPG
This user earned A Tale of Two Hashes achievement
by meeting the challenge of Tom to geohash in wherever, going to the (42, -78) geohash on 2015-03-26.