Difference between revisions of "Template:Expedition"

From Geohashing
(Updated the template so that the latitude/longitude/date are automatically deduced from the date)
(removing rare categories that usually do not apply from the standard template, also wording)
 
(6 intermediate revisions by 3 users not shown)
Line 16: Line 16:
 
|date = date of expedition in format YYYY-MM-DD (optional, will be deduced automatically from the name of the page if not specified)
 
|date = date of expedition in format YYYY-MM-DD (optional, will be deduced automatically from the name of the page if not specified)
 
|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 Table of Contents, 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)
Line 31: Line 31:
  
 
|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 = appropriate use of Template:Tracklog or 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)
Line 40: Line 40:
 
</pre>
 
</pre>
  
</noinclude><includeonly><!-- If you did not specify these parameters in the template, please substitute appropriate values for IMAGE, LAT, LON, and DATE (YYYY-MM-DD format)  
+
</noinclude><includeonly><!-- If you did not specify these parameters in the template, please substitute appropriate values for IMAGE, LAT, LON, and DATE (YYYY-MM-DD format)
  
 
[[Image:{{{image|IMAGE}}}|thumb|left]]
 
[[Image:{{{image|IMAGE}}}|thumb|left]]
  
Remove this section if you don't want an image at the top (left) of your report.   You should remove the "Image:" or "File:"
+
Remove this section if you don't want an image at the top (left) of your report. You should remove the "Image:" or "File:"
 
tag from your image file name, and replace the all upper-case word IMAGE in the above line.
 
tag from your image file name, and replace the all upper-case word IMAGE in the above line.
  
Line 53: Line 53:
 
| date={{{date|{{#explode:{{SUBPAGENAME}}| |0}}}}}
 
| date={{{date|{{#explode:{{SUBPAGENAME}}| |0}}}}}
 
}}<!-- edit as necessary -->
 
}}<!-- edit as necessary -->
{{subst:#ifeq: {{{TOC|f}}}|t|  | __NOTOC__}}
 
 
{{subst:#ifeq: {{{show_location|t}}}|f| |  
 
{{subst:#ifeq: {{{show_location|t}}}|f| |  
 
== Location ==
 
== Location ==
Line 77: Line 76:
 
{{subst:#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 use Template:Tracklog, post a link here, or both -->}}}
 
}}
 
}}
  
Line 91: Line 90:
 
{{subst:#ifeq: {{{show_achievements}}}|f| |  
 
{{subst:#ifeq: {{{show_achievements}}}|f| |  
 
== Achievements ==
 
== Achievements ==
{{#vardefine:ribbonwidth|800px}}
+
{{#vardefine:ribbonwidth|100%}}
 
{{{achievements|<!-- Add any achievement ribbons you earned below, or remove this section -->}}}
 
{{{achievements|<!-- Add any achievement ribbons you earned below, or remove this section -->}}}
 
}}
 
}}
  
 +
{{subst:#ifeq: {{{TOC|f}}}|t|  | __NOTOC__}}
 
<!-- =============== 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 -->
Line 105: Line 103:
 
[[Category:Expedition planning]]
 
[[Category:Expedition planning]]
 
-->
 
-->
 
<!-- If all those plans are never acted upon, change [[Category:Expedition planning]] to [[Category:Not reached - Did not attempt]]. -->
 
  
 
<!-- An actual expedition:
 
<!-- An actual expedition:
Line 113: Line 109:
 
[[Category:Expeditions with photos]]
 
[[Category:Expeditions with photos]]
 
[[Category:Expeditions with videos]]
 
[[Category:Expeditions with videos]]
[[Category:Expedition without GPS]]
 
 
-->
 
-->
+
 
<!-- if you reached your coords:
+
<!-- if you reached your coordinates:
 
[[Category:Coordinates reached]]
 
[[Category:Coordinates reached]]
  
 
+
--><!-- or if you did not reach the coordinates:
--><!-- or if you failed :(
 
 
[[Category:Coordinates not reached]]
 
[[Category:Coordinates not reached]]
 
-- and a reason --
 
-- and a reason --
 
When there is a natural obstacle between you and the target:
 
When there is a natural obstacle between you and the target:
 
[[Category:Not reached - Mother Nature]]
 
[[Category:Not reached - Mother Nature]]
 
+
 
 
When there is a man-made obstacle between you and the target:
 
When there is a man-made obstacle between you and the target:
 
[[Category:Not reached - No public access]]
 
[[Category:Not reached - No public access]]
Line 131: Line 125:
 
When you failed get your GPS, car, bike or such to work:
 
When you failed get your GPS, car, bike or such to work:
 
[[Category:Not reached - Technology]]
 
[[Category:Not reached - Technology]]
   
 
When you went to an alternate location instead of the actual geohash:
 
[[Category:Not reached - Attended alternate location]]
 
  
 
(Don't forget to delete this final close comment marker) -->
 
(Don't forget to delete this final close comment marker) -->
 
</includeonly>
 
</includeonly>

Latest revision as of 17:12, 5 May 2024

Use {{subst:Expedition}} to copy an expedition report template to your newly created expedition page.

There is no need to specify the latitude/longitude/date anymore, they will be automatically deduced from the name of the page. You can add the image option to specify 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.

Complete list of available options:

{{subst:Expedition
|lat = latitude of graticule (optional, will be deduced automatically from the name of the page if not specified)
|lon = longitude of graticule (optional, will be deduced automatically from the name of the page if not specified)
|date = date of expedition in format YYYY-MM-DD (optional, will be deduced automatically from the name of the page if not specified)
|image = image to show at the top of the page (optional)
|TOC = t/f (optional. Set t to show Table of Contents, 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 = appropriate use of Template:Tracklog or 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)
}}