Template:M-series: Difference between revisions

From Pixar Cars Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 4: Line 4:
  | {{#SWITCH: {{{series|}}}<!--
  | {{#SWITCH: {{{series|}}}<!--
// mainline
// mainline
--> | M | m | Mainline | mainline = {{#ifeq:{{{cats|}}}|true|[[Category:{{{year|}}} Mainline vehicles]]|}}<div class="M_{{{year|}}} c-row"><div class="c-rowtext">[[{{#switch:{{{sub|}}}
--> | M | m | Mainline | mainline = {{#ifeq:{{{cats|false}}}|true|[[Category:{{#switch:{{{year|}}}
|Spring = 2017
|2018 = 2018-2019
|2017 = {{#switch:{{{sub|}}}
|Spring = Spring 2017
|Cars 3 = 2017 Cars 3
|}}
|{{{year|}}}}} Mainline vehicles]]}}<div class="M_{{{year|}}} c-row"><div class="c-rowtext">[[{{#switch:{{{sub|}}}
|Spring = Spring 2017
|Cars 3 = 2017 Cars 3
|Cars 3 = 2017 Cars 3
|{{{year|}}}}} (mainline series)|Mainline]]{{#ifeq:{{{version|}}}|International|&nbsp;''(Int.)''|}}</div><div class="mainline-year" style="font-size:70%;margin-top:-5px">{{#SWITCH: {{{year|}}}
|{{{year|}}}}} (mainline series)|Mainline]]{{#ifeq:{{{version|}}}|International|&nbsp;''(Int.)''|}}</div><div class="mainline-year" style="font-size:70%;margin-top:-5px">{{#SWITCH: {{{year|}}}
Line 12: Line 18:
| Cars 3 = 2017 Cars 3
| Cars 3 = 2017 Cars 3
|}}
|}}
    | 2018 | 2018-19 | 2018-2019 = 2018-2019[[Category:2018-19 Mainline vehicles]]
     | {{{year|}}}}}</div><div class="mobile-only" style="font-size:12px;padding-bottom:20%">• See card</div></div>
     | {{{year|}}}}}</div><div class="mobile-only" style="font-size:12px;padding-bottom:20%">• See card</div></div>
<!--
<!--
// other
// other
-->  | Mini Racers = <div class="c-row"><div class="c-rowtext" id="MR-series" style="display:flex;height: 100%;font-weight:bold;">[[File:MiniRacers.png|50px]]<div style="background-color: #fb3d49; text-align: center;width: 100%;"><span id="MR-seriesno">Series 1</span></div></div></div>
-->  | Mini Racers = <div class="c-row"><div class="c-rowtext" id="MR-series" style="display:flex;height: 100%;font-weight:bold;">[[File:MiniRacers.png|50px]]<!--#fb3d49--><div style="background-color: #fff; text-align: center;width: 100%;"><span id="MR-seriesno">{{{sub|}}}{{#if:{{#var:sub_number}}|<br/>Series {{#var:sub_number}}|}}</span></div></div></div>
| {{M-collection}} }}
| {{M-collection}}{{#ifeq:{{{cats|false}}}|true|[[Category:{{#var:ser_category}} vehicles]]|}}<!-- this currently needs to be transcluded presumably due to a pipe in one of the variables --> }}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Documentation==
==Documentation==
Alternate version of {{tem|M-series}} for use with auto-include categories in {{tem|die-cast row}}
Alternate version of {{tem|M-series}} for use with auto-include categories in {{tem|die-cast row}}


[[Category:Content templates]]</noinclude>
[[Category:Mattel templates]]</noinclude>

Latest revision as of 13:59, 19 September 2024

Documentation

Alternate version of {{M-series}} for use with auto-include categories in {{die-cast row}}