Difference between revisions of "Template:Expedition"

From Geohashing
imported>GeorgDerReisende
(the template is running again)
imported>Eldin
(Replace with advanced template.)
Line 5: Line 5:
  
 
Please provide the following parameters. If you don't, the required parameters will be substituted with placeholders that you may fill in later.  
 
Please provide the following parameters. If you don't, the required parameters will be substituted with placeholders that you may fill in later.  
 +
 +
Basic usage:
  
 
<pre>{{subst:Expedition
 
<pre>{{subst:Expedition
Line 17: Line 19:
 
Minimal, copyable version:  
 
Minimal, copyable version:  
 
<pre>{{subst:Expedition |lat = |lon = |date = }}</pre>
 
<pre>{{subst:Expedition |lat = |lon = |date = }}</pre>
 +
 +
Complete list of available options:
 +
<pre>
 +
{{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)
 +
}}
 +
</pre>
  
 
</noinclude>
 
</noinclude>
Line 35: Line 68:
  
 
<!-- edit as necessary -->
 
<!-- edit as necessary -->
__NOTOC__
+
{{subst:#ifeq: {{{TOC|f}}}|t|  | __NOTOC__}}
 +
 
 +
{{subst:#ifeq: {{{show_location|t}}}|f| |
 
== Location ==
 
== Location ==
<!-- where you've surveyed the hash to be -->
+
{{{location|<!-- where you've surveyed the hash to be -->}}}
 +
}}
  
 +
{{subst:#ifeq: {{{show_participants|t}}}|f| |
 
== 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.
-->
+
-->}}}
 +
}}
  
 +
{{subst:#ifeq: {{{show_plans|t}}}|f| |
 
== Plans ==
 
== Plans ==
<!-- what were the original plans -->
+
{{{plan|<!-- what were the original plans -->}}}
 +
}}
  
 +
{{subst:#ifeq: {{{show_expedition|t}}}|f| |
 
== Expedition ==
 
== Expedition ==
<!-- how it all turned out. your narrative goes here. -->
+
{{{expedition|<!-- how it all turned out. your narrative goes here. -->}}}
 +
}}
  
 +
{{subst:#ifeq: {{{show_tracklog|t}}}|f| |
 
== 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 -->}}}
 +
}}
  
 +
{{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 58: Line 103:
 
<gallery perrow="5">
 
<gallery perrow="5">
 
</gallery>
 
</gallery>
 +
}}
  
 +
{{subst:#ifeq: {{{show_achievements}}}|f| |
 
== Achievements ==
 
== Achievements ==
 
{{#vardefine:ribbonwidth|800px}}
 
{{#vardefine:ribbonwidth|800px}}
<!-- Add any achievement ribbons you earned below, or remove this section -->
+
{{{achievements|<!-- Add any achievement ribbons you earned below, or remove this section -->}}}
 
+
}}
  
 
<!-- =============== USEFUL CATEGORIES FOLLOW ================
 
<!-- =============== USEFUL CATEGORIES FOLLOW ================
Delete the next line ONLY if you have chosen the appropriate categories below. If you are unsure, don't worry. People will read your report and help you with the classification.-->
+
Delete the next line ONLY if you have chosen the appropriate categories below. If you are unsure, don't worry. People will read your report and help you with the classification. -->
 
[[Category:New report]]
 
[[Category:New report]]
 
<!-- ==REQUEST FOR TWITTER BOT== Please leave either the New report or the Expedition planning category in as long as you work on it. This helps the twitter bot a lot with announcing the right outcome at the right moment. -->
 
  
 
<!-- Potential categories. Please include all the ones appropriate to your expedition -->
 
<!-- Potential categories. Please include all the ones appropriate to your expedition -->

Revision as of 20:10, 26 June 2015

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.

Basic usage:

{{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)
}}