Template:List trail template: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(try now)
(fix extraneous col)
Line 38: Line 38:
|row={{!}}-
|row={{!}}-
{{!}}[[{{{trail|}}}{{!}}{{#explode:{{{trail|}}}|<nowiki/> (<nowiki/>|0}}]]</br><small>{{{park|}}}{{#if: {{{park|}}}{{{system|}}}|, }}{{{system|}}}</small>
{{!}}[[{{{trail|}}}{{!}}{{#explode:{{{trail|}}}|<nowiki/> (<nowiki/>|0}}]]</br><small>{{{park|}}}{{#if: {{{park|}}}{{{system|}}}|, }}{{{system|}}}</small>
{{!}}{{{distance|}}}
{{!}}{{{highlight|}}}
{{!}}{{{highlight|}}}
{{!}}{{#geodistance:Kingsport, TN, USA|{{{parking|}}}|unit=mi|decimals=1}}
{{!}}{{#geodistance:Kingsport, TN, USA|{{{parking|}}}|unit=mi|decimals=1}}

Revision as of 22:10, 13 May 2020

list table template for trails. Park/Trail aware. Probably will make different ones for Park vs. Trail instead of one monolithic beast.

Trails will have:

  • Trail name
  • Park or Trail System
  • Highlight (Put underneath other info?)
  • Distance from Kingsport - Could be later converted to a distance based on user configured location
  • Round trip distance
  • Trail Use Icons
  • Features Icons
  • Listing comment (underneath)

It expects the following usage format.

{{List trail template
 |#userparam=
 |trail=
 |park=
 |system=
 |highlight=
 |parking=
 |round trip=
 |use=
 |features=
 |list comment=
}}