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

From Geohashing
imported>Fippe
m (date2 is later than date1. Example of an actual expedition.)
m (Replacing Peeron with Geohashing.info)
 
Line 11: Line 11:
 
|action = {{#ifeq:{{{completed|}}}|yes
 
|action = {{#ifeq:{{{completed|}}}|yes
  
|<!-- if yes, 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|}}}

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.