Difference between revisions of "Template:Drag-along"

From Geohashing
m (Replacing Peeron with Geohashing.info)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
+
{{Ribbon
<tr>
+
| color    = #690000
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: #690000; border-collapse: separate;"><div>[[Image:Compass.jpg|44px]]</div></td>
+
| icon      = Drag-along.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[drag-along |Drag-Along]] achievement'''
+
| user      = {{{name|}}}
:by reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]] {{#if:{{{partner|}}}|with [[User:{{{partner}}}|{{{partner}}}]]|}}. </td>
+
| achievement = [[Drag-along achievement]]
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action    = {{#if:{{{partner|}}}|dragging {{{partner}}} to|reaching}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:Drag-Along achievement]]
+
| category  = Drag-along achievement
 
+
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
<noinclude>
+
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 22: Line 22:
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
  
'''Example:'''
+
'''Example with another user:'''
<code>&#x007B;{drag-along
+
<pre><nowiki>{{drag-along
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| partner = [[User:Jevanyn|]]
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
}}</nowiki></pre> appears as:
 +
 
 +
{{drag-along
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| partner = [[User:Jevanyn|Jevanyn]]
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
}}
 +
 
 +
'''Example with a non-user:'''
 +
<pre><nowiki>{{drag-along
 
| latitude = 47
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
| partner = Widder
+
| partner = a friend
 
| name = Widdershins
 
| name = Widdershins
 
| image = Widder.jpg
 
| image = Widder.jpg
}}</code> appears as:
+
}}</nowiki></pre> appears as:
  
 
{{drag-along
 
{{drag-along
Line 36: Line 55:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
| partner = Widder
+
| partner = a friend
 
| name = Widdershins
 
| name = Widdershins
 
| image = Widder.jpg
 
| image = Widder.jpg

Latest revision as of 10:45, 15 January 2022

Drag-along.png
This user earned the Drag-along achievement
by reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{drag-along

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| partner = partner (optional, username of person who you Dragged)
| name = name of achiever (optional)
| image = image name (optional)

}}

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

Example with another user:

{{drag-along
| latitude = 47
| longitude = -122
| date = 2008-05-25
| partner = [[User:Jevanyn|]]
| name = Widdershins
| image = Widder.jpg
}}

appears as:

Drag-along.png
Widdershins earned the Drag-along achievement
by dragging Jevanyn to the (47, -122) geohash on 2008-05-25.
Widder.jpg

Example with a non-user:

{{drag-along
| latitude = 47
| longitude = -122
| date = 2008-05-25
| partner = a friend
| name = Widdershins
| image = Widder.jpg
}}

appears as:

Drag-along.png
Widdershins earned the Drag-along achievement
by dragging a friend to the (47, -122) geohash on 2008-05-25.
Widder.jpg

Example: {{drag-along | latitude = 47 | longitude = -122 | date = 2008-05-25 | name = Widdershins }} appears as:

Drag-along.png
Widdershins earned the Drag-along achievement
by reaching the (47, -122) geohash on 2008-05-25.

Example: {{drag-along | latitude = 47 | longitude = -122 | date = 2008-05-25 }} appears as:

Drag-along.png
This user earned the Drag-along achievement
by reaching the (47, -122) geohash on 2008-05-25.