Template:M-series: Difference between revisions

From Pixar Cars Wiki
Jump to navigation Jump to search
Line 2: Line 2:
-->{{#ifeq:{{{released|}}}|X
-->{{#ifeq:{{{released|}}}|X
  |<div class="c-row" style="background:gray">''[[List of unreleased Mattel Disney Pixar Cars vehicles|Unreleased]]''{{#if:{{{series|}}}|<br/><div><small>({{#var:ser_finallink}})</small></div>|}}</div>
  |<div class="c-row" style="background:gray">''[[List of unreleased Mattel Disney Pixar Cars vehicles|Unreleased]]''{{#if:{{{series|}}}|<br/><div><small>({{#var:ser_finallink}})</small></div>|}}</div>
  | {{#SWITCH: {{#var:ser_name}}<!--
  | {{#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|}}}|true|[[Category:{{{year|}}} Mainline vehicles]]|}}<div class="M_{{{year|}}} c-row"><div class="c-rowtext">[[{{#switch:{{{sub|}}}
Line 17: Line 17:
// 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]]<div style="background-color: #fb3d49; text-align: center;width: 100%;"><span id="MR-seriesno">Series 1</span></div></div></div>
| <div class="c-row m-col-name" style="text-align:center; background: linear-gradient(to right, {{#var:c1}} 0, {{#var:c1}} 10%, {{#var:c2}} 10%, {{#var:c2}} 30%, #fff 30%, #fff 100%)">{{#var:ser_finallink}}</div>}}
| null = <div class="c-row m-col-name" style="text-align:center; background: linear-gradient(to right, {{#var:c1}} 0, {{#var:c1}} 10%, {{#var:c2}} 10%, {{#var:c2}} 30%, #fff 30%, #fff 100%)">{{#var:ser_finallink}}</div>}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Documentation==
==Documentation==

Revision as of 12:28, 10 September 2024

Documentation

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