Difference between revisions of "User:Eldin/template/Expedition"

From Geohashing
imported>Eldin
(Created page with "<noinclude> '''Use ''' <nowiki>{{subst:Expedition}}</nowiki> '''(or preferably the more verbose version with parameters given below) to copy an expedition report template to ...")
 
imported>Eldin
Line 26: Line 26:
 
|image = image to show at the top of the page (optional)
 
|image = image to show at the top of the page (optional)
 
|TOC = t/f (optional. Set t to show TOC, f to not show it. Defaults to f)
 
|TOC = t/f (optional. Set t to show TOC, f to not show it. Defaults to f)
 +
 
|show_location = t/f (optional. Set t to include Location section in page, f to exclude. Defauts to t)
 
|show_location = t/f (optional. Set t to include Location section in page, f to exclude. Defauts to t)
 
|location = description of location (optional)
 
|location = description of location (optional)
 +
 
|show_participants = t/f (optional. Set t to include Participants section in page, f to exclude. Defaults to t)
 
|show_participants = t/f (optional. Set t to include Participants section in page, f to exclude. Defaults to t)
 
|participants = list of participants (optional)
 
|participants = list of participants (optional)
 +
 
|show_plans = t/f (optional. Set t to include Plans section in page, f to exclude. Defaults to t)
 
|show_plans = t/f (optional. Set t to include Plans section in page, f to exclude. Defaults to t)
 
|plan = plan for this expedition (optional)
 
|plan = plan for this expedition (optional)
 +
 
|show_expedition = t/f (optional. Set t to include Expedition section in page, f to exclude. Defaults to t)
 
|show_expedition = t/f (optional. Set t to include Expedition section in page, f to exclude. Defaults to t)
 
|expedition = description of your expedition (optional)
 
|expedition = description of your expedition (optional)
 +
 
|show_tracklog = t/f (optional. Set t to include Tracklog section in page, f to exclude. Defaults to t)
 
|show_tracklog = t/f (optional. Set t to include Tracklog section in page, f to exclude. Defaults to t)
 
|tracklog = link to tracklog (optional)
 
|tracklog = link to tracklog (optional)
 +
 
|show_photos = t/f (optional. Set t to include Photos section in page, f to exclude. Defaults to t)
 
|show_photos = t/f (optional. Set t to include Photos section in page, f to exclude. Defaults to t)
 +
 
|show_achievements = t/f (optional. Set t to include Achievements section in page, f to exclude. Defaults to t)
 
|show_achievements = t/f (optional. Set t to include Achievements section in page, f to exclude. Defaults to t)
 
|achievements = achievements earned on this expedition (optional)
 
|achievements = achievements earned on this expedition (optional)
Line 59: Line 66:
  
 
<!-- edit as necessary -->
 
