Num cars (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_CAR...")
 
No edit summary
 
(15 intermediate revisions by 3 users 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_CARS    | description=The amount of car traffic on this road.    }}
{{Building attributes|type=row|group={{{overlay|Traffic}}} Overlay| unit=vehicles/h      | attribute=NUM_CARS    | description=The amount of car 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=
* [[{{{overlay|Traffic}}} Overlay]]
* [[Traffic visualization]]
* [[Hours ({{{overlay|Traffic}}} Overlay)]]
* [[Cars per hour (Function Value)]]
* [[Cars per hour (Function Value)]]
{{#if: {{{tformula|}}} |* [[{{{overlay|Traffic}}} formula ({{{overlay|Traffic}}} Overlay) |{{{overlay|Traffic}}} formula]] | }}
{{#if: {{{tformula|}}} |* [[Cars prequel ({{{overlay|Traffic}}} Overlay)]] | }}
{{{seealso|}}}
}}
}}


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

Latest revision as of 13:26, 1 March 2023

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.