Difference between revisions of "Template:A Tale of Two Hashes"

From Geohashing
imported>Wmcduff
(Ribbon creation)
 
m (Ribbon2 -> Ribbon)
 
(12 intermediate revisions by 9 users not shown)
Line 3: Line 3:
 
|icon = T2htemp2.JPG
 
|icon = T2htemp2.JPG
 
|user = {{{name|}}}
 
|user = {{{name|}}}
|achievement = [[A Tale of Two Hashes Achievement]]
+
|achievement = [[A Tale of Two Hashes achievement|Tale of Two Hashes achievement]]
|action = by meeting the challenge by {{{user2}}} to geohash in {{{place}}} by going to the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
|action = {{#if:{{{completed|}}}|<!-- then: -->having their challenge met by {{{user2}}} in {{{place}}} on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]|<!-- else: -->meeting the challenge by {{{user2}}} to geohash in {{{place}}} going to the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 
|category = A Tale of Two Hashes achievement
 
|category = A Tale of Two Hashes achievement
 +
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 
}}<noinclude>
 
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
{{A Tale of Two Hashes geohash
+
{{A Tale of Two Hashes
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
 
:| date = '''date (YYYY-MM-DD format)''' (required)
:| user2 = '''challenger's name'''' (required)
+
:| user2 = '''challenger's name''' (required)
 +
:| place = '''the common place name''' (required)
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
Line 21: Line 23:
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
  
'''Example:'''
+
=== Examples ===
<code>&#x007B;{A Tale of Two Hashes geohash
+
==== Second expedition ====
 +
* Full details:
 +
<code>&#x007B;{A Tale of Two Hashes
 
:| latitude = 53
 
:| latitude = 53
:| longitude = 1
+
:| longitude = -1
 
:| date = 2008-05-24
 
:| date = 2008-05-24
 
:| user2 = [[User:wmcduff|wmcduff]]
 
:| user2 = [[User:wmcduff|wmcduff]]
 +
:| place = wherever
 
:| name = [[User:Tomtom|Tom]]
 
:| name = [[User:Tomtom|Tom]]
 
:| image = 2008-05-24_53_-1_j.jpg
 
:| image = 2008-05-24_53_-1_j.jpg
 
}}</code> appears as:
 
}}</code> appears as:
  
{{A Tale of Two Hashes geohash
+
{{A Tale of Two Hashes
 
| latitude = 53
 
| latitude = 53
| longitude = 1
+
| longitude = -1
 
| date = 2008-05-24
 
| date = 2008-05-24
 
| user2 = [[User:wmcduff|wmcduff]]
 
| user2 = [[User:wmcduff|wmcduff]]
 +
| place = wherever
 
| name = [[User:Tomtom|Tom]]
 
| name = [[User:Tomtom|Tom]]
 
| image = 2008-05-24_53_-1_j.jpg
 
| image = 2008-05-24_53_-1_j.jpg
 
}}
 
}}
  
'''Example:'''
+
* No image:
<code>&#x007B;{A Tale of Two Hashes geohash
+
<code>&#x007B;{A Tale of Two Hashes
 
:| latitude = 53
 
:| latitude = 53
:| longitude = 1
+
:| longitude = -1
 
:| date = 2008-05-24
 
:| date = 2008-05-24
 
:| user2 = [[User:wmcduff|wmcduff]]
 
:| user2 = [[User:wmcduff|wmcduff]]
 +
:| place = wherever
 
:| name = [[User:Tomtom|Tom]]
 
:| name = [[User:Tomtom|Tom]]
 
}}</code> appears as:
 
}}</code> appears as:
  
{{A Tale of Two Hashes geohash
+
{{A Tale of Two Hashes
 
| latitude = 53
 
| latitude = 53
| longitude = 1
+
| longitude = -1
 
| date = 2008-05-24
 
| date = 2008-05-24
 
| user2 = [[User:wmcduff|wmcduff]]
 
| user2 = [[User:wmcduff|wmcduff]]
 +
| place = wherever
 
| name = [[User:Tomtom|Tom]]
 
| name = [[User:Tomtom|Tom]]
 
}}
 
}}
  
