Difference between revisions of "Template:Sourcerer/Expedition"

From Geohashing
imported>Sourcerer
m (Sourcerer template for expedition reporting)
imported>Sourcerer
m (Sourcerer template for expedition reporting)
Line 7: Line 7:
 
| {{{gcount| }}}
 
| {{{gcount| }}}
 
| {{{grcount| }}}
 
| {{{grcount| }}}
| {{{reached| }}}
+
| {{!}}{{#if:{{{reached|}}}|<span style="background-color:#77FF77;">Reached</span>|<span style="background-color:#FF7777;">Fail</span>}}
 
| {{{text| }}}
 
| {{{text| }}}
  
Line 23: Line 23:
 
:| gcount  = '''Total expeditions in this graticule''' (optional)
 
:| gcount  = '''Total expeditions in this graticule''' (optional)
 
:| grcount = '''Total coordinates reached in this graticule''' (optional)
 
:| grcount = '''Total coordinates reached in this graticule''' (optional)
:| reached = '''true''' (optional - include if the coordinates were reached)
+
:| 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)
 
}}
 
}}
Line 37: Line 37:
 
:| gcount  = 44
 
:| gcount  = 44
 
:| grcount = 33
 
:| grcount = 33
:| reached = true
+
:| reached = reached
 
:| text    = In a field somewhere in the Norwich graticule
 
:| text    = In a field somewhere in the Norwich graticule
 
}}</code>
 
}}</code>
Line 52: Line 52:
 
| gcount  = 44
 
| gcount  = 44
 
| grcount = 33
 
| grcount = 33
| reached = true
+
| reached = reached
 
| text    = In a field somewhere in the Norwich graticule
 
| text    = In a field somewhere in the Norwich graticule
 +
 
}}
 
}}
 
|}</noinclude>
 
|}</noinclude>

Revision as of 10:56, 2 September 2015

|- | | | | | | | | |Fail |


How to use this template:

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

{{Sourcerer/Expedition

| lat = latitude (optional)
| lon = longitude (optional)
| date = date (YYYY-MM-DD format) (optional)
| count = Total of all expeditions (optional)
| rcount = Total coordinates reached for all expeditions (optional)
| gcount = Total expeditions in this graticule (optional)
| grcount = Total coordinates reached in this graticule (optional)
| reached = reached (optional - include if the coordinates were reached)
| text = One line description of the expedition (optional)

}}

Example:

{{Sourcerer/Expedition

| 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

}}

appears as:

2015-09-01 52 1 {{{day}}} Map  {{{reaCount}}}/{{{expCount}}}  In a field somewhere in the Norwich graticule