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

From Geohashing
imported>Pedalpusher
m (added example)
m (Replacing Peeron with Geohashing.info)
 
(4 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 23: Line 24:
 
=== How to use this template ===
 
=== How to use this template ===
 
{{A Tale of Two Hashes
 
{{A Tale of Two Hashes
:| latitude1 = '''latitude of first expedition''' (required)
+
:| latitude1 = '''latitude of first expedition''' (required for challenger's ribbon)
:| longitude1 = '''longitude of first expedition''' (required)
+
:| longitude1 = '''longitude of first expedition''' (required for challenger's ribbon)
:| date1 = '''date of first expedition (YYYY-MM-DD format)''' (required)
+
:| date1 = '''date of first expedition (YYYY-MM-DD format)''' (required for challenger's ribbon)
 
:| user1 = '''challenger's name''' (from first expedition; required)*
 
:| user1 = '''challenger's name''' (from first expedition; required)*
 
:| latitude2 = '''latitude of second expedition''' ''(required if completed=yes)''
 
:| latitude2 = '''latitude of second expedition''' ''(required if completed=yes)''
Line 48: Line 49:
 
Note: you can leave the lines for the completion expedition as they will (hopefully) be needed when completed changes to 'yes'
 
Note: you can leave the lines for the completion expedition as they will (hopefully) be needed when completed changes to 'yes'
  
==== Example 1 ====
+
==== Full Details ====
 
<code>&#x007B;{A Tale of Two Hashes challenge
 
<code>&#x007B;{A Tale of Two Hashes challenge
 
:| latitude1 = 53
 
:| latitude1 = 53
Line 63: Line 64:
 
:| image = 2008-05-24_53_-1_j.jpg
 
:| image = 2008-05-24_53_-1_j.jpg
 
}}</code> appears as:
 
}}</code> appears as:
 
 
{{User:Pedalpusher/sandbox/ToTHSingle
 
{{User:Pedalpusher/sandbox/ToTHSingle
 
| latitude1 = 53
 
| latitude1 = 53
Line 79: Line 79:
 
}}
 
}}
  
 +
----
  
 
+
==== Challenge Bare Minimum ====
==== Bare Minimum ====
 
 
<code>&#x007B;{A Tale of Two Hashes challenge
 
<code>&#x007B;{A Tale of Two Hashes challenge
 
:| latitude1 = 53
 
:| latitude1 = 53
 
:| longitude1 = -1
 
:| longitude1 = -1
 
:| date1 = 2008-05-24
 
:| date1 = 2008-05-24
:| latitude2 = '''latitude of second expedition''' ''(required if completed=yes)''
+
:| place = wherever
:| 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 = Matlock
 
:| completed = no
 
:| challenger = yes
 
 
}}</code> appears as:
 
}}</code> appears as:
 
 
{{User:Pedalpusher/sandbox/ToTHSingle
 
{{User:Pedalpusher/sandbox/ToTHSingle
 
| latitude1 = 53
 
| latitude1 = 53
 
| longitude1 = -1
 
| longitude1 = -1
 
| date1 = 2008-05-24
 
| date1 = 2008-05-24
| latitude2 = '''latitude of second expedition''' ''(required if completed=yes)''
+
| place = wherever
| 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 = Matlock
 
| completed = no
 
| challenger = yes
 
 
}}
 
}}
  
 +
----
  
 
=== Challenge Completed ===
 
=== Challenge Completed ===
Line 118: 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 125: Line 113:
 
:| image = 2008-05-24_53_-1_j.jpg
 
