Difference between revisions of "Template:Drag-along"

From Geohashing
imported>Relet
(change logo size, to force re-rendering. as per mediawiki FAQ: When there is a foolproof method for updating thumbnails or forcing them to re-render, rest assured, we will let you know.)
m (Replacing Peeron with Geohashing.info)
 
(7 intermediate revisions by 3 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:Drag-along.png|45px]]</div></td>
+
| icon      = Drag-along.png
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Drag-Along Geohash|Drag-Along]] achievement'''
+
| user      = {{{name|}}}
:by {{#if:{{{partner|}}}|dragging {{{partner}}} to|reaching}} the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]. </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:'''
  

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.