Template:Motorsport season

From Infobox Wiki
Jump to: navigation, search
{{{year}}} {{{competition}}} Season
Motorsport season
# of rounds Ovals Road courses
0 0 0
Champions
Driver {{{driver}}}
Owner {{{owner}}}
Team {{{team}}}
Manufacturer {{{manufacturer}}}
Rookie of the Year {{{rookie}}}
Season
Opener race Finale race
{{{firstrace}}} {{{lastrace}}}
Previous Next
← {{{lastyear}}} {{{nextyear}}} →

Original[edit source]


Includes[edit source]

  • The flag image in the header is picto infobox sport auto.png from Wikimedia. It does not require uploading to the wiki. Instead it is added to MediaWiki:Common.css. Giving it a class name of "motorsport", this is added to MediaWiki:Common.css
.motorsport {
    background: transparent url('https://upload.wikimedia.org/wikipedia/commons/a/af/Picto_infobox_sport_auto.png') no-repeat scroll right top;
}
In the header row of the infobox, the class is included to retrieve the image
! colspan=2 class="motorsport" | {{{competition}}} 
  • # of rounds automatically calculated from Ovals, Road courses variables


Clean template[edit source]

{{Motorsport Season
 | year         = 
 | competition  = 

 | image        = 
 | imagewidth   = 
 | caption      = 

 | ovals        = 
 | roadcourses  = 

 | driver       = 
 | owner        =  
 | team         =  
 | manufacturer = 
 | rookie       = 
 
 | firstrace    = 
 | lastrace     = 
 
 | lastyear     = 
 | nextyear     = 
|}}
Pages
Actor EurekaFamily GuyHarry PotterStar Wars
Character AshwoodBob's BurgersCommandosCrazy ArcadeDark AngelDarren ShanDemons in my NightmaresEurekaFamily GuyFinal FantasyFish HooksGalactic Stargate AuthorityGrisaiaHarry PotterIron KingdomsJibrilLast ResortLEGO BatmanLooney TunesModern FamilyNintendoPokémonPokémon FanonPop'n MusicPretty CureProfessor LaytonSanrioSega SonicSeikaiSouth ParkStar WarsStargateStrike BackTerra ImperiumToon DoctorWikipediaWinx ClubWorld Universe
Episode Bob's BurgersFamily GuyFish HooksGrisaiaLooney TunesPokémonSouth ParkState of Affairs
Game ChalienFinal FantasyFish HooksGrisaiaPokémonPortalSanrioWii Sports
Program Bob's BurgersEurekaFish HooksLooney TunesModern FamilyMoviesStar WarsStargateSurvivor
Role-playing game BaseBattleCardCoat of ArmsCompanyCompetitorsCountryEnemyEnemyBaseGovernmentHeroMilitaryNationOrganizationPartyPlanetPower plantProjectShipStarshipWeapon statsWeapons
Species Darren ShanNintendoPokémonStar Wars
Sport Euro 2016Football clubMotorsport race overviewMotorsport seasonSports clubWrestler
Sports bracket 6 team finals series8 team finals series16 team20 team32 team32 team compact32 team cup
Table 4 team table8 team finals series with tableTrack listingVoting table
Other AlbumBar boxBar graphBookDVDElectionMusical artistMusical artist discographyOfficeholderPublic transitRoyaltySingleStorm
Infoboxes
Actor EurekaFamily GuyHarry PotterStar Wars
Character AshwoodBob's BurgersCommandosCrazy ArcadeDark AngelDarren ShanDemons in my NightmaresEurekaFamily GuyFinal FantasyFish HooksGalactic Stargate AuthorityGrisaiaHarry PotterIron KingdomsJibrilLast ResortLEGO BatmanLooney TunesModern FamilyNintendoPokémonPokémon FanonPop'n MusicPretty CureProfessor LaytonSanrioSega SonicSeikaiSouth ParkStar WarsStargateStrike BackTerra ImperiumToon DoctorWikipediaWinx ClubWorld Universe
Episode Bob's BurgersFamily GuyFish HooksGrisaiaLooney TunesPokémonSouth ParkState of Affairs
Game ChalienFinal FantasyFish HooksGrisaiaPokémonPortalSanrioWii Sports
Program Bob's BurgersEurekaFish HooksLooney TunesModern FamilyMoviesStar WarsStargateSurvivor
Role-playing game BaseBattleCardCoat of ArmsCompanyCompetitorsCountryEnemyEnemyBaseGovernmentHeroMilitaryNationOrganizationPartyPlanetPower plantProjectShipStarshipWeapon statsWeapons
Species Darren ShanNintendoPokémonStar Wars
Sport Football clubMotorsport race overviewMotorsport seasonSports clubWrestler
Other AlbumBar boxBar graphBookDVDElectionMusical artistMusical artist discographyOfficeholderPublic transitRoyaltySingleStorm
Templates
Layout HeaderTemplateMain PageMainPageCharacterMainTemplateSectionTemplate
Sport bracket 6 team finals series8 team finals series16 team20 team32 team32 team compact32 team cup
Table 4 team table8 team finals series with tableMonthTrack listingVoting table
Utilities AgeAmboxBar graph horizontalClearColorCube‎Composition barComposition bar squareKeyMapQuoteRating multiRating singleRecipeScorecardTabTime countdownTopOfPage