Template:List trail template: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (fix line breaks)
(add edit column and passing of list page)
Line 15: Line 15:
{{List trail template
{{List trail template
  |#userparam=
  |#userparam=
|listpage=
  |trail=
  |trail=
  |park=
  |park=
Line 34: Line 35:
! Use
! Use
! Features
! Features
! nbsp;
{{!}}-
{{!}}-
|outro={{!}}}
|outro={{!}}}
Line 43: Line 45:
{{!}}{{Auto List to Icons|List={{{use|}}}}}
{{!}}{{Auto List to Icons|List={{{use|}}}}}
{{!}}{{Auto List to Icons|List={{{features|}}}}}
{{!}}{{Auto List to Icons|List={{{features|}}}}}
{{!}}{{#formlink:form=List|link type=button|link text=Edit|target={{{listpage|}}}|popup|reload}}
{{!}}-
{{!}}-
{{!}} colspan="6" {{!}} Comment: {{{list comment|}}}
{{!}} colspan="7" {{!}} Comment: {{{list comment|}}}
{{!}}-
{{!}}-
|header={{!}}-
|header={{!}}-

Revision as of 11:58, 17 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=
 |listpage=
 |trail=
 |park=
 |system=
 |highlight=
 |parking=
 |round trip=
 |use=
 |features=
 |list comment=
}}