Difference between revisions of "Template:Infobox NFL"

From blackwiki
Jump to navigation Jump to search
imported>Moe Epsilon
(edit)
imported>Pigsonthewing
m (Reverted edits by Pigsonthewing (talk) to last version by Izkala)
 
(7 intermediate revisions by 4 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;" | <center>{{{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.
}}
+
| 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 |
+
}}
{{!}}-
+
 
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[{{{year|{{CURRENTYEAR}}}}}&ndash;{{two digit year|{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}}}} NFL playoffs|Playoffs]]'''
+
<!-- If the season is after the 1970 AFL-NFL merger -->
{{!}}-
+
| header4      = {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} >= 1970|{{Infobox
{{!}} '''Start date'''
+
| child = yes | decat = yes
{{!}} {{{playoffs_start}}}
+
| headerstyle = background-color: #eee;
{{<!--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]]'''
+
 
{{!}} {{{AFCchampion|''To be determined''}}}
+
| label1      = Start date
{{!}}-
+
| data1      = {{{playoffs_start}}}
{{!}} '''[[National Football Conference Championship Game|NFC Champions]]'''
+
 
{{!}} {{{NFCchampion|''To be determined''}}}
+
<!-- If this is a past season -->
}}<!-- end #ifexpr: past season -->
+
| label2      = [[American Football Conference Championship Game|AFC Champions]]
{{!}}-
+
| data2      = {{{AFCchampion|}}}
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[Super Bowl {{{sb_name|I}}}]]'''
+
| label3      = [[National Football Conference Championship Game|NFC Champions]]
{{!}}-
+
| data3      = {{{NFCchampion|}}}
{{!}} '''Date'''
+
 
{{!}} {{{sb_date}}}
+
| header4    = [[Super Bowl {{{sb_name|I}}}]]
{{!}}-
+
| label5      = Date
{{!}} '''Site'''
+
| data5      = {{{sb_date}}}
{{!}} {{{sb_site}}}
+
| label6      = Site
|<!--else if the season occurred before the merger-->
+
| data6      = {{{sb_site}}}
{{<!--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 -->
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[NFL playoffs, {{{year}}}|Playoffs]]'''
+
| header5      = {{#ifexpr:({{{year|{{CURRENTYEAR}}}}} >= 1933) and ({{{year|{{CURRENTYEAR}}}}} < 1970)|{{Infobox
}}<!-- end #ifexpr: between 1967 and 1969 -->
+
| child = yes | decat = yes
{{!}}-
+
| headerstyle = background-color: #eee;
{{!}} '''{{#ifexpr: ({{{year}}} >= 1950) and ({{{year}}} <= 1952)|American Conf.|East}} Champions'''
+
 
{{!}} {{{Eastchampion}}}
+
<!-- If the season is between 1967 and 1969 -->
{{!}}-
+
| title      = {{#ifexpr:({{{year|{{CURRENTYEAR}}}}} >= 1967) and ({{{year|{{CURRENTYEAR}}}}} <= 1969)|[[{{{year}}} NFL playoffs|Playoffs]]}}
{{!}} '''{{#ifexpr: ({{{year}}} >= 1950) and ({{{year}}} <= 1952)|National Conf.|West}} Champions'''
+
 
{{!}} {{{Westchampion}}}
+
| label1      = {{#ifexpr:({{{year}}} >= 1950) and ({{{year}}} <= 1952)|American Conf.|East}} Champions
{{!}}-
+
| data1      = {{{Eastchampion}}}
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[NFL Championship Game, {{{year}}}|Championship Game]]'''
+
| label2      = {{#ifexpr:({{{year}}} >= 1950) and ({{{year}}} <= 1952)|National Conf.|West}} Champions
}}<!-- end #ifexpr: after 1933 -->
+
| data2      = {{{Westchampion}}}
}}<!-- end #ifexpr: after 1970 merger -->
+
 
{{<!--If this is a past season--> #ifexpr: ({{CURRENTYEAR}} >= {{{year|{{CURRENTYEAR}}}}} + 2) or (({{CURRENTYEAR}} = {{{year|{{CURRENTYEAR}}}}} + 1) and ({{CURRENTMONTH}} > 1)) |
+
| header3    = [[{{{year}}} NFL Championship Game|Championship Game]]
{{!}}-
+
}}}}
{{!}} '''Champions'''
+
 
{{!}} {{{NFLchampion|}}}
+
<!-- If this is a past season -->
}}<!-- end #ifexpr: -->
+
| label6      = Champions
{{<!--If the season is after the 1970 AFL-NFL merger--> #ifexpr: {{{year|{{CURRENTYEAR}}}}} >= 1970 |
+
| data6        = {{{NFLchampion|}}}
{{!}}-
+
 
{{!}} colspan=2 align=center bgcolor=#efefef {{!}} '''[[{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}} Pro Bowl|Pro Bowl]]
+
<!-- If the season is after the 1970 AFL-NFL merger -->
{{!}}-
+
| header7      = {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} >= 1970|{{Infobox
{{!}} '''Date'''
+
| child = yes | decat = yes
{{!}} {{{pb_date}}}
+
| title      = [[{{#expr: {{{year|{{CURRENTYEAR}}}}} + 1}} Pro Bowl|Pro Bowl]]
{{!}}-
+
 
{{!}} '''Site'''
+
| label1      = Date
{{!}} {{{pb_site|[[Aloha Stadium]]}}}
+
| data1      = {{{pb_date}}}
}}<!-- end #ifexpr: -->
+
| label2      = Site
|- style="background:#eee;"
+
| data2      = {{{pb_site|[[Aloha Stadium]]}}}
| align="center" colspan="2" | '''[[List of National Football League seasons|National Football League seasons]]'''
+
}}}}
{| style="font-size:90%; width:80%; border:1px; border-collapse:collapse; background:#eee; line-height:90%;"
+
 
|-
+
| below        =
| 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 --->}}
+
* {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1920|&larr; [[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]]}}
| 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;]]'''}}
+
* '''[[List of National Football League seasons|NFL seasons]]'''
|}
+
* {{#ifexpr:{{#time:Y|+1 months}} <= {{{year|{{CURRENTYEAR}}}}}||[[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}}]] &rarr;}}
|}<noinclude>
+
| belowclass  = hlist noprint nowrap
{{esoteric}}
+
| belowstyle  = border-top: 1px solid #aaa; padding-top: 3px;
{{-}}
+
}}<noinclude>
{{template doc}}
+
{{Documentation}}</noinclude>
<!-- 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