Difference between revisions of "Template:Sourcerer/Expedition"

From Geohashing
imported>Sourcerer
m (Template:Sourcerer/Expedition)
imported>Sourcerer
m (Template:Sourcerer/Expedition)
Line 5: Line 5:
 
| [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}.5&lon={{{lon}}}.5&zoom=8&multi=false Map]
 
| [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}.5&lon={{{lon}}}.5&zoom=8&multi=false Map]
 
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:Chartreuse;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>|<span style="background-color:LightCoral;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>}} {{#if:{{{retro|}}}|<span style="background-color:DeepSkyBlue;">&nbsp;Retro&nbsp;</span>}}
 
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:Chartreuse;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>|<span style="background-color:LightCoral;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>}} {{#if:{{{retro|}}}|<span style="background-color:DeepSkyBlue;">&nbsp;Retro&nbsp;</span>}}
| {{{text| }}}<noinclude>
+
| {{{text| }}}
|}
+
| {{{achievements| }}}
 +
|}<noinclude>
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 12: Line 13:
  
 
&#x007B;{Sourcerer/Expedition
 
&#x007B;{Sourcerer/Expedition
:| date     = '''date (YYYY-MM-DD format)''' (required)
+
:| date         = '''date (YYYY-MM-DD format)''' (required)
:| lat     = '''latitude''' (required)
+
:| lat         = '''latitude''' (required)
:| lon     = '''longitude''' (required)
+
:| lon         = '''longitude''' (required)
:| day     = '''Mon, Tue, etc''' (required)
+
:| day         = '''Mon, Tue, etc''' (required)
:| reaCount = '''Coordinates reached in all graticules''' (required)
+
:| reaCount     = '''Coordinates reached in all graticules''' (required)
:| expCount = '''All expeditions in all graticules''' (required)
+
:| expCount     = '''All expeditions in all graticules''' (required)
:| reached = '''true''' (optional - include if the coordinates were reached)
+
:| reached     = '''true''' (optional - include if the coordinates were reached)
:| retro   = '''true''' (optional - include if it was a retro meetup)
+
:| retro       = '''true''' (optional - include if it was a retro meetup)
:| text     = '''One line description of the expedition''' (optional)
+
:| text         = '''One line description of the expedition''' (optional)
 +
:| achievements = '''Achievements''' (optional)
 
}}
 
}}
  
 
'''Example:'''
 
'''Example:'''
  
<code>&#x007B;{Sourcerer/Expedition | date = 2015-09-01 | lat = 52 | lon = 1 | day = Wed | reaCount = 88 | expCount = 99 | reached  = true | text = In a field somewhere in the Norwich graticule}}</code>
+
<code>&#x007B;{Sourcerer/Expedition | date = 2015-09-01 | lat = 52 | lon = 1 | day = Wed | reaCount = 88 | expCount = 99 | reached  = true | text = In a field somewhere in the Norwich graticule | achievements = Midnight}}</code>
  
 
appears as:
 
appears as:
Line 31: Line 33:
 
{| class="wikitable" cellpadding="0"
 
{| class="wikitable" cellpadding="0"
 
{{Sourcerer/Expedition
 
{{Sourcerer/Expedition
| lat     = 52
+
| lat         = 52
| lon     = 1
+
| lon         = 1
| date     = 2015-09-01
+
| date         = 2015-09-01
| day     = Wed
+
| day         = Wed
| expCount = 99
+
| expCount     = 99
| reaCount = 88
+
| reaCount     = 88
| reached = true
+
| reached     = true
| text     = In a field somewhere in the Norwich graticule
+
| text         = In a field somewhere in the Norwich graticule
 
+
| achievements = Midnight
 
}}
 
}}
 
|}</noinclude>
 
|}</noinclude>

Revision as of 16:51, 5 January 2016

[[{{{date}}} {{{lat}}} {{{lon}}}]] {{{day}}} Map  {{{reaCount}}}/{{{expCount}}} 

How to use this template:

This template should be used inside a table and it produces one table row.

{{Sourcerer/Expedition

| date = date (YYYY-MM-DD format) (required)
| lat = latitude (required)
| lon = longitude (required)
| day = Mon, Tue, etc (required)
| reaCount = Coordinates reached in all graticules (required)
| expCount = All expeditions in all graticules (required)
| reached = true (optional - include if the coordinates were reached)
| retro = true (optional - include if it was a retro meetup)
| text = One line description of the expedition (optional)
| achievements = Achievements (optional)

}}

Example:

{{Sourcerer/Expedition | date = 2015-09-01 | lat = 52 | lon = 1 | day = Wed | reaCount = 88 | expCount = 99 | reached = true | text = In a field somewhere in the Norwich graticule | achievements = Midnight}}

appears as:

2015-09-01 52 1 Wed Map  88/99  In a field somewhere in the Norwich graticule Midnight