Difference between revisions of "User:Pedalpusher/sandbox/ToTHSingle"
imported>Pedalpusher (set up single template option for Tale of Two Ribbon) |
m (Replacing Peeron with Geohashing.info) |
||
(6 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 | ||
− | |<!-- | + | |<!-- 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}}} | + | | <!-- 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 39: | Line 40: | ||
The image name should not include 'Image:' or surrounding braces. | The image name should not include 'Image:' or surrounding braces. | ||
− | '''<nowiki>*</nowiki>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...' ''' | + | '''<nowiki>*</nowiki>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 ==== | ||
+ | <code>{{A Tale of Two Hashes challenge | ||
+ | :| latitude1 = 53 | ||
+ | :| longitude1 = -1 | ||
+ | :| date1 = 2008-05-24 | ||
+ | :| user1 = [[User:Tomtom|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 | ||
+ | }}</code> appears as: | ||
+ | {{User:Pedalpusher/sandbox/ToTHSingle | ||
+ | | latitude1 = 53 | ||
+ | | longitude1 = -1 | ||
+ | | date1 = 2008-05-24 | ||
+ | | user1 = [[User:Tomtom|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 | ||
+ | }} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Challenge Bare Minimum ==== | ||
+ | <code>{{A Tale of Two Hashes challenge | ||
+ | :| latitude1 = 53 | ||
+ | :| longitude1 = -1 | ||
+ | :| date1 = 2008-05-24 | ||
+ | :| place = wherever | ||
+ | }}</code> appears as: | ||
+ | {{User:Pedalpusher/sandbox/ToTHSingle | ||
+ | | latitude1 = 53 | ||
+ | | longitude1 = -1 | ||
+ | | date1 = 2008-05-24 | ||
+ | | place = wherever | ||
+ | }} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | === Challenge Completed === | ||
+ | ==== Initial Expedition ==== | ||
+ | <code>{{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 = yes | ||
+ | :| image = 2008-05-24_53_-1_j.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 = yes | ||
+ | | image = 2008-05-24_53_-1_j.jpg | ||
+ | }} | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Second Expedition, Full Details ==== | ||
+ | <code>{{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>{{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>{{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>{{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
Contents
Tale of Two Hashes Template
This user issued a challenge for the A Tale of Two Hashes achievement
|
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:
Tom issued a challenge for the A Tale of Two Hashes achievement
|
Challenge Bare Minimum
{{A Tale of Two Hashes challenge
- | latitude1 = 53
- | longitude1 = -1
- | date1 = 2008-05-24
- | place = wherever
}}
appears as:
This user issued a challenge for the A Tale of Two Hashes achievement
|
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:
Tom earned A Tale of Two Hashes achievement
|
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:
Joe earned A Tale of Two Hashes achievement
|
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:
Joe earned A Tale of Two Hashes achievement
|
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:
This user earned A Tale of Two Hashes achievement
|
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:
This user earned A Tale of Two Hashes achievement
|