Difference between revisions of "Template:No trespassing"

From Geohashing
imported>Tjtrumpet2323
m (Replacing Peeron with Geohashing.info)
 
(12 intermediate revisions by 7 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    = red
<td style="border-width: 5px; border-spacing: 2px; border-style: hidden hidden hidden solid; border-color: red; border-collapse: separate;"><div>[[Image:Notrespassing.gif|44px]]</div></td>
+
| icon    = Notrespassing.gif
<td style="padding: 0px 12px 0px 10px;"> '''{{#if:{{{name|}}}|{{{name}}}|This user}} earned the [[No Trespassing Geohash]] achievement'''
+
| user    = {{{name|}}}
:by 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}}}]]. </td>
+
| achievement = [[No trespassing consolation prize]]
{{#if:{{{image|}}}|<td><div style="width: 52px;">[[Image:{{{image}}}|44px]]</div></td>|}}
+
| action  = almost {{#if:{{{distance|}}}|({{{distance}}}) reaching|reaching}} the [https://geohashing.info/s/{{{date}}}/{{{latitude}}},{{{longitude}}} ({{{latitude}}}, {{{longitude}}}) geohash] on [[{{{date}}} {{{latitude}}} {{{longitude}}}|{{{date}}}]]
</tr>
+
| image    = {{{image|}}}
</table>[[Category:No Trespassing achievement]]
+
| 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 17: 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 28: 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 36: 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:'''
+
'''Example without image or 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
 +
| 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
 +
| distance =
 +
}}
 +
 +
'''Example with image and distance:'''
 +
<code>&#x007B;{No trespassing
 +
| latitude = 45
 +
| longitude = -122
 +
| date = 2008-02-19
 +
| name = MrGeohasher
 +
| image = Noterminal_portland_sample_2.jpg
 +
| distance = 4m
 +
}}</code> appears as:
 +
 +
{{No trespassing
 +
| latitude = 45
 +
| longitude = -122
 +
| 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