Difference between revisions of "Template:Infobox NFL game/doc"
imported>Infinite mission (→General game: Removal of parameters that are inappropriate for the infobox) |
imported>Infinite mission (→Parameters: Removal of parameters that are inappropriate for the infobox) |
||
| Line 118: | Line 118: | ||
; stadium: Venue where the games was held | ; stadium: Venue where the games was held | ||
; city: City where the game was held | ; city: City where the game was held | ||
| − | |||
| − | |||
; MVP: Game's most valuable player (MVP). Team (if necessary) provided by '''MVPteam''' | ; MVP: Game's most valuable player (MVP). Team (if necessary) provided by '''MVPteam''' | ||
; MVP2: The Co-MVP, if there is one. Team (if valid) provided by '''MVP2team''' | ; MVP2: The Co-MVP, if there is one. Team (if valid) provided by '''MVP2team''' | ||
| Line 125: | Line 123: | ||
; defensiveMVP: The Defensive MVP of the game. Team (if valid) provided by '''defMVPteam''' | ; defensiveMVP: The Defensive MVP of the game. Team (if valid) provided by '''defMVPteam''' | ||
; anthem: Who sang the national anthem | ; anthem: Who sang the national anthem | ||
| − | |||
| − | |||
| − | |||
; halftime: Haltime performances | ; halftime: Haltime performances | ||
; last: Links to the last instance of this game. If using a valid "type", then supply the name (i.e. game number, year). Otherwise, supply the whole link, without brackets. | ; last: Links to the last instance of this game. If using a valid "type", then supply the name (i.e. game number, year). Otherwise, supply the whole link, without brackets. | ||
Revision as of 21:52, 7 January 2021
| 40px | This is a documentation subpage for Template:Infobox NFL game. It contains usage information, categories and other content that is not part of the original template page. |
{{Infobox NFL game}} incorporates the following templates (i.e. all the templates listed here). Please use the most appropriate name when placing this template on a page.
- {{Infobox ArenaBowl}}
- {{Infobox AFLChamp}}
- {{Infobox Belgian Bowl}}
- {{Infobox NFL championship game}}
- {{Infobox Pro Bowl}}
- {{Infobox Super Bowl}}
- {{Infobox UFLchamp}}
- {{Infobox World Bowl}}
- {{Infobox gridiron football single game}}
- {{Infobox NFL single game}}
- {{Infobox ArenaFootballSingleGameHeader}}
Usage
This template is meant to be used for any professional American football game. For annual matches such as the Super Bowl or the Pro Bowl, the |type= parameter is used to define certain game-specific titles and wikilinks.
The |name= parameter is used to give the title of the game, but when used in conjunction with |type= only the specific number/numeral is necessary. For example, |name=XX used in conjunction with |type=sb would be used for Super Bowl XX. For regular matches, |type= is not required but necessitates using the full title of the game for |name=.
Type codes
- ab = Arena Bowl
- aflc = AFL Championship Game
- bb = Belgian Bowl
- nflc = NFL Championship game
- pb = Pro Bowl
- sb = Super Bowl
- wb = World Bowl
- uflc = UFL Championship Game
General game
Template:Parameter names example
{{Infobox NFL game
| type = <!-- See table below -->
| title = <!-- ONLY needed if type is null or not recognized -->
| name =
| full_name = <!-- ONLY needed if name is not a simple year, roman numeral, etc-->
| image =
| image_size = <!-- only if need to adjust, e.g. 200px -->
| caption =
| visitor =
| visitor_abbr =
| visitor_conf =
| visitor_place =
| home =
| home_abbr =
| home_conf =
| home_place =
| visitor_qtr1 =
| visitor_qtr2 =
| visitor_qtr3 =
| visitor_qtr4 =
| home_qtr1 =
| home_qtr2 =
| home_qtr3 =
| home_qtr4 =
| date =
| stadium =
| city =
| MVP =
| anthem =
| halftime =
| last = <!-- If the name parameter is a year, these provide links automatically-->
| next =
}}
Pro Bowl
Template:Parameter names example
{{Infobox Pro Bowl
| name = 1971
| full_name = 1971 Wikipedia Fancy Pro Bowl
| visitor_coach =
| visitor_coach_team =
| home_coach =
| home_coach_team =
| MVP =
| MVPteam =
| MVP2 =
| MVP2team =
| offensiveMVP =
| offMVPteam =
| defensiveMVP =
| defMVPteam =
}}
Parameters
- type
- Code to indicate which type of game this is. Refer to chart below.
- title
- Title of game (only if "type" is null)
- name
- The roman numeral, number, or year of the particular game
- image
- The filename of the uploaded image of the game's logo
- visitor
- The club that was designated as the visiting team
- home
- The club that was designated as the home team
- visitor_abbr
- Abbreviation of the club that was designated as the visiting team
- home_abbr
- Abbreviation of the club that was designated as the home team
- visitor_conf
- Conference of the club that was designated as the visiting team
- home_conf
- Conference of the club that was designated as the home team
- visitor_place
- Place/ranking of the visiting team, if applicable
- home_place
- Place/ranking of the home team, if applicable
- visitor_qtr1
- Visiting team's 1st quarter score
- visitor_qtr2
- Visiting team's 2nd quarter score
- visitor_qtr3
- Visiting team's 3rd quarter score
- visitor_qtr4
- Visiting team's 4th quarter score
- home_qtr1
- Home team's 1st quarter score
- home_qtr2
- Home team's 2nd quarter score
- home_qtr3
- Home team's 3rd quarter score
- home_qtr4
- Home team's 4th quarter score
- date
- Date the game was played
- stadium
- Venue where the games was held
- city
- City where the game was held
- MVP
- Game's most valuable player (MVP). Team (if necessary) provided by MVPteam
- MVP2
- The Co-MVP, if there is one. Team (if valid) provided by MVP2team
- offensiveMVP
- The Offensive MVP of the game. Team (if valid) provided by offMVPteam
- defensiveMVP
- The Defensive MVP of the game. Team (if valid) provided by defMVPteam
- anthem
- Who sang the national anthem
- halftime
- Haltime performances
- last
- Links to the last instance of this game. If using a valid "type", then supply the name (i.e. game number, year). Otherwise, supply the whole link, without brackets.
- next
- Links to the next instance of this game. If using a valid "type", then supply the name (i.e. game number, year). Otherwise, supply the whole link, without brackets.
Examples
To be added for each type code.