Difference between revisions of "Template:Infobox league season"

From blackwiki
Jump to navigation Jump to search
imported>Piranha249
imported>Blaixx
(Season arrows are now on the outsides of the years)
Line 56: Line 56:
 
<table style="width:100%; border-collapse:collapse; background:#efefef;">
 
<table style="width:100%; border-collapse:collapse; background:#efefef;">
 
<tr>
 
<tr>
<td style="width:20%; text-align:center">{{#if:{{{prev| }}}|{{{prev| }}}&nbsp;<big>←</big>}}</td>
+
<td style="width:20%; text-align:center">{{#if:{{{prev| }}}|{{{prev| }}}}}</td>
 
<td style="width:60%; font-weight: bold; text-align:center">{{{seasons_title| }}}</td>
 
<td style="width:60%; font-weight: bold; text-align:center">{{{seasons_title| }}}</td>
<td style="width:20%; text-align:center">{{#if:{{{next| }}}|<big>→</big>&nbsp;{{{next| }}} }}</td>
+
<td style="width:20%; text-align:center">{{#if:{{{next| }}}|{{{next| }}} }}</td>
 
</tr></table>
 
</tr></table>
 
}}<noinclude>
 
}}<noinclude>

Revision as of 17:00, 21 April 2018

Infobox league season
Regular season
Playoffs
Championship

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Blank

{{Infobox league season
 |name=
 |image=
 |caption=
 |comment=
 |season_start=
 |season_end=
 |playoffs_start=
 |cup_title1=
 |cup_date1=
 |cup_champ1=
 |cup_title2=
 |cup_date2=
 |cup_champ2=
 |cup_title3=
 |cup_date3=
 |cup_champ3=
 |cup_title4=
 |cup_date4=
 |cup_champ4=
 |cup_title5=
 |cup_date5=
 |cup_champ5=
 |cup_title6=
 |cup_date6=
 |cup_champ6=
 |champion_title=
 |champion_date=
 |champion_site=
 |champion=
 |seasons_title=
 |prev=
 |next=
}}

CFL-use

{{Infobox league season
 |name={{subst:PAGENAME}}
 |image=
 |caption=
 |season_start=
 |season_end=
 |playoffs_start=
 |cup_title1=East Champions
 |cup_date1=
 |cup_champ1=
 |cup_title2=West Champions
 |cup_date2=
 |cup_champ2=
 |champion_title=
 |champion_date=
 |champion_site=
 |champion=
 |seasons_title=[[List of Canadian Football League seasons|CFL seasons]]
 |prev=
 |next=
}}

Parameters

bold indicates parameters generating hCalendar classes
name Name of the season; defaults to article title
image image, wikilinked with width parameter as necessary
caption caption displayed immediately under image
comment for something of unusual note about the season
season_start date of first regular season game
season_end date of final regular season game
playoffs_start date of first playoff game
cup_title1, 2, 3, 4, 5, 6 the name of a playoff championship (e.g., East Division, Yates Cup)
cup_date1, 2, 3, 4, 5, 6 date of the playoff championship (required for hCalendar but not displayed)
cup_champ1, 2, 3, 4, 5, 6 the champion of the playoff championship
champion_title name of the Championship; defaults to Championship
champion_date date of the Championship game
champion_site location of the Championship game
champion the name of the Champion
seasons_title title for the prev/next navigation line
prev and next wikilinks to previous and next year's season articles

Microformat

Template:UF-hcal

See also