Editing Template:Trip Report Table

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 7: Line 7:
* dateEnd - if included, will filter to be before or on this date - provide in (dd month yyyy) format
* dateEnd - if included, will filter to be before or on this date - provide in (dd month yyyy) format
* ShowClubOnly - if included, it will only show club led hikes
* ShowClubOnly - if included, it will only show club led hikes
* SortOrder - sorts based on date in direction defined, choices are 'asc' or 'desc' anything else is ignored
For your date entries, you may use the time parser function to get relative dates. e.g. <code><nowiki>{{#time: 1 F Y | -2 month}}</nowiki></code>
For your date entries, you may use the time parser function to get relative dates. e.g. <code><nowiki>{{#time: 1 F Y | -2 month}}</nowiki></code>


Line 20: Line 19:
  |dateEnd =
  |dateEnd =
  |ShowClubOnly =
  |ShowClubOnly =
|SortOrder =
}}
}}
</pre>
</pre>
Line 44: Line 42:
  |link=none
  |link=none
  |sort=Trip Date
  |sort=Trip Date
  |order={{#ifeq: {{{SortOrder|}}}|desc|desc|asc}}
  |order=asc
  |mainlabel=Report Page
  |mainlabel=Report Page
  |template=Trip Report Table Format
  |template=Trip Report Table Format
Line 56: Line 54:
{{#if: {{{ShowNewsOnly|}}}|[[Share in Newsletter::true]]}}
{{#if: {{{ShowNewsOnly|}}}|[[Share in Newsletter::true]]}}
{{#if: {{{trail|}}}|[[Trail::{{#arraymap:{{{trail|}}}|,|@@@@|@@@@|{{!}}{{!}}}}]]}}
{{#if: {{{trail|}}}|[[Trail::{{#arraymap:{{{trail|}}}|,|@@@@|@@@@|{{!}}{{!}}}}]]}}
{{#if: {{{dateStart|}}}|[[Trip Date::>{{{dateStart|}}}]]}}
{{#if: {{{dateEnd|}}}|[[Trip Date::<{{{dateEnd|}}}]]}}
{{#if: {{{ShowClubOnly|}}}|[[TEHCC Organized Event::true]]}}
{{#if: {{{ShowClubOnly|}}}|[[TEHCC Organized Event::true]]}}
  |?Trip Date
  |?Trip Date
Please note that all contributions to TEHCC Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see TEHCC Wiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)