Difference between revisions of "Template:Drag-along"

From Geohashing
imported>Jevanyn
("partner" is not necessarily a user, resulting in broken links)
imported>Jevanyn
(added example of partner-as-user, changed code to preformatted nowiki.)
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
 
| latitude = 47
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
| partner = Widder
+
| partner = [[User:Jevanyn|]]
 
| name = Widdershins
 
| name = Widdershins
 
| image = Widder.jpg
 
| image = Widder.jpg
}}</code> appears as:
+
}}</nowiki></pre> appears as:
  
 
{{drag-along
 
{{drag-along
Line 36: Line 36:
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-05-25
 
| date = 2008-05-25
| partner = Widder
+
| partner = [[User:Jevanyn|Jevanyn]]
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
}}
 +
 
 +
'''Example with a non-user:'''
 +
<pre><nowiki>{{drag-along
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| partner = a friend
 +
| name = Widdershins
 +
| image = Widder.jpg
 +
}}</nowiki></pre> appears as:
 +
 
 +
{{drag-along
 +
| latitude = 47
 +
| longitude = -122
 +
| date = 2008-05-25
 +
| partner = a friend
 
| name = Widdershins
 
| name = Widdershins
 
| image = Widder.jpg
 
| image = Widder.jpg

Revision as of 14:39, 29 July 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.