Difference between revisions of "Template:Sourcerer/Expedition"

From Geohashing
imported>Sourcerer
m (Template:Sourcerer/Expedition)
imported>Sourcerer
m (Template:Sourcerer/Expedition)
Line 1: Line 1:
 
<noinclude>{| class="wikitable" cellpadding="0"</noinclude>
 
<noinclude>{| class="wikitable" cellpadding="0"</noinclude>
 
|-
 
|-
| style="text-align:center;" | [[{{{date}}}_{{{lat}}}_{{{lon}}}]] {{{day}}} [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}&lon={{{lon}}}&zoom=12&multi=false Map]
+
| style="text-align:center;" | [[{{{date}}}_{{{lat}}}_{{{lon}}}]] {{{day}}} [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}&lon={{{lon}}}&zoom=9&multi=false Map]
| style="text-align:center;" | {{{expCount| }}}
+
| 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;">Retro</span>}}
| style="text-align:center;" | {{{reaCount| }}}
 
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:Chartreuse;">Reached</span>|<span style="background-color:LightCoral;">Fail</span>}} {{#if:{{{retro|}}}|<span style="background-color:DeepSkyBlue;">Retro</span>}}
 
 
| {{{text| }}}<noinclude>
 
| {{{text| }}}<noinclude>
 
|}
 
|}
Line 16: Line 14:
 
:| date    = '''date (YYYY-MM-DD format)''' (required)
 
:| date    = '''date (YYYY-MM-DD format)''' (required)
 
:| day      = '''Mon, Tue, etc''' (required)
 
:| day      = '''Mon, Tue, etc''' (required)
:| expCount = '''All expeditions in all graticules''' (optional)
+
:| expCount = '''All expeditions in all graticules''' (required)
:| reaCount = '''Coordinates reached in all graticules''' (optional)
+
:| reaCount = '''Coordinates reached 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)
Line 29: Line 27:
 
:| lon      = 1
 
:| lon      = 1
 
:| date    = 2015-09-01
 
:| date    = 2015-09-01
 +
:| day      = Wed
 
:| expCount = 99
 
:| expCount = 99
 
:| reaCount = 88
 
:| reaCount = 88
Line 40: Line 39:
 
{| 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
| expCount   = 99
+
| day      = Wed
| reaCount = 88
+
| expCount = 99
| reached = true
+
| reaCount = 88
| text   = In a field somewhere in the Norwich graticule
+
| reached = true
 +
| text     = In a field somewhere in the Norwich graticule
  
 
}}
 
}}
 
|}</noinclude>
 
|}</noinclude>

Revision as of 16:02, 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

| lat = latitude (required)
| lon = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| day = Mon, Tue, etc (required)
| expCount = All expeditions in all graticules (required)
| reaCount = Coordinates reached 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)

}}

Example:

{{Sourcerer/Expedition

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

}}

appears as:

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