Difference between revisions of "Template:No trespassing"

From Geohashing
imported>Relet
(-> ribbon template)
m (Replacing Peeron with Geohashing.info)
 
(9 intermediate revisions by 5 users not shown)
Line 3: Line 3:
 
| icon    = Notrespassing.gif
 
| icon    = Notrespassing.gif
 
| user    = {{{name|}}}
 
| user    = {{{name|}}}
| achievement = [[No Trespassing Geohash]] Consolation Prize
+
| achievement = [[No trespassing consolation prize]]
| action  = almost reaching the [http://irc.peeron.com/xkcd/map/map.html?lat={{{latitude}}}&long={{{longitude}}}&date={{{date}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
+
| action  = almost {{#if:{{{distance|}}}|({{{distance}}}) reaching|reaching}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
 
| image    = {{{image|}}}
 
| image    = {{{image|}}}
| category = No Trespassing consolation prize
+
| category = No trespassing consolation prize
 +
| expedition = [[{{{date}}} {{{latitude}}} {{{longitude}}}]]
 
}}<noinclude>
 
}}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
&#x007B;{No trespassing geohash
+
&#x007B;{No trespassing  
 
:| latitude = '''latitude''' (required)
 
:| latitude = '''latitude''' (required)
 
:| longitude = '''longitude''' (required)
 
:| longitude = '''longitude''' (required)
Line 16: Line 17:
 
:''| name = '''name of achiever''' (optional)''
 
:''| name = '''name of achiever''' (optional)''
 
:''| image = '''image name''' (optional)''
 
:''| image = '''image name''' (optional)''
 +
:''| distance = '''distance to the hashpoint''' (optional)''
 
}}
 
}}
  
 
The image name should not include 'Image:' or surrounding braces.
 
The image name should not include 'Image:' or surrounding braces.
  
'''Example:'''
+
'''Copyable, minimal example:'''
<code>&#x007B;{No trespassing geohash
+
<pre>{{No trespassing |latitude= |longitude= |date= |image= |name= ~~~ |distance= }}</pre>
 +
 
 +
'''Example with image:'''
 +
<code>&#x007B;{No trespassing  
 
| latitude = 45
 
| latitude = 45
 
| longitude = -122
 
| longitude = -122
Line 27: Line 32:
 
| name = MrGeohasher
 
| name = MrGeohasher
 
| image = Noterminal_portland_sample_2.jpg
 
| image = Noterminal_portland_sample_2.jpg
 +
| distance =
 
}}</code> appears as:
 
}}</code> appears as:
  
{{No trespassing geohash
+
{{No trespassing
 
| latitude = 45
 
| latitude = 45
 
| longitude = -122
 
| longitude = -122
Line 35: Line 41:
 
| name = MrGeohasher
 
| name = MrGeohasher
 
| image = Noterminal_portland_sample_2.jpg
 
| image = Noterminal_portland_sample_2.jpg
 +
| distance =
 
}}
 
}}
  
'''Example:'''
+
'''Example without image, but with name:'''
<code>&#x007B;{No trespassing geohash
+
<code>&#x007B;{No trespassing  
 
| latitude = 45
 
| latitude = 45
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = MrGeohasher
 
| name = MrGeohasher
 +
| distance =
 
}}</code> appears as:
 
}}</code> appears as:
  
{{No trespassing geohash
+
{{No trespassing
 
| latitude = 45
 
| latitude = 45
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-02-19
 
| date = 2008-02-19
 
| name = MrGeohasher
 
| name = MrGeohasher
 +
| distance =
 +
}}
 +
 +
'''Example without image or name:'''
 +
<code>&#x007B;{No trespassing
 +
| latitude = 45
 +
| longitude = -122
 +
| date = 2008-02-19
 +
| distance =
 +
}}</code> appears as:
 +
 +
{{No trespassing
 +
| latitude = 45
 +
| longitude = -122
 +
| date = 2008-02-19
 +
| distance =
 
}}
 
}}
  
'''Example:'''
+
'''Example with image and distance:'''
<code>&#x007B;{No trespassing geohash
+
<code>&#x007B;{No trespassing  
 
| latitude = 45
 
| latitude = 45
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-02-19
 
| date = 2008-02-19
 +
| name = MrGeohasher
 +
| image = Noterminal_portland_sample_2.jpg
 +
| distance = 4m
 
}}</code> appears as:
 
}}</code> appears as:
  
{{No trespassing geohash
+
{{No trespassing
 
| latitude = 45
 
| latitude = 45
 
| longitude = -122
 
| longitude = -122
 
| date = 2008-02-19
 
| date = 2008-02-19
 +
| name = MrGeohasher
 +
| image = Noterminal_portland_sample_2.jpg
 +
| distance = 4m
 
}}
 
}}
  
 
[[Category:Achievement award templates]]
 
[[Category:Achievement award templates]]
 +
 
</noinclude>
 
</noinclude>

Latest revision as of 10:50, 15 January 2022

Notrespassing.gif
This user earned the No trespassing consolation prize
by almost reaching the ({{{latitude}}}, {{{longitude}}}) geohash on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]].

How to use this template:

{{No trespassing

| latitude = latitude (required)
| longitude = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| name = name of achiever (optional)
| image = image name (optional)
| distance = distance to the hashpoint (optional)

}}

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

Copyable, minimal example:

{{No trespassing |latitude= |longitude= |date= |image= |name= ~~~ |distance= }}

Example with image: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = MrGeohasher | image = Noterminal_portland_sample_2.jpg | distance = }} appears as:

Notrespassing.gif
MrGeohasher earned the No trespassing consolation prize
by almost reaching the (45, -122) geohash on 2008-02-19.
Noterminal portland sample 2.jpg

Example without image, but with name: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = MrGeohasher | distance = }} appears as:

Notrespassing.gif
MrGeohasher earned the No trespassing consolation prize
by almost reaching the (45, -122) geohash on 2008-02-19.

Example without image or name: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 | distance = }} appears as:

Notrespassing.gif
This user earned the No trespassing consolation prize
by almost reaching the (45, -122) geohash on 2008-02-19.

Example with image and distance: {{No trespassing | latitude = 45 | longitude = -122 | date = 2008-02-19 | name = MrGeohasher | image = Noterminal_portland_sample_2.jpg | distance = 4m }} appears as:

Notrespassing.gif
MrGeohasher earned the No trespassing consolation prize
by almost (4m) reaching the (45, -122) geohash on 2008-02-19.
Noterminal portland sample 2.jpg