<!-- edit as necessary -->
{{#ifeq: {{{TOC|f}}}|t|  | __NOTOC__}}
+
{{Subst:#ifeq: {{{TOC|f}}}|t|  | __NOTOC__}}
  
{{#ifeq: {{{show_location|t}}}|f| |  
+
{{Subst:#ifeq: {{{show_location|t}}}|f| |  
 
== Location ==
 
== Location ==
 
{{{location|<!-- where you've surveyed the hash to be -->}}}
 
{{{location|<!-- where you've surveyed the hash to be -->}}}
 
}}
 
}}
  
{{#ifeq: {{{show_participants|t}}}|f| |  
+
{{Subst:#ifeq: {{{show_participants|t}}}|f| |  
 
== Participants ==
 
== Participants ==
 
{{{participants|<!-- who attended: If you link to your wiki user name in this section, your expedition will be picked up by the various statistics generated for geohashing. You may use three tildes ~ as a shortcut to automatically insert the user signature of the account you are editing with.
 
{{{participants|<!-- who attended: If you link to your wiki user name in this section, your expedition will be picked up by the various statistics generated for geohashing. You may use three tildes ~ as a shortcut to automatically insert the user signature of the account you are editing with.
Line 72: Line 79:
 
}}
 
}}
  
{{#ifeq: {{{show_plans|t}}}|f| |  
+
{{Subst:#ifeq: {{{show_plans|t}}}|f| |  
 
== Plans ==
 
== Plans ==
 
{{{plan|<!-- what were the original plans -->}}}
 
{{{plan|<!-- what were the original plans -->}}}
 
}}
 
}}
  
{{#ifeq: {{{show_expedition|t}}}|f| |  
+
{{Subst:#ifeq: {{{show_expedition|t}}}|f| |  
 
== Expedition ==
 
== Expedition ==
 
{{{expedition|<!-- how it all turned out. your narrative goes here. -->}}}
 
{{{expedition|<!-- how it all turned out. your narrative goes here. -->}}}
 
}}
 
}}
  
{{#ifeq: {{{show_tracklog|t}}}|f| |  
+
{{Subst:#ifeq: {{{show_tracklog|t}}}|f| |  
 
== Tracklog ==
 
== Tracklog ==
 
{{{tracklog|<!-- if your GPS device keeps a log, you may post a link here -->}}}
 
{{{tracklog|<!-- if your GPS device keeps a log, you may post a link here -->}}}
 
}}
 
}}
  
{{#ifeq: {{{show_photos|t}}}|f| |  
+
{{Subst:#ifeq: {{{show_photos|t}}}|f| |  
 
== Photos ==  
 
== Photos ==  
 
<!-- Insert pictures between the gallery tags using the following format:  
 
<!-- Insert pictures between the gallery tags using the following format:  
Line 96: Line 103:
 
}}
 
}}
  
{{#ifeq: {{{show_achievements}}}|f| |  
+
{{Subst:#ifeq: {{{show_achievements}}}|f| |  
 
== Achievements ==
 
== Achievements ==
 
{{#vardefine:ribbonwidth|800px}}
 
{{#vardefine:ribbonwidth|800px}}

Revision as of 07:44, 29 July 2013

Use {{subst:Expedition}} (or preferably the more verbose version with parameters given below) to copy an expedition report template to your newly created expedition page.

Please provide the following parameters. If you don't, the required parameters will be substituted with placeholders that you may fill in later.

{{subst:Expedition
|lat = latitude of graticule  (e.g.: 60 - just the integer number, not the full coordinates of the geohash!)
|lon = longitude of graticule (e.g.: 10)
|date = date of expedition, in YYYY-MM-DD format
|image = your best picture, which will be shown at the top of the report (omit the "Image:" or "File:" prefix)
}}

Click here to see an example of what the template looks like as you start to fill it in.

Minimal, copyable version:

{{subst:Expedition |lat = |lon = |date = }}

Complete list of available options:

{{subst:Expedition
|lat = latitude of graticule
|lon = longitude of graticule
|date = date of expedition (YYYY-MM-DD format)
|image = image to show at the top of the page (optional)
|TOC = t/f (optional. Set t to show TOC, f to not show it. Defaults to f)

|show_location = t/f (optional. Set t to include Location section in page, f to exclude. Defauts to t)
|location = description of location (optional)

|show_participants = t/f (optional. Set t to include Participants section in page, f to exclude. Defaults to t)
|participants = list of participants (optional)

|show_plans = t/f (optional. Set t to include Plans section in page, f to exclude. Defaults to t)
|plan = plan for this expedition (optional)

|show_expedition = t/f (optional. Set t to include Expedition section in page, f to exclude. Defaults to t)
|expedition = description of your expedition (optional)

|show_tracklog = t/f (optional. Set t to include Tracklog section in page, f to exclude. Defaults to t)
|tracklog = link to tracklog (optional)

|show_photos = t/f (optional. Set t to include Photos section in page, f to exclude. Defaults to t)

|show_achievements = t/f (optional. Set t to include Achievements section in page, f to exclude. Defaults to t)
|achievements = achievements earned on this expedition (optional)
}}