Difference between revisions of "Template:Infobox motorsport championship/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Pelmeen10
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
| title      = {{{name|{{{title|<includeonly>{{PAGENAMEBASE}}</includeonly> }}}}}}
 
| title      = {{{name|{{{title|<includeonly>{{PAGENAMEBASE}}</includeonly> }}}}}}
 
| titleclass = fn
 
| titleclass = fn
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{imagesize|{{{image-size|}}}}}}|sizedefault=frameless}}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|size={{{imagesize|{{{image-size|{{{pixels|}}}}}}}}}|sizedefault=frameless}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| headerstyle= background:#dfdfdf
 
| headerstyle= background:#dfdfdf
Line 41: Line 41:
 
| label17    = Tire suppliers
 
| label17    = Tire suppliers
 
| data17    = {{{tires|}}}
 
| data17    = {{{tires|}}}
| label18    = {{#if:{{{folded|}}}|Last}} Drivers' champion
+
| label18   = Current champions
| data18     = {{{champion driver|}}}
+
| data18    = {{{current_champions|}}}
| label19   = {{#if:{{{folded|}}}|Last}} Co-Drivers' champion
+
| label19   = {{#switch:{{{name|}}}
| data19     = {{{champion codriver|}}}
+
  |World Rally Championship | WRC = [[List of World Rally Championship Drivers' champions|{{#if:{{{folded|}}}|Last}} Drivers' champion]]
| label20   = {{#switch:{{{name|}}}
+
  |#default = {{#if:{{{folded|}}}|Last}} Drivers' champion
 +
  }}
 +
| data19     = {{{champion driver|}}}
 +
| label20   = {{#if:{{{folded|}}}|Last}} Co-drivers' champion
 +
| data20     = {{{champion codriver|}}}
 +
| label22   = {{#switch:{{{name|}}}
 
   |MotoGP World Championship | MotoGP = [[List of 500cc/MotoGP Motorcycle World Champions|{{#if:{{{folded|}}}|Last}} Riders' champion]]
 
   |MotoGP World Championship | MotoGP = [[List of 500cc/MotoGP Motorcycle World Champions|{{#if:{{{folded|}}}|Last}} Riders' champion]]
 
   |Moto2 World Championship | Moto2 = [[List of 250cc/Moto2 Motorcycle World Champions|{{#if:{{{folded|}}}|Last}} Riders' champion]]
 
   |Moto2 World Championship | Moto2 = [[List of 250cc/Moto2 Motorcycle World Champions|{{#if:{{{folded|}}}|Last}} Riders' champion]]
Line 51: Line 56:
 
   |#default = {{#if:{{{folded|}}}|Last}} Riders' champion
 
   |#default = {{#if:{{{folded|}}}|Last}} Riders' champion
 
   }}
 
   }}
| data20     = {{{champion rider|}}}
+
| data22     = {{{champion rider|}}}
| label21   = {{#if:{{{folded|}}}|Last}} Teams' champion
+
| label23   = {{#if:{{{folded|}}}|Last}} Teams' champion
| data21     = {{{champion team|}}}
+
| data23     = {{{champion team|}}}
| label22   = {{#if:{{{folded|}}}|Last}} Makes' champion
+
| label24   = {{#if:{{{folded|}}}|Last}} Makes' champion
| data22     = {{{manufacturer|}}}
+
| data24     = {{{manufacturer|}}}
| label23   = {{#switch:{{{name|}}}
+
| label25   = {{#switch:{{{name|}}}
 
   |MotoGP World Championship | MotoGP = [[List of Grand Prix motorcycle racing World champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 
   |MotoGP World Championship | MotoGP = [[List of Grand Prix motorcycle racing World champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 
   |Moto2 World Championship | Moto2 = [[List of Grand Prix motorcycle racing World champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 
   |Moto2 World Championship | Moto2 = [[List of Grand Prix motorcycle racing World champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 
   |Moto3 World Championship | Moto3 = [[List of Grand Prix motorcycle racing World champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 
   |Moto3 World Championship | Moto3 = [[List of Grand Prix motorcycle racing World champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 +
  |World Rally Championship | WRC = [[List of World Rally Championship Constructors' champions|{{#if:{{{folded|}}}|Last}} Constructors' champion]]
 
   |#default = {{#if:{{{folded|}}}|Last}} Constructors' champion
 
   |#default = {{#if:{{{folded|}}}|Last}} Constructors' champion
 
   }}
 
   }}
| data23     = {{{constructor|}}}
+
| data25     = {{{constructor|}}}
| label24   = Official website
+
| label26   = Official website
| data24     = {{{website|}}}
+
| data26     = {{{website|}}}
| header25   = {{{section1|}}}
+
| header27   = {{{section1|}}}
| header26   = {{{section2|}}}
+
| header28   = {{{section2|}}}
| header27   = {{{section3|}}}
+
| header29   = {{{section3|}}}
| header28   = {{{section4|}}}
+
| header30   = {{{section4|}}}
| header29   = {{{section5|}}}
+
| header31   = {{{section5|}}}
 
| below      = {{#if:{{{current_season|}}}|[[File:Motorsport current event.svg|33px|]] ''[[{{{current_season|}}}{{!}}Current season]]''}}
 
| below      = {{#if:{{{current_season|}}}|[[File:Motorsport current event.svg|33px|]] ''[[{{{current_season|}}}{{!}}Current season]]''}}
}}<noinclude>{{template doc}}</noinclude>
+
}}<noinclude></noinclude>

Latest revision as of 12:01, 17 March 2018