Jump to content

Template:Infobox college football game and Template:Infobox college football game/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
adding in MVP_label per talk
 
m fix
 
Line 1: Line 1:
{{infobox
<includeonly>{{Short description|College football game|2=noreplace}}</includeonly>{{infobox
| bodyclass = vevent
| bodyclass = vevent
| abovestyle = font-size:125%;
| abovestyle = font-size:125%;
| aboveclass = summary
| aboveclass = summary
| above = {{if empty|{{{name|}}}|{{#if:{{{year_game_played|}}}|<span class="dtstart">{{{year_game_played}}}</span>}} {{{title_sponsor|}}} {{{game_name|}}}}} {{{title_sponsor_suffix|}}}
| above = {{if empty|{{{Name|}}}|{{#if:{{{year_game_played|}}}|<span class="dtstart">{{{year_game_played}}}</span>}} {{{title_sponsor|}}} {{{game_name|}}}}}
| subheaderstyle = font-style:italic;
| subheaderstyle = font-style:italic;
| subheader = {{{subheader|}}}
| subheader = {{{subheader|}}}
Line 11: Line 11:
| caption = {{{caption|}}}
| caption = {{{caption|}}}
| image2 = <table class="nowraplinks" style="width:100%;">
| image2 = <table class="nowraplinks" style="width:100%;">
{{#if:{{{visitor_name_short|}}}{{{visitor_name_short|}}}{{{visitor_nickname|}}}{{{home_name_short|}}}{{{home_nickname|}}}|<tr>
{{#if:{{{visitor_name_short|}}}{{{visitor_nickname|}}}{{{home_name_short|}}}{{{home_nickname|}}}|<tr>
<td style="width:50%; text-align:center; font-weight:bold;">{{#if:{{{visitor_name_short|}}}{{{visitor_nickname|}}}|{{cfb link|cat=no|year={{{football_season}}}|team={{{visitor_name_short|}}} {{{visitor_nickname|}}}|school={{{visitor_school|}}}|title={{{visitor_name_short|}}} {{{visitor_nickname|}}}}}}}</td>
<td style="width:50%; text-align:center; font-weight:bold;">{{#if:{{{visitor_name_short|}}}{{{visitor_nickname|}}}|{{cfb link|cat=no|year={{{football_season}}}|team={{{visitor_name_short}}} {{{visitor_nickname}}}|school={{{visitor_school}}}|title={{{visitor_name_short}}} {{{visitor_nickname}}}}}}}</td>
<td style="width:50%; text-align:center; font-weight:bold;">{{#if:{{{home_name_short|}}}{{{home_nickname|}}}|{{cfb link|cat=no|year={{{football_season}}}|team={{{home_name_short}}} {{{home_nickname}}}|school={{{home_school|}}}|title={{{home_name_short|}}} {{{home_nickname|}}}}}}}</td>
<td style="width:50%; text-align:center; font-weight:bold;">{{#if:{{{home_name_short|}}}{{{home_nickname|}}}|{{cfb link|cat=no|year={{{football_season}}}|team={{{home_name_short}}} {{{home_nickname}}}|school={{{home_school}}}|title={{{home_name_short}}} {{{home_nickname}}}}}}}</td>
</tr>}}{{#if:{{{visitor_record|}}}{{{home_record|}}}|<tr>
</tr>}}{{#if:{{{visitor_record|}}}{{{home_record|}}}|<tr>
<td style="width:50%; text-align:center; font-weight:bold;">{{#if:{{{visitor_record|}}}|({{{visitor_record}}})}}</td>
<td style="width:50%; text-align:center; font-weight:bold;">{{#if:{{{visitor_record|}}}|({{{visitor_record}}})}}</td>
Line 26: Line 26:
<td style="text-align:center;">{{#if:{{{visitor_coach|}}}|Head&nbsp;coach:&nbsp;<br />'''{{{visitor_coach}}}'''}}</td>
<td style="text-align:center;">{{#if:{{{visitor_coach|}}}|Head&nbsp;coach:&nbsp;<br />'''{{{visitor_coach}}}'''}}</td>
<td style="text-align:center;">{{#if:{{{home_coach|}}}|Head&nbsp;coach:&nbsp;<br />'''{{{home_coach}}}'''}}</td>
<td style="text-align:center;">{{#if:{{{home_coach|}}}|Head&nbsp;coach:&nbsp;<br />'''{{{home_coach}}}'''}}</td>
</tr>}}{{#if:{{{visitor_rank_AP|}}}{{{visitor_rank_coaches|}}}{{{visitor_rank_NCAA|}}}{{{visitor_rank_TSN|}}}{{{visitor_rank_STATS|}}}{{{visitor_seed|}}}{{{visitor_rank_CFP|}}}{{{visitor_rank_BCS|}}}{{{visitor_rank_bowlalliance|}}}{{{visitor_rank_bowlcoalition|}}}{{{home_rank_AP|}}}{{{home_rank_coaches|}}}{{{home_rank_NCAA|}}}{{{home_rank_TSN|}}}{{{home_rank_STATS|}}}{{{home_seed|}}}{{{home_rank_CFP|}}}{{{home_rank_BCS|}}}{{{home_rank_bowlalliance|}}}{{{home_rank_bowlcoalition|}}}|<tr>
</tr>}}{{#if:{{{visitor_rank_AP|}}}{{{visitor_rank_coaches|}}}{{{visitor_rank_CFP|}}}{{{visitor_rank_BCS|}}}{{{visitor_rank_bowlalliance|}}}{{{visitor_rank_bowlcoalition|}}}{{{home_rank_AP|}}}{{{home_rank_coaches|}}}{{{home_rank_CFP|}}}{{{home_rank_BCS|}}}{{{home_rank_bowlalliance|}}}{{{home_rank_bowlcoalition|}}}|<tr>
<td>{{#if:{{{visitor_rank_AP|}}}{{{visitor_rank_coaches|}}}{{{visitor_rank_NCAA|}}}{{{visitor_rank_TSN|}}}{{{visitor_rank_STATS|}}}{{{visitor_seed|}}}{{{visitor_rank_CFP|}}}{{{visitor_rank_BCS|}}}{{{visitor_rank_bowlalliance|}}}{{{visitor_rank_bowlcoalition|}}}|
<td>{{#if:{{{visitor_rank_AP|}}}{{{visitor_rank_coaches|}}}{{{visitor_rank_CFP|}}}{{{visitor_rank_BCS|}}}{{{visitor_rank_bowlalliance|}}}{{{visitor_rank_bowlcoalition|}}}|
<table style="margin:0 auto; font-size:110%; border:1px solid #AAA; background:#EFEFEF;">
<table style="margin:0 auto; font-size:110%; border:1px solid #AAA; background:#EFEFEF;">
<tr>
<tr>
{{#if:{{{visitor_rank_AP|}}}|<td>''[[AP Poll|AP]]''</td>
{{#if:{{{visitor_rank_AP|}}}|<td>''[[AP Poll|AP]]''</td>
}}{{#if:{{{visitor_rank_coaches|}}}|<td>''[[Coaches Poll|Coaches]]''</td>
}}{{#if:{{{visitor_rank_coaches|}}}|<td>''[[Coaches Poll|Coaches]]''</td>
}}{{#if:{{{visitor_rank_NCAA|}}}|<td>''NCAA''</td>
}}{{#if:{{{visitor_rank_TSN|}}}|<td>''[[The Sports Network (wire service)|TSN]]''</td>
}}{{#if:{{{visitor_rank_STATS|}}}|<td>''[[STATS LLC|STATS]]''</td>
}}{{#if:{{{visitor_seed|}}}|<td>''[[Seed (sports)|Seed]]''</td>
}}{{#if:{{{visitor_rank_CFP|}}}
}}{{#if:{{{visitor_rank_CFP|}}}
|<td>''[[{{{football_season}}} NCAA {{#ifexpr:{{{football_season}}} >= 2014 | Division I FBS | Division I-A }} football rankings#CFP Rankings|CFP]]''</td>
|<td>''[[{{{football_season}}} NCAA {{#ifexpr:{{{football_season}}} >= 2014 | Division I FBS | Division I-A }} football rankings#CFP Rankings|CFP]]''</td>
Line 48: Line 44:
{{#if:{{{visitor_rank_AP|}}}|<td style="text-align:center;">''{{{visitor_rank_AP|}}}''</td>
{{#if:{{{visitor_rank_AP|}}}|<td style="text-align:center;">''{{{visitor_rank_AP|}}}''</td>
}}{{#if:{{{visitor_rank_coaches|}}}|<td style="text-align:center;">''{{{visitor_rank_coaches|}}}''
}}{{#if:{{{visitor_rank_coaches|}}}|<td style="text-align:center;">''{{{visitor_rank_coaches|}}}''
}}{{#if:{{{visitor_rank_NCAA|}}}|<td style="text-align:center;">''{{{visitor_rank_NCAA|}}}''</td>
}}{{#if:{{{visitor_rank_TSN|}}}|<td style="text-align:center;">''{{{visitor_rank_TSN|}}}''</td>
}}{{#if:{{{visitor_rank_STATS|}}}|<td style="text-align:center;">''{{{visitor_rank_STATS|}}}''</td>
}}{{#if:{{{visitor_seed|}}}|<td style="text-align:center;">''{{{visitor_seed|}}}''</td>
}}{{#if:{{{visitor_rank_CFP|}}}
}}{{#if:{{{visitor_rank_CFP|}}}
|<td style="text-align:center;">''{{{visitor_rank_CFP|}}}''</td>
|<td style="text-align:center;">''{{{visitor_rank_CFP|}}}''</td>
Line 62: Line 54:
}}
}}
</tr></table>}}</td>
</tr></table>}}</td>
<td>{{#if:{{{home_rank_AP|}}}{{{home_rank_coaches|}}}{{{home_rank_NCAA|}}}{{{home_rank_TSN|}}}{{{home_rank_STATS|}}}{{{home_seed|}}}{{{home_rank_CFP|}}}{{{home_rank_BCS|}}}{{{home_rank_bowlalliance|}}}{{{home_rank_bowlcoalition|}}}|
<td>{{#if:{{{home_rank_AP|}}}{{{home_rank_coaches|}}}{{{home_rank_CFP|}}}{{{home_rank_BCS|}}}{{{home_rank_bowlalliance|}}}{{{home_rank_bowlcoalition|}}}|
<table style="margin:0 auto; font-size:110%; border:1px solid #AAA; background:#EFEFEF;">
<table style="margin:0 auto; font-size:110%; border:1px solid #AAA; background:#EFEFEF;">
<tr>
<tr>
{{#if:{{{home_rank_AP|}}}|<td>''[[AP Poll|AP]]''</td>
{{#if:{{{home_rank_AP|}}}|<td>''[[AP Poll|AP]]''</td>
}}{{#if:{{{home_rank_coaches|}}}|<td>''[[Coaches Poll|Coaches]]''</td>
}}{{#if:{{{home_rank_coaches|}}}|<td>''[[Coaches Poll|Coaches]]''</td>
}}{{#if:{{{home_rank_NCAA|}}}|<td>''NCAA''</td>
}}{{#if:{{{home_rank_TSN|}}}|<td>''[[The Sports Network (wire service)|TSN]]''</td>
}}{{#if:{{{home_rank_STATS|}}}|<td>''[[STATS LLC|STATS]]''</td>
}}{{#if:{{{home_seed|}}}|<td>''[[Seed (sports)|Seed]]''</td>
}}{{#if:{{{home_rank_CFP|}}}
}}{{#if:{{{home_rank_CFP|}}}
|<td>''[[{{{football_season}}} NCAA {{#ifexpr:{{{football_season}}} >= 2014 | Division I FBS | Division I-A }} football rankings#CFP Rankings|CFP]]''</td>
|<td>''[[{{{football_season}}} NCAA {{#ifexpr:{{{football_season}}} >= 2014 | Division I FBS | Division I-A }} football rankings#CFP Rankings|CFP]]''</td>
Line 83: Line 71:
{{#if:{{{home_rank_AP|}}}|<td style="text-align:center;">''{{{home_rank_AP|}}}''</td>
{{#if:{{{home_rank_AP|}}}|<td style="text-align:center;">''{{{home_rank_AP|}}}''</td>
}}{{#if:{{{home_rank_coaches|}}}|<td style="text-align:center;">''{{{home_rank_coaches|}}}''
}}{{#if:{{{home_rank_coaches|}}}|<td style="text-align:center;">''{{{home_rank_coaches|}}}''
}}{{#if:{{{home_rank_NCAA|}}}|<td style="text-align:center;">''{{{home_rank_NCAA|}}}''</td>
}}{{#if:{{{home_rank_TSN|}}}|<td style="text-align:center;">''{{{home_rank_TSN|}}}''</td>
}}{{#if:{{{home_rank_STATS|}}}|<td style="text-align:center;">''{{{home_rank_STATS|}}}''</td>
}}{{#if:{{{home_seed|}}}|<td style="text-align:center;">''{{{home_seed|}}}''</td>
}}{{#if:{{{home_rank_CFP|}}}
}}{{#if:{{{home_rank_CFP|}}}
|<td style="text-align:center;">''{{{home_rank_CFP|}}}''</td>
|<td style="text-align:center;">''{{{home_rank_CFP|}}}''</td>
Line 152: Line 136:
| class4 = location
| class4 = location
| data4 = {{{city|}}}
| data4 = {{{city|}}}
| label5 = {{if empty|{{{MVP_label|}}}|MVP}}
| label5 = MVP
| data5 = {{#switch:{{{type|}}}|c|nc=<!-- nothing -->|#default={{{MVP|}}} }}
| data5 = {{#switch:{{{type|}}}|c|nc=<!-- nothing -->|#default={{{MVP|}}} }}
| label6 = [[Spread betting|Favorite]]
| label6 = [[Spread betting|Favorite]]
Line 184: Line 168:
| below = {{#if:{{{game_name|}}}|<table style="background:#efefef; width:100%; border-collapse:collapse">
| below = {{#if:{{{game_name|}}}|<table style="background:#efefef; width:100%; border-collapse:collapse">
<tr>
<tr>
<th style="text-align:center" colspan=2>[[{{if empty|{{{game_link|}}}| {{#ifexist: {{{game_name}}} (game) | {{{game_name}}} (game)| {{#ifexist: {{{game_name}}} (bowl game) | {{{game_name}}} (bowl game)|{{{game_name}}} }} }} }} | {{{game_name}}} ]]</th>
<th style="text-align:center" colspan=2>[[{{if empty|{{{game link|}}}| {{#ifexist: {{{game_name}}} (game) | {{{game_name}}} (game)| {{#ifexist: {{{game_name}}} (bowl game) | {{{game_name}}} (bowl game)|{{{game_name}}} }} }} }} | {{{game_name}}} ]]</th>
</tr>{{#if:{{both|{{{first_game_ever_played|}}}|{{{last_game_ever_played|}}}}}||<tr>
</tr>{{#if:{{both|{{{first_game_ever_played|}}}|{{{last_game_ever_played|}}}}}||<tr>
<td style="width:50%; text-align:center; padding-right:1em">{{#if:{{{first_game_ever_played|}}}| ''' &nbsp; '''| {{#if:{{{different_previous|}}}| ''' &nbsp;&lt; {{{different_previous}}}''' | ''' &nbsp;&lt; [[{{#expr:{{{year_game_played|{{CURRENTYEAR}}}}}-1}} {{{game_name}}} {{!}} {{#expr:{{{year_game_played|{{CURRENTYEAR}}}}}-1}}]]'''&nbsp; }} }}</td>
<td style="width:50%; text-align:center; padding-right:1em">{{#if:{{{first_game_ever_played|}}}| ''' &nbsp; '''| {{#if:{{{different_previous|}}}| ''' &nbsp;&lt; {{{different_previous}}}''' | ''' &nbsp;&lt; [[{{#expr:{{{year_game_played| {{CURRENTYEAR}}}}}-1}} {{{game_name}}} {{!}} {{#expr:{{{year_game_played|{{CURRENTYEAR}}}}}-1}}]]'''&nbsp; }} }}</td>
<td style="width:50%; text-align:center; padding-left:1em">{{#if:{{{last_game_ever_played|}}}| ''' &nbsp; '''| {{#if:{{{different_next|}}}| '''{{{different_next}}} &gt;&nbsp; ''' | '''[[{{#expr:{{{year_game_played| {{CURRENTYEAR}}}}}+1}} {{{game_name}}} {{!}} {{#expr:{{{year_game_played|{{CURRENTYEAR}}}}}+1}}]] &gt;&nbsp; ''' }} }}</td>
<td style="width:50%; text-align:center; padding-left:1em">{{#if:{{{last_game_ever_played|}}}| ''' &nbsp; '''| {{#if:{{{different_next|}}}| '''{{{different_next}}} &gt;&nbsp; ''' | '''[[{{#expr:{{{year_game_played| {{CURRENTYEAR}}}}}+1}} {{{game_name}}} {{!}} {{#expr:{{{year_game_played|{{CURRENTYEAR}}}}}+1}}]] &gt;&nbsp; ''' }} }}</td>
</tr>}}</table>
</tr>}}</table>
Line 196: Line 180:
<td style="width:50%; text-align:center; padding-left:1em">{{#if:{{{last_game_ever_played_2|}}}| ''' &nbsp; '''| {{#if:{{{different_next_2|}}}| '''{{{different_next_2}}} &gt;&nbsp; ''' | &nbsp; }} }}</td>
<td style="width:50%; text-align:center; padding-left:1em">{{#if:{{{last_game_ever_played_2|}}}| ''' &nbsp; '''| {{#if:{{{different_next_2|}}}| '''{{{different_next_2}}} &gt;&nbsp; ''' | &nbsp; }} }}</td>
</tr>}}</table>}}
</tr>}}</table>}}
}}<noinclude>
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox college football game with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox college football game]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | anthem | attendance | caption | city | date_game_played | date | different_next_2 | different_next | different_previous_2 | different_previous | first_game_ever_played_2 | first_game_ever_played | football_division | football_season | game_link | game_name | halftime | home_1q | home_2ot | home_2q | home_3ot | home_3q | home_4ot | home_4q | home_5ot | home_6ot | home_7ot | home_8ot | home_9ot | home_coach | home_conference | home_name_short | home_nickname | home_ot | home_rank_AP | home_rank_BCS | home_rank_bowlalliance | home_rank_bowlcoalition | home_rank_CFP | home_rank_coaches | home_rank_NCAA | home_rank_STATS | home_rank_TSN | home_record | home_school | home_seed | image_size | image_upright | image | intl_announcers_link | intl_announcers | intl_network_link | intl_network | last_game_ever_played_2 | last_game_ever_played | MVP | MVP_label | name | navigation_2 | odds | payout | ratings | referee | stadium | subheader | title_sponsor | title_sponsor_suffix | type | us_announcers_link | us_announcers | us_network_link | us_network | visitor_1q | visitor_2ot | visitor_2q | visitor_3ot | visitor_3q | visitor_4ot | visitor_4q | visitor_5ot | visitor_6ot | visitor_7ot | visitor_8ot | visitor_9ot | visitor_coach | visitor_conference | visitor_name_short | visitor_nickname | visitor_ot | visitor_rank_AP | visitor_rank_BCS | visitor_rank_bowlalliance | visitor_rank_bowlcoalition | visitor_rank_CFP | visitor_rank_coaches | visitor_rank_NCAA | visitor_rank_STATS | visitor_rank_TSN | visitor_record | visitor_school | visitor_seed | year_game_played}}<noinclude>
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
{{documentation}}<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>