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}}}]] {{{day}}} [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}&lon={{{lon}}}&zoom=9&multi=false Map]
+
| style="text-align:center;" | [[{{{date}}}_{{{lat}}}_{{{lon}}}]]
 +
| {{{day}}}  
 +
| [https://geohashing.info/?date={{{date}}}&lat={{{lat}}}&lon={{{lon}}}&zoom=9&multi=false Map]
 
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:Chartreuse;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>|<span style="background-color:LightCoral;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>}} {{#if:{{{retro|}}}|<span style="background-color:DeepSkyBlue;">Retro</span>}}
 
| style="text-align:center;" | {{#if:{{{reached|}}}|<span style="background-color:Chartreuse;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>|<span style="background-color:LightCoral;">'''&nbsp;{{{reaCount}}}/{{{expCount}}}&nbsp;'''</span>}} {{#if:{{{retro|}}}|<span style="background-color:DeepSkyBlue;">Retro</span>}}
 
| {{{text| }}}<noinclude>
 
| {{{text| }}}<noinclude>

Revision as of 16:03, 5 January 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

| lat = latitude (required)
| lon = longitude (required)
| date = date (YYYY-MM-DD format) (required)
| day = Mon, Tue, etc (required)
| expCount = All expeditions in all graticules (required)
| reaCount = Coordinates reached in all graticules (required)
| 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
| day = Wed
| expCount = 99
| reaCount = 88
| reached = true
| text = In a field somewhere in the Norwich graticule

}}

appears as:

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