Template:Trail page needs: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Fix other fields)
m (remove return)
Line 25: Line 25:
{{#if:{{{KML|}}}| * GPS KML Track}}{{#if:{{{Updated KML|}}}| * Updated GPS KML Track}}{{#if:{{{Detail route description|}}}| * Detail to route description}}{{#if:{{{Photos|}}}| * Photos}}{{#if:{{{Winter photos|}}}| * Winter photos}} {{#if:{{{Remove prefix|}}}| * Remove prefixes in page name}} {{#if:{{{Update infobox|}}}| * Update infobox to current layout}} {{#if:{{{Infobox data update|}}}| * Update data in infobox}} {{#if:{{{Trail pins|}}}| * Trail marker pins on map}}{{#if:{{{Other|}}}| * {{{Other|}}}}} {{#if:{{{Comment|}}}| * Comment:{{{Comment|}}}}} {{#if:{{{Date reviewed|}}}|{{#set:Page needs reviewed on={{{Date reviewed}}}}}}}
{{#if:{{{KML|}}}| * GPS KML Track}}{{#if:{{{Updated KML|}}}| * Updated GPS KML Track}}{{#if:{{{Detail route description|}}}| * Detail to route description}}{{#if:{{{Photos|}}}| * Photos}}{{#if:{{{Winter photos|}}}| * Winter photos}} {{#if:{{{Remove prefix|}}}| * Remove prefixes in page name}} {{#if:{{{Update infobox|}}}| * Update infobox to current layout}} {{#if:{{{Infobox data update|}}}| * Update data in infobox}} {{#if:{{{Trail pins|}}}| * Trail marker pins on map}}{{#if:{{{Other|}}}| * {{{Other|}}}}} {{#if:{{{Comment|}}}| * Comment:{{{Comment|}}}}} {{#if:{{{Date reviewed|}}}|{{#set:Page needs reviewed on={{{Date reviewed}}}}}}}
You '''can''' help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} editing this page] (Need any help? Read our [[Posting_tutorial|tutorial]]!)
You '''can''' help by [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} editing this page] (Need any help? Read our [[Posting_tutorial|tutorial]]!)
</div>}}
</div>}}{{#set:Trail page needs={{#if:{{{KML|}}}|KML}};{{#if:{{{Updated KML|}}}|Updated KML}};{{#if:{{{Detail route description|}}}|Detail route description}};{{#if:{{{Photos|}}}|Photos}};{{#if:{{{Winter photos|}}}|Winter photos}};{{#if:{{{Remove prefix|}}}|Remove prefix}};{{#if:{{{Update infobox|}}}|Update infobox}};{{#if:{{{Infobox data update|}}}|Infobox data update}};{{#if:{{{Trail marker pins|}}}|Trail marker pins}};{{#if:{{{Other|}}}|{{{Other|}}}}}|+sep=;}}{{#if:{{{Date reviewed|}}}|{{#set:Page needs reviewed on={{{Date reviewed}}}}}}}</includeonly>
{{#set:Trail page needs={{#if:{{{KML|}}}|KML}};{{#if:{{{Updated KML|}}}|Updated KML}};{{#if:{{{Detail route description|}}}|Detail route description}};{{#if:{{{Photos|}}}|Photos}};{{#if:{{{Winter photos|}}}|Winter photos}};{{#if:{{{Remove prefix|}}}|Remove prefix}};{{#if:{{{Update infobox|}}}|Update infobox}};{{#if:{{{Infobox data update|}}}|Infobox data update}};{{#if:{{{Trail marker pins|}}}|Trail marker pins}};{{#if:{{{Other|}}}|{{{Other|}}}}}|+sep=;}}
{{#if:{{{Date reviewed|}}}|{{#set:Page needs reviewed on={{{Date reviewed}}}}}}}</includeonly>

Revision as of 19:38, 18 October 2015

This is the trail page needs template. It is expected to be called on trail pages to list the needs of the page. If used, it will list what the page needs and tag the property Trail page needs. Other is expected to be a semicolon (';') separated list of additional needs. The comment field is not a "property" and expected to be used to store general notes or clarifications of needs. Date reviewed is a flag used to indicate (and search for) old major layouts. Enter the date the page was reviewed for needs, it will be stored in Property:Page needs reviewed on. See Trail page needs for the current and previous designations.

It is expected to be used in the following format. Note: an empty assignment is needed to not invoke the need. "True" (or really anything) is needed to request the need.

{{Trail page needs
 | Hide needs = 
 | KML = 
 | Updated KML = 
 | Detail route description = 
 | Photos = 
 | Winter photos = 
 | Remove prefix = 
 | Update infobox = 
 | Infobox data update = 
 | Trail pins = 
 | Other = 
 | Comment = 
 | Date reviewed = 
}}

Edit the page to see the template text. Sorry the template code is so ugly, but if I didn't run the fields together it would insert a return making the boxes with a bunch of blank lines.