Template:Infobox water supply asset: Difference between revisions
Jump to navigation
Jump to search
(attempt to add status parameter) |
m (Failing computer 101 here, sorry guys....) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
}} | }} | ||
}} | }} | ||
{{!}}- | |||
{{#if:{{{status|}}}| | |||
{{!}} colspan="4" style="text-align:center;" {{!}} {{#switch: {{{status}}} | canceled = {{canceled|type=water}} }} | |||
}} | |||
{{!}}- | |||
! colspan=4 style="background-color: #69c; color: white" | Summary | ! colspan=4 style="background-color: #69c; color: white" | Summary | ||
|- class="note" style="text-align: left" | |- class="note" style="text-align: left" | ||
Line 45: | Line 50: | ||
| {{{elevation-m}}} m / {{{elevation-f}}} ft | | {{{elevation-m}}} m / {{{elevation-f}}} ft | ||
| {{{elevation-f}}} ft / {{{elevation-m}}} m }} | | {{{elevation-f}}} ft / {{{elevation-m}}} m }} | ||
}} | }} | ||
|- style="text-align: left" | |- style="text-align: left" | ||
Line 69: | Line 70: | ||
{{!}} colspan=4 style="text-align: left; background-color: #eee" {{!}} {{{footnotes}}} | {{!}} colspan=4 style="text-align: left; background-color: #eee" {{!}} {{{footnotes}}} | ||
}} | }} | ||
|}<includeonly>{{#switch: | |}<includeonly>{{#switch: {{{owner}}} | ||
| RWSA =[[Category:RWSA assets]] | |||
| ACSA = [[Category:ACSA assets]] | |||
| | | default [[Category:RWSA assets]] | ||
}}</includeonly><noinclude>{{clear}}{{Infobox water supply asset/doc}}</noinclude> | }}</includeonly><noinclude>{{clear}}{{Infobox water supply asset/doc}}</noinclude> |
Latest revision as of 16:25, 26 January 2010
Infobox water supply asset | |||
---|---|---|---|
Summary | |||
Owner | [[{{{owner}}}]] |
Use on any asset related to the water supply and sewage systems, including those not yet constructed.
Parameters
- The sole required parameter is "owner".
This should be the name of one of the three pages that might own water supply assets (do not include brackets in your code):
- RWSA use for the (Rivanna Water and Sewer Authority)
- ACSA for Albemarle County Service Authority, and
- DPW for Department of Public Works
function
Shows as "type", should be one of
- Dam
- Reservoir
- Water supply pipeline
- Water treatment plant
- Sewer pipeline
- Sewer treatment plant
status
Values are:
- completed
- canceled
- more to come
This affects the categorization and the display of the status indicator.
name
Template uses the page title by default; this is your override.
Works together, as you'd expect.
footnotes
If you have a references section for the infobox, great, or for other notes.
area-served
The area served.