Difference between revisions of "Template:Drag-along"

From Geohashing
imported>Coreycubed
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.)
Line 1: Line 1:
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<table style="border-width: 1px; border-spacing: 0px; border-style: solid solid solid solid; border-color: lightgray;">
 
<tr>
 
<tr>
<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|44px]]</div></td>
+
<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>
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Drag-Along Geohash|Drag-Along]] achievement'''
 
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[Drag-Along Geohash|Drag-Along]] achievement'''
 
: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>
 
: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>

Revision as of 01:37, 24 October 2008

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.