Difference between revisions of "Template:Infobox college football game"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(allow | game link = none)
imported>Frietjes
(Undid revision 737427042 by Frietjes (talk))
Line 152: Line 152:
 
| 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>{{#ifeq:{{lc:{{{game link}}}}}|none|{{{Game Name}}}|[[{{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|{{{FirstGameEverPlayed|}}}|{{{LastGameEverPlayed|}}}}}||<tr>
 
</tr>{{#if:{{both|{{{FirstGameEverPlayed|}}}|{{{LastGameEverPlayed|}}}}}||<tr>
 
<td style="width:50%; text-align:center; padding-right:1em">{{#if:{{{FirstGameEverPlayed|}}}| ''' &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:{{{FirstGameEverPlayed|}}}| ''' &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>

Revision as of 18:19, 2 September 2016

Script error: No such module "If empty".
DateScript error: No such module "If empty".

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

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

This template is used by {{Infobox college football single game}} and {{Infobox NCAA football yearly game}}

Usage

{{Infobox college football game
| Name = 
| Year Game Played = 
| Title Sponsor = 
| Game Name = 
| Subheader = 
| Image = 
| Caption = 
| Football Season = 
| Visitor Name Short = 
| Visitor Nickname = 
| Visitor School = 
| Home Name Short = 
| Home Nickname = 
| Home School = 
| Visitor Record = 
| Visitor Conference =
| Home Record =  
| Home Conference =
| Visitor Coach = 
| Home Coach = 
| Visitor AP = 
| Visitor Coaches = 
| Visitor CFP = 
| Visitor BCS = 
| Visitor Bowl Alliance = 
| Visitor Bowl Coalition = 
| Home AP = 
| Home Coaches = 
| Home CFP = 
| Home BCS = 
| Home Bowl Alliance = 
| Home Bowl Coalition = 
| Visitor1 = 
| Visitor2 = 
| Visitor3 = 
| Visitor4 = 
| Visitor5 = 
| Visitor6 = 
| Visitor7 = 
| Visitor8 = 
| Visitor9 = 
| Visitor10 = 
| Visitor11 = 
| Home1 = 
| Home2 = 
| Home3 = 
| Home4 = 
| Home5 = 
| Home6 = 
| Home7 = 
| Home8 = 
| Home9 = 
| Home10 = 
| Home11 = 
| Date = 
| Date Game Played = 
| Stadium = 
| City = 
| Type = 
| MVP = 
| Odds = 
| Anthem = 
| Referee = 
| Halftime = 
| Attendance = 
| Payout = 
| US Network = 
| US Announcers = 
| Ratings = 
| US Network Link = 
| US Announcers Link = 
| Intl Network = 
| Intl Announcers = 
| Intl Network Link = 
| Intl Announcers Link = 
| game link = 
| FirstGameEverPlayed = 
| Different Previous = 
| LastGameEverPlayed = 
| Different Next = 
}}

See also