Difference between revisions of "Template:Expedition"

From Geohashing
m
 
(2 intermediate revisions by one other user 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 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 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. -->

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