Num vans (Traffic Overlay): Difference between revisions

From Tygron Preview Support Wiki
Jump to navigation Jump to search
(Created page with "{{Construction attributes|<onlyinclude>{{#if:{{{content|}}}|| {{Construction attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h | attribute=NUM_VAN...")
 
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Construction attributes|<onlyinclude>{{#if:{{{content|}}}||
{{Building attributes|<onlyinclude>{{#if:{{{content|}}}||
{{Construction attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_VANS    | description=The amount of van traffic on this road.    }}
{{Building attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_VANS    | description=The amount of van traffic on this road.    }}
}}</onlyinclude>}}
}}</onlyinclude>}}


<onlyinclude>{{#if:{{{content|<noinclude>content</noinclude>}}}|
<onlyinclude>{{#if:{{{content|<noinclude>content</noinclude>}}}|
The value can either by a single value, or an [[Attribute array]] of values. As a single value, this reflects the amount of vehicles per [[hours ({{{overlay|Traffic}}} Overlay)|hour at any point of the day]]. As an [[Attribute array]], it's assumed to be an array of 24 values, each value corresponding to [[hours ({{{overlay|Traffic}}} Overlay)|each hour of the day]].


{{article end
{{article end
|notes=
|notes=
* This [[Attribute]] is shared across all [[Traffic Overlay]] implementations.
* This [[Attribute]] is shared across all [[Traffic Overlay]] implementations.
{{{notes|}}}
|howtos=
|howtos=
* [[How to add and remove an Attribute]]
* [[How to add and remove an Attribute]]
{{{howtos|}}}
|seealso=
|seealso=
* [[Traffic visualization]]
* [[{{{overlay|Traffic}}} Overlay]]
* [[{{{overlay|Traffic}}} Overlay]]
* [[Hours ({{{overlay|Traffic}}} Overlay)]]
* [[Vans per hour (Function Value)]]
* [[Vans per hour (Function Value)]]
{{{seealso|}}}
}}
}}


|}}</onlyinclude>
|}}</onlyinclude>

Latest revision as of 11:26, 5 October 2022

The value can either by a single value, or an Attribute array of values. As a single value, this reflects the amount of vehicles per hour at any point of the day. As an Attribute array, it's assumed to be an array of 24 values, each value corresponding to each hour of the day.