Difference between revisions of "Template:Expedition"

From Geohashing
imported>Sourcerer
m (Sourcerer tried to simplify this - undo if necessary)
(removing rare categories that usually do not apply from the standard template, also wording)
 
(12 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
'''Use '''
 
'''Use '''
 
<nowiki>{{subst:Expedition}}</nowiki>  
 
<nowiki>{{subst:Expedition}}</nowiki>  
'''(or preferably the more verbose version with parameters given below) to copy an expedition report template to your newly created expedition page.'''
+
'''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.
+
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)
Basic usage:
 
 
 
<pre>{{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)
 
}}</pre>
 
  
 
'''[[:Template:Expedition/Example|Click here to see an example of what the template looks like as you start to fill it in.]]'''
 
'''[[:Template:Expedition/Example|Click here to see an example of what the template looks like as you start to fill it in.]]'''
 
Minimal, copyable version:
 
<pre>{{subst:Expedition |lat = |lon = |date = }}</pre>
 
  
 
Complete list of available options:
 
Complete list of available options:
 
<pre>
 
<pre>
 
{{subst:Expedition
 
{{subst:Expedition
|lat = latitude of graticule
+
|lat = latitude of graticule (optional, will be deduced automatically from the name of the page if not specified)
|lon = longitude of graticule
+
|lon = longitude of graticule (optional, will be deduced automatically from the name of the page if not specified)
|date = date of expedition (YYYY-MM-DD format)
+
|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 42: 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 51: Line 40:
 
</pre>
 
</pre>
  
</noinclude>
+
</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)
<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.
  
 
And DON'T FORGET to add your expedition and the best photo you took to the gallery on the Main Page! We'd love to read your report, but that means we first have to discover it! :)
 
And DON'T FORGET to add your expedition and the best photo you took to the gallery on the Main Page! We'd love to read your report, but that means we first have to discover it! :)
-->
+
-->{{meetup graticule  
{{meetup graticule  
+
| lat={{{lat|{{#explode:{{SUBPAGENAME}}| |1}}}}}
| lat={{{lat|LAT}}}
+
| lon={{{lon|{{#explode:{{SUBPAGENAME}}| |2}}}}}
| lon={{{lon|LON}}}
+
| date={{{date|{{#explode:{{SUBPAGENAME}}| |0}}}}}
| date={{{date|DATE}}}
+
}}<!-- 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 93: 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 99: Line 82:
 
== Photos ==  
 
== Photos ==  
 
<!-- Insert pictures between the gallery tags using the following format:  
 
<!-- Insert pictures between the gallery tags using the following format:  
Image:2012-##-## ## ## Alpha.jpg | Witty Comment
+
Image:2020-##-## ## ## Alpha.jpg | Witty Comment
 
-->
 
-->
 
<gallery perrow="5">
 
<gallery perrow="5">
Line 107: 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 ================
Categories are used for counting expeditions, graticule activity and user activity.
+
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. -->
They help users find expeditions by location or by date.
+
[[Category:New report]]
When you complete an expedition please delete the "New report" and/or "Expedition planning" categories to trigger a Twitter announcement.
 
Please keep the categories appropriate to your expedition and delete the others.
 
If you are unsure which categories to use, don't worry. People will read your report and help you with the classification. -->
 
  
[[Category:New report]]    <!-- Please delete "New report" once you have chosen appropriate categories below. -->
+
<!-- Potential categories. Please include all the ones appropriate to your expedition -->
 
+
<!-- If this is a planning page:
<!-- Delete categories below that don't apply to your expedition. Then delete this line and the open-comment marker.
+
[[Category:Expedition planning]]
 +
-->
  
[[Category:Expedition planning]]
+
<!-- An actual expedition:
 
[[Category:Expeditions]]
 
[[Category:Expeditions]]
 +
-- and one or more of --
 
[[Category:Expeditions with photos]]
 
[[Category:Expeditions with photos]]
 
[[Category:Expeditions with videos]]
 
[[Category:Expeditions with videos]]
[[Category:Expedition without GPS]]
+
-->
 +
 
 +
<!-- if you reached your coordinates:
 
[[Category:Coordinates reached]]
 
[[Category:Coordinates reached]]
 +
 +
--><!-- or if you did not reach the coordinates:
 
[[Category:Coordinates not reached]]
 
[[Category:Coordinates not reached]]
 +
-- and a reason --
 +
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:
 
[[Category:Not reached - No public access]]
 
[[Category:Not reached - No public access]]
 +
 +
When you failed get your GPS, car, bike or such to work:
 
[[Category:Not reached - Technology]]
 
[[Category:Not reached - Technology]]
[[Category:Not reached - Attended alternate location]]
 
 
Remember to delete this line with the 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)
}}