Difference between revisions of "Template:Sourcerer/Expedition"

From Geohashing
imported>Sourcerer
m (Sourcerer template for expedition reporting)
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;" | {{{lat}}}
+
| style="text-align:center;" | [[{{{date}}}_{{{lat}}}_{{{lon}}}]]
| style="text-align:center;" | {{{lon}}}
+
| style="text-align:center;" | {{{expCount| }}}
| style="text-align:center;" | [[{{{date}}}_{{{lat}}}_{{{lon}}}|{{{date}}}]]
+
| style="text-align:center;" | {{{reaCount| }}}
| style="text-align:center;" | {{{count| }}}
+
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:Chartreuse;">Reached</span>|<span style="background-color:LightCoral;">Fail</span>}}
| style="text-align:center;" | {{{rcount| }}}
 
| style="text-align:center;" | {{{gcount| }}}
 
| style="text-align:center;" | {{{grcount| }}}
 
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:#77FF77;">Reached</span>|<span style="background-color:#FF7777;">Fail</span>}}
 
 
| {{{text| }}}<noinclude>
 
| {{{text| }}}<noinclude>
 
|}
 
|}
Line 16: Line 12:
  
 
&#x007B;{Sourcerer/Expedition
 
&#x007B;{Sourcerer/Expedition
:| lat     = '''latitude''' (required)
+
:| lat     = '''latitude''' (required)
:| lon     = '''longitude''' (required)
+
:| lon     = '''longitude''' (required)
:| date   = '''date (YYYY-MM-DD format)''' (required)
+
:| date     = '''date (YYYY-MM-DD format)''' (required)
:| count  = '''All expeditions in all graticules''' (optional)
+
:| expCount = '''All expeditions in all graticules''' (optional)
:| rcount  = '''Coordinates reached in all graticules''' (optional)
+
:| reaCount = '''Coordinates reached in all graticules''' (optional)
:| gcount = '''Expeditions in this graticule''' (optional)
+
:| reached = '''true''' (optional - include if the coordinates were reached)
:| grcount = '''Coordinates reached in this graticule''' (optional)
+
:| text     = '''One line description of the expedition''' (optional)
:| reached = '''reached''' (optional - include if the coordinates were reached)
 
:| text   = '''One line description of the expedition''' (optional)
 
 
}}
 
}}
  
Line 30: Line 24:
  
 
<code>&#x007B;{Sourcerer/Expedition
 
<code>&#x007B;{Sourcerer/Expedition
:| lat     = 52
+
:| lat     = 52
:| lon     = 1
+
:| lon     = 1
:| date   = 2015-09-01
+
:| date     = 2015-09-01
:| count  = 99
+
:| expCount = 99
:| rcount  = 88
+
:| reaCount = 88
:| gcount = 44
+
:| reached = true
:| grcount = 33
+
:| text     = In a field somewhere in the Norwich graticule
:| reached = reached
 
:| text   = In a field somewhere in the Norwich graticule
 
  
 
}}</code>
 
}}</code>
Line 49: Line 41:
 
| lon    = 1
 
| lon    = 1
 
| date    = 2015-09-01
 
| date    = 2015-09-01
| count   = 99
+
| expCount   = 99
| rcount = 88
+
| reaCount = 88
| gcount  = 44
+
| reached = true
| grcount = 33
 
| 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 15:44, 5 January 2016

[[{{{date}}}_{{{lat}}}_{{{lon}}}]] Fail

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)
| expCount = All expeditions in all graticules (optional)
| reaCount = Coordinates reached in all graticules (optional)
| reached = true (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
| expCount = 99
| reaCount = 88
| reached = true
| text = In a field somewhere in the Norwich graticule

}}

appears as:

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