Template:Event/Item View history

(Created page with "<includeonly>|- align="center" bgcolor={{#ifeq: {{{status|}}}|submitted|"#B6EA9D"<!-- If status = submitted background is lightgreen, if not... -->|{{#ifeq: {{{status|}}}|not...")
 
 
(8 intermediate revisions by the same user not shown)
Line 4: Line 4:
-->|"white"}}}}}}<!-- set color to white  
-->|"white"}}}}}}<!-- set color to white  
-->
-->
|{{{name}}}<!-- Display Event Name -->
|{{{name|}}}<!-- Display Event Name -->
|{{{area}}}<!-- Display affected county/area -->
|{{{area|}}}<!-- Display affected county/area -->
|{{{date}}}<!-- Display estimated dates -->
|{{{date|}}}<!-- Display estimated dates -->
|[[{{{pl}}}{{!}}{{{road}}}]]<!-- Display the affected road(s) as a link to a PermaLink, or a closure list -->
|{{#if: {{{pl|}}}|[{{{pl|}}} {{{road|Permalink}}}]|{{{road|}}}}}<!-- Display the affected road(s) as a link to a PermaLink, or a closure list if link available. If no road name display "Permalink".  -->
|{{#if: {{{source|}}}|[[{{{source}}}{{!}}Event Info]]|No source link<!-- Display a Link to the source of event info if available if not display "no source link" -->
|{{#if: {{{source|}}}|[{{{source}}} Event Info]|No source link}}<!-- Display a Link to the source of event info if available if not display "no source link" -->
|{{#if: {{{1|}}}|{{Username|{{{1}}}}}|No volunteers yet}}<!-- If an editor is listed display with PM link, if not show "no volunteers yet"  
|{{#if: {{{1|}}}|{{Username|{{{1}}}}}|No volunteers yet}}<!-- If an editor is listed display with PM link, if not show "no volunteers yet"  
-->{{#if: {{{2|}}}|,&nbsp;{{Username|{{{2}}}}}|}}<!-- show second editor if present  
-->{{#if: {{{2|}}}|,&nbsp;{{Username|{{{2}}}}}|}}<!-- show second editor if present  
Line 16: Line 16:
-->{{#if: {{{6|}}}|,&nbsp;{{Username|{{{6}}}}}|}}<!-- show sixth editor if present  
-->{{#if: {{{6|}}}|,&nbsp;{{Username|{{{6}}}}}|}}<!-- show sixth editor if present  
-->
-->
|{{{status}}}<!-- display status -->
|{{{status|}}}<!-- display status  
{{#if: {{{updated|}}}|<br />
-->{{#if: {{{updated|}}}|<br />
{{{updated}}}}}<!-- If a last updated by date is present, display it under the status. -->
{{{updated|}}}}}<!-- If a last updated by date is present, display it under the status. --></includeonly><noinclude>
 
</includeonly>
<noinclude>
{{doc}}</noinclude>
{{doc}}</noinclude>

Latest revision as of 20:23, 17 August 2014

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is part of a suite of templates to build a table tracking Major or minor events and closures in a given area (usually a state). This template produces the individual rows of the table for each event/closure.


Accepted parameters:

  • name= The name of the event.
  • area= The county or are the event takes place in.
  • date= The estimated date(s) this event happens on.
  • road= The main road(s) affected by this event.
  • pl= A permalink to the affected road(s), or a link to documenting listing all the affected roads (usually a Waze event closure document).
  • source= A link to an official information source for this event, a government website, the hosting organizations webpage, etc.
  • status= Whether this event has been submitted to Waze yet for this season. It accepts the following options spelled exactly as listed here
    • not submitted
    • submitted
    • in progress.
  • Up to six editors can be listed in the table for any event. These can be the editors who are working to get it submitted, maintain the segments, or just have special knowledge of the event/area. They are entered as unnamed parameters. Meaning they are to be entered between two pipe (|) characters of the adjacent parameters. Each editors name (without any spaces) should be separated with a pipe (|).
  • updated= the date this event was last updated in this table. This is used to keep the table current, and identify stale entries.


Example usage, place this template between a Top and a Bottom template to produce the a table.

{{Event/Top}} {{Event/Item}} {{Event/Bottom}}

→to produce

(Recurring) Major events for Event, to be submitted to Waze as a Mega Event (sortable)
What Where When Affected Roads Link Editor(s) Status

Last Updated

EVENT NAME EVENT AREA ESTIMATED EVENT DATE [WWW.WAZE.COM/EDITOR… AFFECTED ROAD] No source link Editor1 (PM)2ndWazer (PM) in progress

14/08


See Also

The above documentation is transcluded from Template:Event/Item/doc.
Please add categories to the /doc subpage.
Subpages of this template.