Difference between revisions of "Template:Sourcerer/Expedition"

From Geohashing
imported>Sourcerer
m (Sourcerer template for expedition reporting)
imported>Sourcerer
m (Adjust Template:Sourcerer/Expedition)
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
|-
+
<noinclude>{| class="wikitable" cellpadding="0"</noinclude>
| {{{lat}}}
+
|- {{#if:{{{bgcolor|}}}|style="background-color:{{{bgcolor}}}"|&#124;}}
| {{{lon}}}
+
| style="text-align:center;" | [[{{{date}}} {{{lat}}} {{{lon}}}]]
| [[{{{date}}}_{{{lat}}}_{{{lon}}}]]
+
| style="text-align:center;" | {{{day}}}  
| {{{count| }}}
+
| [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}.5&lon={{{lon}}}.5&zoom=8&multi=false Map]
| {{{rcount| }}}
+
| style="text-align:center;" | {{#ifeq: {{{reached}}} | plan | <span style="background-color:Yellow; display:inline-block; min-width:60px; text-align:center;"> | {{#ifeq: {{{reached}}} | yes | <span style="background-color:Chartreuse; display:inline-block; min-width:60px; text-align:center;"> | {{#ifeq: {{{reached}}} | retro | <span style="background-color:DeepSkyBlue; display:inline-block; min-width:60px; text-align:center;"> | <span style="background-color:LightCoral; display:inline-block; min-width:60px; text-align:center;"> }} }} }}'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>
| {{{gcount| }}}
 
| {{{grcount| }}}
 
| {{!}}{{#if:{{{reached|}}}|<span style="background-color:#77FF77;">Reached</span>|<span style="background-color:#FF7777;">Fail</span>}}
 
 
| {{{text| }}}
 
| {{{text| }}}
 
+
| {{{achievements| }}}<noinclude>
<noinclude>
+
|}
 
'''How to use this template:'''
 
'''How to use this template:'''
  
Line 16: Line 13:
  
 
&#x007B;{Sourcerer/Expedition
 
&#x007B;{Sourcerer/Expedition
:| lat     = '''latitude''' (required)
+
:| date        = '''date (YYYY-MM-DD format)''' (required)
:| lon     = '''longitude''' (required)
+
:| lat         = '''latitude''' (required)
:| date    = '''date (YYYY-MM-DD format)''' (required)
+
:| lon         = '''longitude''' (required)
:| count  = '''Total of all expeditions''' (optional)
+
:| day          = '''Mon, Tue, etc''' (required)
:| rcount  = '''Total coordinates reached for all expeditions''' (optional)
+
:| reaCount    = '''Coordinates reached in all graticules''' (required)
:| gcount  = '''Total expeditions in this graticule''' (optional)
+
:| expCount    = '''All expeditions in all graticules''' (required)
:| grcount = '''Total coordinates reached in this graticule''' (optional)
+
:| reached      = '''[ plan | yes | no | retro ]''' (required) Plan, yellow - Yes, green - No, red - Retro, blue
:| reached = '''reached''' (optional - include if the coordinates were reached)
+
:| text        = '''One line description of the expedition''' (optional)
:| text    = '''One line description of the expedition''' (optional)
+
:| achievements = '''Achievements''' (optional)
 +
:| bgcolor      = '''Background colour''' (optional) for example #ffff00 or yellow
 
}}
 
}}
  
 
'''Example:'''
 
'''Example:'''
  
<code>&#x007B;{Sourcerer/Expedition
+
<code>&#x007B;{Sourcerer/Expedition | date = 2015-09-01 | lat = 52 | lon = 1 | day = Wed | reaCount = 88 | expCount = 99 | reached = yes | text = In a field somewhere in the Norwich graticule | achievements = Midnight | bgcolor = #88ffff }}</code>
:| lat    = 52
 
:| lon    = 1
 
:| date   = 2015-09-01
 
:| count  = 99
 
:| rcount  = 88
 
:| gcount  = 44
 
:| grcount = 33
 
:| reached = reached
 
:| text   = In a field somewhere in the Norwich graticule
 
 
 
}}</code>
 
  
 
appears as:
 
appears as:
Line 46: 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
| count  = 99
+
| day          = Wed
| rcount  = 88
+
| expCount    = 99
| gcount  = 44
+
| reaCount    = 88
| grcount = 33
+
| reached     = yes
| reached = reached
+
| text         = In a field somewhere in the Norwich graticule
| text   = In a field somewhere in the Norwich graticule
+
| achievements = Midnight
 
+
| bgcolor      = #88ffff
 
}}
 
}}
 
|}</noinclude>
 
|}</noinclude>

Latest revision as of 11:06, 2 June 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 = [ plan | yes | no | retro ] (required) Plan, yellow - Yes, green - No, red - Retro, blue
| text = One line description of the expedition (optional)
| achievements = Achievements (optional)
| bgcolor = Background colour (optional) for example #ffff00 or yellow

}}

Example:

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

appears as:

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