:| image = 2008-05-24_53_-1_j.jpg
 
}}</code> appears as:
 
}}</code> appears as:
 
 
{{User:Pedalpusher/sandbox/ToTHSingle
 
{{User:Pedalpusher/sandbox/ToTHSingle
 
| latitude1 = 53
 
| latitude1 = 53
Line 133: 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 139: Line 126:
 
| challenger = yes
 
| challenger = yes
 
| image = 2008-05-24_53_-1_j.jpg
 
| image = 2008-05-24_53_-1_j.jpg
 +
}}
 +
 +
----
 +
 +
==== Second Expedition, Full Details ====
 +
<code>&#x007B;{A Tale of Two Hashes challenge
 +
:| latitude1 = 53
 +
:| longitude1 = -1
 +
:| date1 = 2008-05-24
 +
:| user1 = [[User:Tomtom|Tom]]
 +
:| latitude2 = 42
 +
:| longitude2 = -78
 +
:| date2 = 2015-03-26
 +
:| user2 = Joe
 +
:| place = wherever
 +
:| completed = yes
 +
:| challenger = no
 +
:| image = 2015-09-05 bikeAtHash.jpg
 +
}}</code> appears as:
 +
{{User:Pedalpusher/sandbox/ToTHSingle
 +
| latitude1 = 53
 +
| longitude1 = -1
 +
| date1 = 2008-05-24
 +
| user1 = [[User:Tomtom|Tom]]
 +
| latitude2 = 42
 +
| longitude2 = -78
 +
| date2 = 2015-03-26
 +
| user2 = Joe
 +
| place = wherever
 +
| completed = yes
 +
| challenger = no
 +
| image = 2015-09-05 bikeAtHash.jpg
 +
}}
 +
 +
----
 +
 +
==== Without Image ====
 +
<code>&#x007B;{A Tale of Two Hashes challenge
 +
:| latitude1 = 53
 +
:| longitude1 = -1
 +
:| date1 = 2008-05-24
 +
:| user1 = [[User:Tomtom|Tom]]
 +
:| latitude2 = 42
 +
:| longitude2 = -78
 +
:| date2 = 2015-03-26
 +
:| user2 = Joe
 +
:| place = wherever
 +
:| completed = yes
 +
:| challenger = no
 +
}}</code> appears as:
 +
{{User:Pedalpusher/sandbox/ToTHSingle
 +
| latitude1 = 53
 +
| longitude1 = -1
 +
| date1 = 2008-05-24
 +
| user1 = [[User:Tomtom|Tom]]
 +
| latitude2 = 42
 +
| longitude2 = -78
 +
| date2 = 2015-03-26
 +
| user2 = Joe
 +
| place = wherever
 +
| completed = yes
 +
| challenger = no
 +
}}
 +
 +
----
 +
 +
==== Without Name for achiever ====
 +
<code>&#x007B;{A Tale of Two Hashes challenge
 +
:| latitude1 = 53
 +
:| longitude1 = -1
 +
:| date1 = 2008-05-24
 +
:| user1 = [[User:Tomtom|Tom]]
 +
:| latitude2 = 42
 +
:| longitude2 = -78
 +
:| date2 = 2015-03-26
 +
:| place = wherever
 +
:| completed = yes
 +
:| challenger = no
 +
}}</code> appears as:
 +
{{User:Pedalpusher/sandbox/ToTHSingle
 +
| latitude1 = 53
 +
| longitude1 = -1
 +
| date1 = 2008-05-24
 +
| user1 = [[User:Tomtom|Tom]]
 +
| latitude2 = 42
 +
| longitude2 = -78
 +
| date2 = 2015-03-26
 +
| place = wherever
 +
| completed = yes
 +
| challenger = no
 +
}}
 +
 +
----
 +
==== Bare Minimum for Challenger Completed ====
 +
<code>&#x007B;{A Tale of Two Hashes challenge
 +
:| user1 = [[User:Tomtom|Tom]]
 +
:| latitude2 = 42
 +
:| longitude2 = -78
 +
:| date2 = 2015-03-26
 +
:| place = wherever
 +
:| completed = yes
 +
:| challenger = no
 +
}}</code> appears as:
 +
{{User:Pedalpusher/sandbox/ToTHSingle
 +
| user1 = [[User:Tomtom|Tom]]
 +
| latitude2 = 42
 +
| longitude2 = -78
 +
| date2 = 2015-03-26
 +
| place = wherever
 +
| completed = yes
 +
| 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.