Difference between revisions of "Template:Expedition"

From Geohashing
imported>Relet
(New page: <noinclude> '''Use ''' <nowiki>{{subst:Expedition}}</nowiki> '''to copy the content of this page to your newly created expedition page.''' Optional parameters are: <pre>{{subst:Expeditio...)
 
 
(102 intermediate revisions by 30 users not shown)
Line 2: Line 2:
 
'''Use '''
 
'''Use '''
 
<nowiki>{{subst:Expedition}}</nowiki>  
 
<nowiki>{{subst:Expedition}}</nowiki>  
'''to copy the content of this page to your newly created expedition page.'''
+
'''to copy an expedition report template to your newly created expedition page.'''
  
Optional parameters are:
+
There is no need to specify the latitude/longitude/date anymore, they will be automatically deduced from the name of the page.
<pre>{{subst:Expedition
+
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)
|image = filename
 
|lat = latitude of graticule
 
|lon = longitude of graticule
 
|date = date of expedition, in Y-m-d format
 
}}</pre>
 
</noinclude>
 
  
[[Image:{{{image}}}|thumb|left]]
+
'''[[:Template:Expedition/Example|Click here to see an example of what the template looks like as you start to fill it in.]]'''
{{meetup graticule
+
 
<includeonly>
+
Complete list of available options:
| map=<map lat="{{{lat}}}" lon="{{{lon}}}" date="{{{date}}}" />
+
<pre>
| lat={{{lat}}}
+
{{subst:Expedition
| lon={{{lon}}}
+
|lat = latitude of graticule (optional, will be deduced automatically from the name of the page if not specified)
| date={{{date}}}
+
|lon = longitude of graticule (optional, will be deduced automatically from the name of the page if not specified)
</includeonly>
+
|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)
 +
}}
 +
</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)
 +
 
 +
[[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:"
 +
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! :)
 +
-->{{meetup graticule  
 +
| lat={{{lat|{{#explode:{{SUBPAGENAME}}| |1}}}}}
 +
| lon={{{lon|{{#explode:{{SUBPAGENAME}}| |2}}}}}
 +
| date={{{date|{{#explode:{{SUBPAGENAME}}| |0}}}}}
 +
}}<!-- edit as necessary -->
 +
{{subst:#ifeq: {{{show_location|t}}}|f| |
 +
== Location ==
 +
{{{location|<!-- where you've surveyed the hash to be -->}}}
 
}}
 
}}
  
<!-- edit as necessary -->
+
{{subst:#ifeq: {{{show_participants|t}}}|f| |
__NOTOC__
 
 
== 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.
 +
-->}}}
 +
}}
  
 +
{{subst:#ifeq: {{{show_plans|t}}}|f| |
 +
== Plans ==
 +
{{{plan|<!-- what were the original plans -->}}}
 +
}}
  
== Plans ==
+
{{subst:#ifeq: {{{show_expedition|t}}}|f| |
 +
== Expedition ==
 +
{{{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 use Template:Tracklog, post a link here, or both -->}}}
 +
}}
  
== Expedition ==
+
{{subst:#ifeq: {{{show_photos|t}}}|f| |
 +
== Photos ==  
 +
<!-- Insert pictures between the gallery tags using the following format:
 +
Image:2020-##-## ## ## Alpha.jpg | Witty Comment
 +
-->
 +
<gallery perrow="5">
 +
</gallery>
 +
}}
  
 +
{{subst:#ifeq: {{{show_achievements}}}|f| |
 +
== Achievements ==
 +
{{#vardefine:ribbonwidth|100%}}
 +
{{{achievements|<!-- Add any achievement ribbons you earned below, or remove this section -->}}}
 +
}}
  
== Tracklog ==
+
{{subst:#ifeq: {{{TOC|f}}}|t|  | __NOTOC__}}
 +
<!-- =============== 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. -->
 +
[[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. -->
  
== Photos ==
+
<!-- Potential categories. Please include all the ones appropriate to your expedition -->
 +
<!-- If this is a planning page:
 +
[[Category:Expedition planning]]
 +
-->
  
 +
<!-- If all those plans are never acted upon, change [[Category:Expedition planning]] to [[Category:Not reached - Did not attempt]]. -->
  
<!-- remove unnecessary categories -->
+
<!-- An actual expedition:
<includeonly>
+
[[Category:Expeditions]]
[[Category:Expeditions]]  
+
-- and one or more of --
[[Category:Expedition Planning]]
 
[[Category:Coordinates reached]]
 
[[Category:Coordinates not reached]]
 
 
[[Category:Expeditions with photos]]
 
[[Category:Expeditions with photos]]
[[Category:Expeditions without photos]]
+
[[Category:Expeditions with videos]]
[[Category:Expeditions with GPS]]
+
[[Category:Expedition without GPS]]
[[Category:Expeditions without GPS]]
+
-->
 +
 +
<!-- if you reached your coords:
 +
[[Category:Coordinates reached]]
 +
 
 +
 
 +
--><!-- or if you failed :(
 +
[[Category:Coordinates not reached]]
 +
-- and a reason --
 +
When there is a natural obstacle between you and the target:
 +
[[Category:Not reached - Mother Nature]]
 +
 
 +
When there is a man-made obstacle between you and the target:
 +
[[Category:Not reached - No public access]]
 +
 
 +
When you failed get your GPS, car, bike or such to work:
 +
[[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) -->
 
</includeonly>
 
</includeonly>

Latest revision as of 02:53, 13 February 2023

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