Template:Vehicle stats: Difference between revisions

From Pixar Cars Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
|Fixed=Wikitext string
|Fixed=Wikitext string
|Lenticular=Wikitext string
|Lenticular=Wikitext string
}}</noinclude><includeonly>{{#ifeq:{{#var:r}}|0||[[Category:Unreleased vehicles]]}}
}}{{Component|vehicle infobox}}</noinclude><includeonly>{{#ifeq:{{#var:r}}|0|[[Category:Unreleased vehicles]]|}}
{{#cargo_store:_table=Vehicle_stats
{{#cargo_store:_table=Vehicle_stats
|First_series={{#if:{{#var:first_release}}|{{#var:first_release}}|{{#first_row}}}}
|First_series={{#if:{{#var:first_release}}|{{#var:first_release}}|{{#var:first_row}}}}
|China={{#var:china}}
|China={{#var:china}}
|Thailand={{#var:thailand}}
|Thailand={{#var:thailand}}
Line 19: Line 19:
|Full_name={{#var:full_name}}{{#var:chasename}}
|Full_name={{#var:full_name}}{{#var:chasename}}
|Number=<div id="colno_{{#var:colno_sortkey}}" class="chase_{{#var:chase}}">{{#var:colnumlist_number}}</div>
|Number=<div id="colno_{{#var:colno_sortkey}}" class="chase_{{#var:chase}}">{{#var:colnumlist_number}}</div>
|Rel={{#if:{{#var:r}}|1|0}}
|Rel={{#ifeq:{{#var:r}}|0|0|1}}
|Segment={{M-segment|{{#var:segment}}}}
|Segment={{M-segment|{{#var:segment}}}}
|Fixed={{#if:{{#var:colnumlist_fixed}}|{{#var:colnumlist_fixed}}|{{n/a}}}}
|Fixed={{#if:{{#var:colnumlist_fixed}}|{{#var:colnumlist_fixed}}|{{n/a}}}}
|Lenticular={{#if:{{#var:colnumlist_lent}}|{{#var:colnumlist_lent}}|{{n/a}}}}
|Lenticular={{#if:{{#var:colnumlist_lent}}|{{#var:colnumlist_lent}}|{{n/a}}}}
}}</div></includeonly>
}}</div></includeonly>

Latest revision as of 16:18, 31 August 2024

This template defines the Cargo table "Vehicle_stats".

View table.

This template is a component of another, designed to optimize performance and user accessibility within a larger structure. It is not meant to be called individually and should never be placed into an article.