Template:Motorsport race overview

From Infobox Wiki
Jump to: navigation, search
{{ {{{country}}} }}{{{name}}}
[[File:{{{circuit}}}.png|250px]]
{{{circuit}}}
Number of times held {{{times held}}}
First held {{{first held}}}
Most wins (drivers) {{{most wins driver}}}
Most wins (constructors) {{{most wins constructor}}}
Last Race ({{{current year}}})
Podium
First {{{winner}}}
{{{winning team}}}
Second {{{second}}}
{{{second team}}}
Third {{{third}}}
{{{third team}}}

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" | {{{name}}} 
  • The country variable uses the country icons and requires entering the 3 letter code


Clean template[edit source]

{{Motorsport Race Overview
 | country    = 
 | name       =
 | circuit    =

 | times held =
 | first held =
 | most wins driver =
 | most wins constructor =


 | current year =
 | winner       =
 | winning team =
 | second       =
 | second team  =
 | third        =
 | third team   =
}}
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