Difference between revisions of "User:Pedalpusher/sandbox/testTemplate"
From Geohashing
< User:Pedalpusher | sandbox
imported>Pedalpusher m (updated for formatting) |
m (Replacing Peeron with Geohashing.info) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
+ | == Single Template option == | ||
+ | I have now created a single template option which might be better, although it is still a bit complicated. | ||
+ | |||
+ | [[User:Pedalpusher/sandbox/ToTHSingle | ToTH Single Option]] | ||
+ | |||
== Challenge Completed Template == | == Challenge Completed Template == | ||
</noinclude> | </noinclude> | ||
Line 8: | Line 13: | ||
|user = {{{name|}}} | |user = {{{name|}}} | ||
|achievement = [[A Tale of Two Hashes achievement]] | |achievement = [[A Tale of Two Hashes achievement]] | ||
− | |action = {{#if:{{{completed|}}}|<!-- then: -->having their challenge, issued on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], met by {{{user2}}} in {{{place}}} |<!-- else: -->meeting the challenge of {{{user2}}} to geohash in {{{place}}}, going to the [ | + | |action = {{#if:{{{completed|}}}|<!-- then: -->having their challenge, issued on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]], met by {{{user2}}} in {{{place}}} |<!-- else: -->meeting the challenge of {{{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 | ||
Line 48: | Line 53: | ||
<code>{{A Tale of Two Hashes | <code>{{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]] | ||
Line 57: | Line 62: | ||
{{User:Pedalpusher/sandbox/testTemplate | {{User:Pedalpusher/sandbox/testTemplate | ||
| latitude = 53 | | latitude = 53 | ||
− | | longitude = 1 | + | | longitude = -1 |
| date = 2008-05-24 | | date = 2008-05-24 | ||
| user2 = [[User:wmcduff|wmcduff]] | | user2 = [[User:wmcduff|wmcduff]] | ||
Line 70: | Line 75: | ||
<code>{{A Tale of Two Hashes | <code>{{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]] | ||
Line 78: | Line 83: | ||
{{User:Pedalpusher/sandbox/testTemplate | {{User:Pedalpusher/sandbox/testTemplate | ||
| latitude = 53 | | latitude = 53 | ||
− | | longitude = 1 | + | | longitude = -1 |
| date = 2008-05-24 | | date = 2008-05-24 | ||
| user2 = [[User:wmcduff|wmcduff]] | | user2 = [[User:wmcduff|wmcduff]] | ||
Line 90: | Line 95: | ||
<code>{{A Tale of Two Hashes | <code>{{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]] | ||
Line 97: | Line 102: | ||
{{User:Pedalpusher/sandbox/testTemplate | {{User:Pedalpusher/sandbox/testTemplate | ||
| latitude = 53 | | latitude = 53 | ||
− | | longitude = 1 | + | | longitude = -1 |
| date = 2008-05-24 | | date = 2008-05-24 | ||
| user2 = [[User:wmcduff|wmcduff]] | | user2 = [[User:wmcduff|wmcduff]] | ||
Line 107: | Line 112: | ||
<code>{{A Tale of Two Hashes | <code>{{A Tale of Two Hashes | ||
:| latitude = 53 | :| latitude = 53 | ||
− | :| longitude = | + | :| longitude = -1 |
:| completed = yes | :| completed = yes | ||
:| date = 2008-05-24 | :| date = 2008-05-24 | ||
Line 117: | Line 122: | ||
{{User:Pedalpusher/sandbox/testTemplate | {{User:Pedalpusher/sandbox/testTemplate | ||
| latitude = 53 | | latitude = 53 | ||
− | | longitude = | + | | longitude = -1 |
| completed = yes | | completed = yes | ||
| date = 2008-05-24 | | date = 2008-05-24 |
Latest revision as of 10:54, 15 January 2022
Contents
Single Template option
I have now created a single template option which might be better, although it is still a bit complicated.
Challenge Completed Template
This user earned the A Tale of Two Hashes achievement
|
How to use this template
Second Expedition:
{{A Tale of Two Hashes
- | latitude = latitude (required)
- | longitude = longitude (required)
- | date = date of second expedition (YYYY-MM-DD format) (required)
- | user2 = challenger's name (from first expedition; required)
- | place = the common place name (required)
- | name = name of achiever (from second expedition; optional)
- | image = image name (optional)
}}
The image name should not include 'Image:' or surrounding braces.
Initial Expedition:
Note: This ribbon should replace the original challenge ribbon from the first expedition page.
{A Tale of Two Hashes
- | latitude = latitude (required)
- | longitude = longitude (required)
- | date = date of first expedition (YYYY-MM-DD format) (required)
- | completed = yes
- | user2 = completer's name (from second expedition; required)
- | place = the common place name (required)
- | name = name of challenger (from first expedition; optional)
- | image = image name (optional)
}}
Examples
Second expedition
- Full details:
{{A Tale of Two Hashes
}}
appears as:
Tom earned the A Tale of Two Hashes achievement
|
- No image:
{{A Tale of Two Hashes
}}
appears as:
Tom earned the A Tale of Two Hashes achievement
|
- 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:
This user earned the A Tale of Two Hashes achievement
|
Initial expedition
{{A Tale of Two Hashes
}}
appears as:
wmcduff earned the A Tale of Two Hashes achievement
|