Editing Template:Park trail table 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 2: | Line 2: | ||
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. | 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. | ||
Trail stubs are checked for pages already created with that name. If it is and info-error box is shown explaining the problem. Trail stubs that don't have a page already created (or name collision with an existing page) are given a red link to the [[Form:Trail|Trail Form]] with fields prepopulated based on the trail stub information. | Trail stubs are checked for pages already created with that name. If it is and info-error box is shown explaining the problem. Trail stubs that don't have a page already created (or name collision with an existing page) are given a red link to the [[Form:Trail|Trail Form]] with fields prepopulated based on the trail stub information. | ||
Line 16: | Line 14: | ||
|difficulty= | |difficulty= | ||
|marking= | |marking= | ||
| | |comment= | ||
|use= | |use= | ||
|park= | |park= | ||
Line 29: | Line 27: | ||
| ?Difficulty=difficulty | | ?Difficulty=difficulty | ||
| ?Trail Marking=marking | | ?Trail Marking=marking | ||
| ?Trail | | ?Trail Comment=comment | ||
| ?Trail Use=use | | ?Trail Use=use | ||
|format=plainlist | |format=plainlist | ||
|headers=hide | |headers=hide | ||
|template=Park trail table template | |template=Park trail table template | ||
|userparam=row | |userparam=row | ||
Line 44: | Line 41: | ||
| ?Difficulty=difficulty | | ?Difficulty=difficulty | ||
| ?Trail Marking=marking | | ?Trail Marking=marking | ||
| ?Trail | | ?Trail Comment=comment | ||
| ?Park=park | | ?Park=park | ||
|format=plainlist | |format=plainlist | ||
Line 64: | Line 61: | ||
! Marking | ! Marking | ||
! Usage | ! Usage | ||
! | ! Comment | ||
{{!}}- | {{!}}- | ||
|outro={{!}}} | |outro={{!}}} | ||
|row={{!}}- | |row={{!}}- | ||
{{!}} | {{!}}{{{trail|}}} | ||
{{!}}{{{distance|}}} | {{!}}{{{distance|}}} | ||
{{!}}{{{difficulty|}}} | {{!}}{{{difficulty|}}} | ||
{{!}}{{{marking|}}} | {{!}}{{{marking|}}} | ||
{{!}}{{Auto List to Icons|List={{{use|}}}}} | {{!}}{{Auto List to Icons|List={{{use|}}}}} | ||
{{!}}{{{ | {{!}}{{{comment|}}} | ||
{{!}}- | {{!}}- | ||
|stubs row={{!}}- | |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 | {{!}}{{#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[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|}}} | {{!}}{{{distance|}}} | ||
{{!}}{{{difficulty|}}} | {{!}}{{{difficulty|}}} | ||
{{!}}{{{marking|}}} | {{!}}{{{marking|}}} | ||
{{!}}<nowiki> </nowiki> | {{!}}<nowiki> </nowiki> | ||
{{!}}{{{ | {{!}}{{{comment|}}} | ||
{{!}}- | {{!}}- | ||
|header={{!}}- | |header={{!}}- |