Template:M-series: Difference between revisions
Jump to navigation
Jump to search
RodRedlineM1 (talk | contribs) |
RodRedlineM1 (talk | contribs) |
||
(8 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:{{# | --> | 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| ''(Int.)''|}}</div><div class="mainline-year" style="font-size:70%;margin-top:-5px">{{#SWITCH: {{{year|}}} | |{{{year|}}}}} (mainline series)|Mainline]]{{#ifeq:{{{version|}}}|International| ''(Int.)''|}}</div><div class="mainline-year" style="font-size:70%;margin-top:-5px">{{#SWITCH: {{{year|}}} | ||
Line 15: | Line 21: | ||
<!-- | <!-- | ||
// 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: # | --> | 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}}<!-- this currently needs to be transcluded presumably due to a pipe in one of the variables --> }} | | {{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 --> }} | ||
}}<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: | [[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}}