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}}}]]
+
| 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;" | {{{expCount| }}}
 
| style="text-align:center;" | {{{expCount| }}}
 
| style="text-align:center;" | {{{reaCount| }}}
 
| 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>}}
+
| 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 15: Line 15:
 
:| lon      = '''longitude''' (required)
 
:| lon      = '''longitude''' (required)
 
:| date    = '''date (YYYY-MM-DD format)''' (required)
 
:| date    = '''date (YYYY-MM-DD format)''' (required)
 +
:| day      = '''Mon, Tue, etc''' (required)
 
:| expCount = '''All expeditions in all graticules''' (optional)
 
:| expCount = '''All expeditions in all graticules''' (optional)
 
:| reaCount = '''Coordinates reached in all graticules''' (optional)
 
:| reaCount = '''Coordinates reached in all graticules''' (optional)
 
:| 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)
 
:| text    = '''One line description of the expedition''' (optional)
 
:| text    = '''One line description of the expedition''' (optional)
 
}}
 
}}

Revision as of 15:55, 5 January 2016

[[{{{date}}}_{{{lat}}}_{{{lon}}}]] {{{day}}} Map 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)
| day = Mon, Tue, etc (required)
| expCount = All expeditions in all graticules (optional)
| reaCount = Coordinates reached in all graticules (optional)
| 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
| 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