Template:Infobox sports league: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with '{{infobox | title = {{{title|{{PAGENAME}}}}} | subheader = {{#if: {{{current_season|}}} | '''Current season or competition:'''<br />[[File:{{{image|{{#switch: {{lc: {{{sport}}}}}…') |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{infobox | {{infobox | ||
| title = {{{title|{{PAGENAME}}}}} | | title = {{{title|{{PAGENAME}}}}} | ||
| subheader = {{#if: {{{current_season|}}} | '''Current season or competition:'''<br />[[File:{{{image|{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf | gymnastics = Gymnastics | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic | olympic games | olympics = Olympics | rugby league | rugby union | rugby = Rugby | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | Sports}} current event.svg}}}|30px|link=|alt=]] ''[[{{{current_season|}}}]]'' | {{#if: {{{last_season|}}} | '''Most recent season or competition:'''<br />''[[{{{last_season}}}]]'' | {{#if: {{{upcoming_season|}}} | '''Upcoming season or competition:'''<br />[[File:{{{image|{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf | gymnastics = Gymnastics | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic| olympic games | olympics = Olympics | rugby league | rugby union | rugby = Rugby | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | Sports}} current event. | | subheader = {{#if: {{{current_season|}}} | '''Current season or competition:'''<br />[[File:{{{image|{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf | gymnastics = Gymnastics | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic | olympic games | olympics = Olympics | rugby league | rugby union | rugby = Rugby | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | Sports}} current event.svg}}}|30px|link=|alt=]] ''[[{{{current_season|}}}]]'' | {{#if: {{{last_season|}}} | '''Most recent season or competition:'''<br />''[[{{{last_season}}}]]'' | {{#if: {{{upcoming_season|}}} | '''Upcoming season or competition:'''<br />[[File:{{{image|{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf | gymnastics = Gymnastics | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic| olympic games | olympics = Olympics | rugby league | rugby union | rugby = Rugby | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | Sports}} current event.png}}}|30px|link=|alt=]] ''[[{{{upcoming_season|}}}]]''}} }} }}{{#if: {{{current_season2|}}} | <br/>''[[{{{current_season2|}}}]]''}} | ||
| bodystyle = width:{{{width|300}}}px | | bodystyle = width:{{{width|300}}}px | ||
| image = {{#if: {{{logo|}}} | [[File:{{{logo}}}|{{{pixels|200px}}}]] }} | | image = {{#if: {{{logo|}}} | [[File:{{{logo}}}|{{{pixels|200px}}}]] }} |
Revision as of 16:52, 7 November 2012
[edit] [ ] Template documentation
Usage
{{Infobox sports league | title = | current_season = <!-- do not wikilink --> | current_season2 = <!-- do not wikilink --> | last_season = <!-- do not wikilink --> | upcoming_season = <!-- do not wikilink; replace with current_season at the start of the new season --> | logo = | pixels = <!-- use a format of ##px, such as 120px --> | caption = | Formerly = | sport = <!-- does not need to be wikilinked --> | founded = | fame = <!--what the league is famous for...the "claim to fame"...avoid use if possible--> | motto = | inaugural = | teams = | promotion = | relegation = | levels = | domestic_cup = | country = | venue = | champion = | most_champs = | qualification = | folded = | website = | singles = | headquarters = | owner = | ceo = | Director = | President = | TV = | sponsor = | related_comps = | Founder = | footnotes = }}
The above documentation is transcluded from Template:Infobox sports league/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |