Difference between revisions of "Template:Infobox NFL"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(rm italics to improve accessibility)
imported>Pigsonthewing
m (Reverted edits by Pigsonthewing (talk) to last version by Izkala)
 
(10 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox vevent" width="350" cellspacing="0" style="font-size: 90%;"
+
{{Infobox
|-
+
| bodyclass    = vevent
! class="summary" colspan="2" style="font-size: medium;" | {{{year|{{CURRENTYEAR}}}}} National Football League season
+
| bodystyle    = width: 26em;
|-
+
 
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
| headerstyle  = background-color: #eee;
{{!}} colspan="2" style="text-align:center; font-size:90%;" {{!}} [[File:{{{image}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|220px}}]]<br /><small>{{{caption<includeonly>|</includeonly>}}}</small>
+
 
{{!}}-
+
| title        = {{{year|{{CURRENTYEAR}}}}} National Football League season
}}
+
| titleclass  = summary
| colspan=2 align=center bgcolor=#efefef | '''Regular season'''
+
 
|-
+
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|0.8}}}|alt={{{alt|}}}}}
| '''Duration'''
+
| caption      = {{{caption|}}}
| {{{regular_season}}}
+
 
|-
+
| header1      = Regular season
{{#switch: {{{year|{{CURRENTYEAR}}}}}
+
| label2      = Duration
| 1925 = {{!}} colspan="2" {{!}} A [[1925 NFL Championship controversy|controversial ruling]] by the NFL suspended the [[Pottsville Maroons]] from all league privileges, including the right to play for the NFL championship.
+
| data2        = {{{regular_season}}}
| 1932 = {{!}} colspan="2" {{!}} Because the [[Portsmouth Spartans]] and the [[Chicago Bears]] finished the season tied for first place, [[NFL Playoff Game, 1932|a playoff game]] was held to determine the NFL champion.
+
| data3        = {{#switch:{{{year|{{CURRENTYEAR}}}}}
| 1982 = {{!}} colspan="2" {{!}} A player's strike shortened the regular season to 9 games.
+
| 1925 = A [[1925 NFL Championship controversy|controversial ruling]] by the NFL suspended the [[Pottsville Maroons]] from all league privileges, including the right to play for the NFL championship.
| 1987 = {{!}} colspan="2" {{!}} A player's strike shortened the regular season to 15 games.
+
| 1932 = Because the [[Portsmouth Spartans]] and the [[Chicago Bears]] finished the season tied for first place, [[NFL Playoff Game, 1932|a playoff game]] was held to determine the NFL champion.
| 2001 = {{!}} colspan="2" {{!}} In the wake of the [[September 11 attacks]], a number of games were re-scheduled.
+
| 1982 = A player's strike shortened the regular season to 9 games.
| 2011 = {{!}} colspan="2" {{!}} All dates listed are tentative. This season may be affected by an ongoing work stoppage due to labor issues between league owners and players.
+
| 1987 = A player's strike shortened the regular season to 15 games.
}}
+
| 2001 = In the wake of the [[September 11 attacks]], a number of games were re-scheduled.
|-
+
}}
{{<!--If the season is after the 1970 AFL-NFL merger--> #ifexpr: {{{year|{{CURRENTYEAR}}}}} >= 1970 |
+
 
{{!}}-
+
<!-- If the season is after the 1970 AFL-NFL merger -->
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[{{{year|{{CURRENTYEAR}}}}}&ndash;{{two digit year|{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}}}} NFL playoffs|Playoffs]]'''
+
| header4      = {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} >= 1970|{{Infobox
{{!}}-
+
| child = yes | decat = yes
{{!}} '''Start date'''
+
| headerstyle = background-color: #eee;
{{!}} {{{playoffs_start}}}
+
 
{{<!--If this is a past season--> #ifexpr: ({{CURRENTYEAR}} >= {{{year|{{CURRENTYEAR}}}}} + 1) |
+
| title      = [[{{{year|{{CURRENTYEAR}}}}}&ndash;{{two digit year|{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}}}} NFL playoffs|Playoffs]]
{{!}}-
+
 
{{!}} '''[[American Football Conference Championship Game|AFC Champions]]'''
+
| label1      = Start date
{{!}} {{{AFCchampion|''To be determined''}}}
+
| data1      = {{{playoffs_start}}}
{{!}}-
+
 
{{!}} '''[[National Football Conference Championship Game|NFC Champions]]'''
+
<!-- If this is a past season -->
{{!}} {{{NFCchampion|''To be determined''}}}
+
| label2      = [[American Football Conference Championship Game|AFC Champions]]
}}<!-- end #ifexpr: past season -->
+
| data2      = {{{AFCchampion|}}}
{{!}}-
+
| label3      = [[National Football Conference Championship Game|NFC Champions]]
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[Super Bowl {{{sb_name|I}}}]]'''
+
| data3      = {{{NFCchampion|}}}
{{!}}-
+
 
{{!}} '''Date'''
+
| header4    = [[Super Bowl {{{sb_name|I}}}]]
{{!}} {{{sb_date}}}
+
| label5      = Date
{{!}}-
+
| data5      = {{{sb_date}}}
{{!}} '''Site'''
+
| label6      = Site
{{!}} {{{sb_site}}}
+
| data6      = {{{sb_site}}}
|<!--else if the season occurred before the merger-->
+
}}}}
{{<!--If the season is or after 1933 --> #ifexpr: {{{year|{{CURRENTYEAR}}}}} >= 1933 |
+
 
{{<!--If the season is between 1967 and 1969 --> #ifexpr: ({{{year|{{CURRENTYEAR}}}}} >= 1967) and ({{{year|{{CURRENTYEAR}}}}} <= 1969) |
+
<!-- If the season occurred before the merger -->
{{!}}-
+
| header5      = {{#ifexpr:({{{year|{{CURRENTYEAR}}}}} >= 1933) and ({{{year|{{CURRENTYEAR}}}}} < 1970)|{{Infobox
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[NFL playoffs, {{{year}}}|Playoffs]]'''
+
| child = yes | decat = yes
}}<!-- end #ifexpr: between 1967 and 1969 -->
+
| headerstyle = background-color: #eee;
{{!}}-
+
 
{{!}} '''{{#ifexpr: ({{{year}}} >= 1950) and ({{{year}}} <= 1952)|American Conf.|East}} Champions'''
+
<!-- If the season is between 1967 and 1969 -->
{{!}} {{{Eastchampion}}}
+
| title      = {{#ifexpr:({{{year|{{CURRENTYEAR}}}}} >= 1967) and ({{{year|{{CURRENTYEAR}}}}} <= 1969)|[[{{{year}}} NFL playoffs|Playoffs]]}}
{{!}}-
+
 
{{!}} '''{{#ifexpr: ({{{year}}} >= 1950) and ({{{year}}} <= 1952)|National Conf.|West}} Champions'''
+
| label1      = {{#ifexpr:({{{year}}} >= 1950) and ({{{year}}} <= 1952)|American Conf.|East}} Champions
{{!}} {{{Westchampion}}}
+
| data1      = {{{Eastchampion}}}
{{!}}-
+
| label2      = {{#ifexpr:({{{year}}} >= 1950) and ({{{year}}} <= 1952)|National Conf.|West}} Champions
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[NFL Championship Game, {{{year}}}|Championship Game]]'''
+
| data2      = {{{Westchampion}}}
}}<!-- end #ifexpr: after 1933 -->
+
 
}}<!-- end #ifexpr: after 1970 merger -->
+
| header3    = [[{{{year}}} NFL Championship Game|Championship Game]]
{{<!--If this is a past season--> #ifexpr: ({{CURRENTYEAR}} >= {{{year|{{CURRENTYEAR}}}}} + 2) or (({{CURRENTYEAR}} = {{{year|{{CURRENTYEAR}}}}} + 1) and ({{CURRENTMONTH}} > 1)) |
+
}}}}
{{!}}-
+
 
{{!}} '''Champions'''
+
<!-- If this is a past season -->
{{!}} {{{NFLchampion|}}}
+
| label6      = Champions
}}<!-- end #ifexpr: -->
+
| data6        = {{{NFLchampion|}}}
{{<!--If the season is after the 1970 AFL-NFL merger--> #ifexpr: {{{year|{{CURRENTYEAR}}}}} >= 1970 |
+
 
{{!}}-
+
<!-- If the season is after the 1970 AFL-NFL merger -->
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}} Pro Bowl|Pro Bowl]]
+
| header7      = {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} >= 1970|{{Infobox
{{!}}-
+
| child = yes | decat = yes
{{!}} '''Date'''
+
| title      = [[{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}} Pro Bowl|Pro Bowl]]
{{!}} {{{pb_date}}}
+
 
{{!}}-
+
| label1      = Date
{{!}} '''Site'''
+
| data1      = {{{pb_date}}}
{{!}} {{{pb_site|[[Aloha Stadium]]}}}
+
| label2      = Site
}}<!-- end #ifexpr: -->
+
| data2      = {{{pb_site|[[Aloha Stadium]]}}}
|- style="background:#eee;"
+
}}}}
| align="center" colspan="2" | '''[[List of NFL seasons|National Football League seasons]]'''
+
 
{| style="font-size:90%; width:80%; border:1px; border-collapse:collapse; background:#eee; line-height:90%;"
+
| below        =
|-
+
* {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1920|&larr; [[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]]}}
| align="center" width=45% | {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1920 |'''[[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NFL season| &nbsp;&lt; {{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]]'''|&nbsp;<!-- do nothing, so avoid redlink display --->}}
+
* '''[[List of National Football League seasons|NFL seasons]]'''
| align="center" width=45% | {{#ifeq:{{{year}}}|{{CURRENTYEAR}}|&nbsp;<!-- do nothing, so avoid redlink display --->|'''[[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} &gt;&nbsp;]]'''}}
+
* {{#ifexpr:{{#time:Y|+1 months}} <= {{{year|{{CURRENTYEAR}}}}}||[[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}}]] &rarr;}}
|}
+
| belowclass  = hlist noprint nowrap
|}<noinclude>
+
| belowstyle  = border-top: 1px solid #aaa; padding-top: 3px;
{{esoteric}}
+
}}<noinclude>
{{-}}
+
{{Documentation}}</noinclude>
{{template doc}}
 
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 22:14, 24 November 2018

2025 National Football League season
Regular season
Duration{{{regular_season}}}
[[2025–Template:Two digit year NFL playoffs|Playoffs]]
Start date{{{playoffs_start}}}
Super Bowl I
Date{{{sb_date}}}
Site{{{sb_site}}}
[[Category:Infobox templates|Template:Remove first word]]
Pro Bowl
Date{{{pb_date}}}
SiteAloha Stadium
[[Category:Infobox templates|Template:Remove first word]]

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

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

This template may be used to summarize information about a National Football League season; not to be confused with {{Infobox NFL team season}}, which is for the article about an individual team during a season.

Usage

{{Infobox NFL
| year           = 
| image          = 
| imagesize      = 
| caption        = 
| NFLchampion    = 
| AFCchampion    = 
| NFCchampion    = 
| regular_season = 
| playoffs_start = 
| sb_name        = 
| sb_date        = 
| sb_site        = 
| pb_date        = 
}}

Parameters

Note: * denotes required fields. ** denotes required fields for seasons after the 1970 AFL–NFL merger. † denotes required fields for past seasons.

Parameter Explanation
year * Insert the year of the season, in the form 2025.
image Insert an image name (abc.jpg, xyz.png, 123.gif, etc.). Remember to follow Wikipedia:Non-free content criteria.
imagesize Insert image width. Be sure to include "px" after the number, i.e. 200px. If omitted or blank it defaults to 220px.
caption Insert photograph caption.
NFLchampion Insert the team that won the league title.
AFCchampion **† Insert the team that won the AFC Championship Game.
NFCchampion **† Insert the team that won the NFC Championship Game.
regular_season * Insert the time period when the regular season was played, in the form:

{{Start date|2006|09|01}}-December 31, 2006

playoffs_start ** Insert the date when the playoffs started.
sb_name ** Insert the roman numeral of the Super Bowl.
sb_date ** Insert the date of the Super Bowl.
sb_site ** Enter the site where the Super Bowl took place, in the form:

[[Stadium]], [[City]], [[State]]

pb_date ** Insert the date of the Pro Bowl, in the format {{End date|2007|02|12}}

Microformat

Template:UF-hcal es:Plantilla:Temporada NFL