Difference between revisions of "Template:Infobox NFL"
Jump to navigation
Jump to search
imported>Zzyzx11 the clone (updating #if statement) |
imported>Zzyzx11 the clone m (typo) |
||
| Line 78: | Line 78: | ||
|- | |- | ||
| align="center" width=45% | {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1920 |'''[[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NFL season| < {{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]]'''| <!-- do nothing, so avoid redlink display --->}} | | align="center" width=45% | {{#ifexpr:{{{year|{{CURRENTYEAR}}}}} > 1920 |'''[[{{#expr:{{{year|{{CURRENTYEAR}}}}}-1}} NFL season| < {{#expr:{{{year|{{CURRENTYEAR}}}}}-1}}]]'''| <!-- do nothing, so avoid redlink display --->}} | ||
| − | | align="center" width=45% | {{#ifexpr:{{#time:Y|+1 months}}<{{{year|{{CURRENTYEAR}}}}}| <!-- do nothing, so avoid redlink display --->|'''[[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} > ]]'''}} | + | | align="center" width=45% | {{#ifexpr:{{#time:Y|+1 months}}<={{{year|{{CURRENTYEAR}}}}}| <!-- do nothing, so avoid redlink display --->|'''[[{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} NFL season|{{#expr:{{{year|{{CURRENTYEAR}}}}}+1}} > ]]'''}} |
|} | |} | ||
|}<noinclude> | |}<noinclude> | ||
| Line 86: | Line 86: | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
| + | {{#time:Y|+1 months}} | ||
Revision as of 20:37, 4 December 2013
| [[File:{{{image}}}|220px]] {{{caption}}} | |||
| 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}}} | ||
| Pro Bowl | |||
| Date | {{{pb_date}}} | ||
| Site | Aloha Stadium | ||
National Football League seasons
| |||
| This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
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:
|
| 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:
|
| 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
| The above documentation is transcluded from Template:Infobox NFL/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
2025