Difference between revisions of "Template:Infobox NFL single game"

From blackwiki
Jump to navigation Jump to search
imported>ZappaOMatic
m (Tweak)
imported>Frietjes
(infobox)
Line 1: Line 1:
{| class="infobox" width="300" style="font-size: 90%;"
+
{{infobox
|+ style="margin-left: inherit; font-size: medium;" | '''{{{name}}}'''
+
| title = {{{name}}}
|- style="text-align:center; background: #ffffff;"
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}}}
| colspan="2" | {{{image}}}
+
| caption = {{{caption|}}}
|-style="text-align:center; background: #ffffff; font-size: 85%"
+
| image2 =
| colspan="2" | {{{caption}}}
+
{{#if:{{{visitor|}}}{{{home|}}}|
|-
+
<table class="nowraplinks" style="border-collapse: collapse; width: 100%; line-height: 1.2;">
| align="center" colspan="2" |
+
<tr>
{| style="background:#F9F9F9" width="100%" class="nowraplinks"
+
<th scope="col" style="width: 50%; text-align: center;">{{{visitor}}}{{#if:{{{visitor record|}}}|<br />{{nobold|({{{visitor record}}})}}}}</th>
|-
+
<th scope="col" style="width: 50%; text-align: center;">{{{home}}}{{#if:{{{home record|}}}|<br />{{nobold|({{{home record}}})}}}}</th>
|-align="center" style="font-size:95%; line-height:95%"
+
</tr>{{#if:{{{home qtr1|}}}{{{visitor qtr1|}}}|
! [[{{{visitor}}}]]
+
<tr>
! [[{{{home}}}]]
+
<td style="font-size: 300%; line-height: 100%; font-weight: bold; text-align: center;">{{#if:{{{visitor qtr1|}}}|{{#expr:{{if empty|{{{visitor qtr1|}}}|0}}+{{if empty|{{{visitor qtr2|}}}|0}}+{{if empty|{{{visitor qtr3|}}}|0}}+{{if empty|{{{visitor qtr4|}}}|0}}+{{if empty|{{{visitor qtr5|}}}|0}}+{{if empty|{{{visitor qtr6|}}}|0}}}}}}</td>
|-align="center" style="font-size:95%; line-height:95%"
+
<td style="font-size: 300%; line-height: 100%; font-weight: bold; text-align: center;">{{#if:{{{home qtr1|}}}|{{#expr:{{if empty|{{{home qtr1|}}}|0}}+{{if empty|{{{home qtr2|}}}|0}}+{{if empty|{{{home qtr3|}}}|0}}+{{if empty|{{{home qtr4|}}}|0}}+{{if empty|{{{home qtr5|}}}|0}}+{{if empty|{{{home qtr6|}}}|0}}}}}}</td>
| ({{{visitor record}}})
+
</tr>}}{{#if:{{{visitor coach|}}}{{{home coach|}}}|<tr>
| ({{{home record}}})
+
<tr><td style="text-align:center">{{#if:{{{visitor coach|}}}|Head&nbsp;coach:<br />'''{{{visitor coach}}}'''}}</td>
{{#if:{{{home qtr1|}}}|
+
<td style="text-align:center">{{#if:{{{home coach|}}}|Head&nbsp;coach:<br />'''{{{home coach}}}'''}}</td>
{{!}}- align="center" style="font-size:300%; line-height:100%;"
+
</tr>}}</table>}}
{{!}} '''{{#expr:{{{visitor qtr1|0}}}+{{{visitor qtr2|0}}}+{{{visitor qtr3|0}}}+{{{visitor qtr4|0}}}+{{{visitor qtr5|0}}}+{{{visitor qtr6|0}}}}}'''
+
| data1 =  
{{!}} '''{{#expr:{{{home qtr1|0}}}+{{{home qtr2|0}}}+{{{home qtr3|0}}}+{{{home qtr4|0}}}+{{{home qtr5|0}}}+{{{home qtr6|0}}}}}''' }}
 
|-style="align:center"
 
|-
 
| align="center" style="font-size:95%;" | Head&nbsp;coach:<br />'''{{{visitor coach}}}'''
 
| align="center" style="font-size:95%;" | Head&nbsp;coach:<br />'''{{{home coach}}}'''
 
|}
 
|-
 
| align="center" colspan="2" |
 
 
{{Infobox game score
 
{{Infobox game score
 
| teama = <b>{{{visitor abbr}}}</b>
 
| teama = <b>{{{visitor abbr}}}</b>
Line 42: Line 34:
 
| teamb_OT2period = {{{home qtr6|}}}
 
| teamb_OT2period = {{{home qtr6|}}}
 
}}
 
}}
|- style="vertical-align: middle;"
+
| label2 = Date
| '''Date''' || {{{date}}}
+
| data2 = {{{date|}}}
|- style="vertical-align: middle;"
+
| label3 = Stadium
| '''Stadium''' || {{{stadium}}}
+
| data3 = {{{stadium|}}}
|- style="vertical-align: middle;"
+
| label4 = Location
| '''Location''' || {{{city}}}
+
| data4 = {{{city|}}}
|- style="vertical-align: middle;"
+
| label5 = [[Official (American football)|Referee]]
{{#if:{{{referee|}}}|
+
| data5 = {{{referee|}}}
{{!}} '''[[Official (American football)|Referee]]'''
+
 
{{!}} {{{referee|N/A}}}
+
| data6 = {{#invoke:InfoboxImage|InfoboxImage|image={{{uniform|}}}|size=275px}}
}}
+
 
|-
+
| label7 = Attendance
{{#if:{{{uniform|}}}|
+
| data7 = {{{attendance|}}}  
{{!}}colspan="2"{{!}}<center>[[{{{uniform}}}|275px]]</center> }}
+
| label8 = [[Spread betting|Favorite]]
|- style="vertical-align: middle;"
+
| data8 = {{{odds|}}}
{{#if:{{{attendance|}}}|
+
| label9 = [[Television network|Network]]
{{!}} '''Attendance''' {{!}}{{!}} {{{attendance}}} }}
+
| data9 = {{{network|}}}
|- style="vertical-align: middle;"
+
| label10 = [[Sports commentator|Announcer]]s
{{#if:{{{odds|}}}|
+
| data10 = {{{announcers|}}}  
{{!}} '''[[Spread betting|Favorite]]''' {{!}}{{!}} {{{odds}}} }}
+
}}<noinclude>
|- style="vertical-align:middle;"
 
{{#if:{{{network|}}}|
 
{{!}} '''[[Television network|Network]]''' {{!}}{{!}} {{{network}}} }}
 
|- style="vertical-align:middle;"
 
{{#if:{{{announcers|}}}|
 
{{!}}  '''[[Sports commentator|Announcer]]s''' {{!}}{{!}} {{{announcers}}} }}
 
|}<noinclude>
 
 
{{being merged|date=11 May 2015|merge=Template:Infobox Super Bowl}}
 
{{being merged|date=11 May 2015|merge=Template:Infobox Super Bowl}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:54, 28 December 2015

{{{name}}}
1 Total
{{{visitor abbr}}} 0 0
{{{home abbr}}} 0 0

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

Template documentation[create]