Editing Template:List trail template
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 15: | Line 15: | ||
{{List trail template | {{List trail template | ||
|#userparam= | |#userparam= | ||
|trail= | |trail= | ||
|park= | |park= | ||
Line 29: | Line 28: | ||
</noinclude><includeonly>{{#switch:{{{#userparam|}}} | </noinclude><includeonly>{{#switch:{{{#userparam|}}} | ||
|intro={{{!}} border="1" class="wikitable sortable" | |intro={{{!}} border="1" class="wikitable sortable" | ||
! | ! Park Trails | ||
! Distance | |||
! Difficulty | |||
! Marking | |||
! Usage | |||
! Highlight | ! Highlight | ||
{{!}}- | {{!}}- | ||
|outro={{!}}} | |outro={{!}}} | ||
|row={{!}}- | |row={{!}}- | ||
{{!}} | {{!}}[[{{{trail|}}}{{!}}{{#explode:{{{trail|}}}|<nowiki/> (<nowiki/>|0}}]] | ||
{{!}}{{{distance|}}} | |||
{{!}}{{{difficulty|}}} | |||
{{!}}{{{marking|}}} | |||
{{!}}{{Auto List to Icons|List={{{use|}}}}} | |||
{{!}}{{{highlight|}}} | {{!}}{{{highlight|}}} | ||
{{!}}- | {{!}}- | ||
{{!}} | |stubs row={{!}}- | ||
{{!}}{{#ifexist: {{{trail|}}} | [[{{{trail|}}}]]{{#info: This trail name already exists as a page on this wiki. Either the page was created after making this "stub" or a name collision has occurred. Delete the trail stub from this park or make the trail stub name on this park unique. | error }} | {{#formredlink:target={{{trail|}}}|form=Trail|query string=Trail[Park]={{{park|}}}&Trail[Trail Marking]={{{marking|}}}&Trail[Trail Distance]={{{distance|}}}&Trail[Trail Highlight]={{{highlight|}}}&Trail[Difficulty Rating]={{{difficulty|}}} }}{{#info: This trail is a "stub" either because of its short length, lack of significance, or the page hasn't been created yet. The page can be created, but then delete the stub reference from this park. | info }} }} | |||
{{!}}{{{distance|}}} | |||
{{!}}{{{difficulty|}}} | |||
{{!}}{{{marking|}}} | |||
{{!}}<nowiki> </nowiki> | |||
{{!}}{{{highlight|}}} | |||
{{!}}- | {{!}}- | ||
|header={{!}}- | |header={{!}}- | ||
!colspan=" | !colspan="6"{{!}}{{{header|}}} | ||
{{!}}- | {{!}}- | ||
}}</includeonly> | }}</includeonly> |