Difference between revisions of "Template:Sourcerer/Expedition"

From Geohashing
imported>Sourcerer
m (Template:Sourcerer/Expedition)
imported>Sourcerer
m (Template:Sourcerer/Expedition)
Line 4: Line 4:
 
| style="text-align:center;" | {{{day}}}  
 
| style="text-align:center;" | {{{day}}}  
 
| [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;" | {{#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>
+
| 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>
 
| {{{text| }}}
 
| {{{text| }}}
 
| {{{achievements| }}}<noinclude>
 
| {{{achievements| }}}<noinclude>

Revision as of 21:17, 1 April 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)

}}

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}}

appears as:

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