Template:Park trail table template

From TEHCC Wiki
Revision as of 11:36, 12 December 2018 by Tim (talk | contribs) (make stubs row switch)
Jump to navigation Jump to search

This is a format template for the Template:Park trail table. It is expected to be used in conjunction with a semantic query. The parameter userparam is part of the format 'template' and is used to specify the switch to 'row' when needed. Otherwise repeated calls can use the template to envoke the intro, outro, or a header output. If using the header output, you can specify the additional 'header' parameter to give it the text to place in the header row.

This template was created to handle the combination of trail pages and trail stubs (park page subobjects). As of now, this seems to be the only way to seamlessly accomplish that in a pleasing format.

It expects the following usage format.

{{Park trail table template
 |#userparam=
 |header=
 |trail=
 |distance=
 |difficulty=
 |marking=
}}

But its usage in practice is like this with the middle two calls of the header and actual query being repeated as necessary

ADD LATER

Edit the page to see the template text.