'''Example:'''
+
* No name provided for achiever, defaults to "This user":
<code>&#x007B;{A Tale of Two Hashes geohash
+
<code>&#x007B;{A Tale of Two Hashes
 
:| latitude = 53
 
:| latitude = 53
:| longitude = 1
+
:| longitude = -1
 
:| date = 2008-05-24
 
:| date = 2008-05-24
 
:| user2 = [[User:wmcduff|wmcduff]]
 
:| user2 = [[User:wmcduff|wmcduff]]
 +
:| place = wherever
 
}}</code> appears as:
 
}}</code> appears as:
  
{{A Tale of Two Hashes geohash
+
{{A Tale of Two Hashes
 
| latitude = 53
 
| latitude = 53
| longitude = 1
+
| longitude = -1
 
| date = 2008-05-24
 
| date = 2008-05-24
 
| user2 = [[User:wmcduff|wmcduff]]
 
| user2 = [[User:wmcduff|wmcduff]]
 +
| place = wherever
 +
}}
 +
 +
==== Initial expedition ====
 +
<code>&#x007B;{A Tale of Two Hashes
 +
:| latitude = 53
 +
:| longitude = -1
 +
:| completed = yes
 +
:| date = 2008-05-24
 +
:| user2 = [[User:Tomtom|Tom]]
 +
:| place = wherever
 +
:| name = [[User:wmcduff|wmcduff]]
 +
:| image = 2008-05-24_53_-1_j.jpg
 +
}}</code> appears as:
 +
 +
{{A Tale of Two Hashes
 +
| latitude = 53
 +
| longitude = -1
 +
| completed = yes
 +
| date = 2008-05-24
 +
| user2 = [[User:Tomtom|Tom]]
 +
| place = wherever
 +
| name = [[User:wmcduff|wmcduff]]
 +
| image = 2008-05-24_53_-1_j.jpg
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 02:38, 17 November 2024

T2htemp2.JPG
This user earned the Tale of Two Hashes achievement
by meeting the challenge by {{{user2}}} to geohash in {{{place}}} going to the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{A Tale of Two Hashes

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| user2 = challenger's name (required)
| place = the common place name (required)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Examples

Second expedition

  • Full details:

{{A Tale of Two Hashes

| latitude = 53
| longitude = -1
| date = 2008-05-24
| user2 = wmcduff
| place = wherever
| name = Tom
| image = 2008-05-24_53_-1_j.jpg

}} appears as:

T2htemp2.JPG
Tom earned the Tale of Two Hashes achievement
by meeting the challenge by wmcduff to geohash in wherever going to the (53, -1) geohash on 2008-05-24.
2008-05-24 53 -1 j.jpg
  • No image:

{{A Tale of Two Hashes

| latitude = 53
| longitude = -1
| date = 2008-05-24
| user2 = wmcduff
| place = wherever
| name = Tom

}} appears as:

T2htemp2.JPG
Tom earned the Tale of Two Hashes achievement
by meeting the challenge by wmcduff to geohash in wherever going to the (53, -1) geohash on 2008-05-24.
  • No name provided for achiever, defaults to "This user":

{{A Tale of Two Hashes

| latitude = 53
| longitude = -1
| date = 2008-05-24
| user2 = wmcduff
| place = wherever

}} appears as:

T2htemp2.JPG
This user earned the Tale of Two Hashes achievement
by meeting the challenge by wmcduff to geohash in wherever going to the (53, -1) geohash on 2008-05-24.

Initial expedition

{{A Tale of Two Hashes

| latitude = 53
| longitude = -1
| completed = yes
| date = 2008-05-24
| user2 = Tom
| place = wherever
| name = wmcduff
| image = 2008-05-24_53_-1_j.jpg

}} appears as:

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