Difference between revisions of "Template:Infobox NFL single game"
Jump to navigation
Jump to search
Template documentation[create]
imported>Primefac |
imported>Primefac |
||
| Line 7: | Line 7: | ||
<table class="nowraplinks" style="border-collapse: collapse; width: 100%; line-height: 1.2;"> | <table class="nowraplinks" style="border-collapse: collapse; width: 100%; line-height: 1.2;"> | ||
<tr> | <tr> | ||
| − | <th scope="col" style="width: 50%; text-align: center;">[[{{{visitor}}}]]{{#if:{{{ | + | <th scope="col" style="width: 50%; text-align: center;">[[{{{visitor}}}]]{{#if:{{{visitor record|{{{visitor_record|}}}}}}|<br />{{nobold|({{{visitor record|{{{visitor_record|}}}}}})}}}}</th> |
| − | <th scope="col" style="width: 50%; text-align: center;">[[{{{home}}}]]{{#if:{{{ | + | <th scope="col" style="width: 50%; text-align: center;">[[{{{home}}}]]{{#if:{{{home record|{{{home_record|}}}}}}|<br />{{nobold|({{{home record|{{{home_record|}}}}}})}}}}</th> |
| − | </tr>{{#if:{{{ | + | </tr>{{#if:{{{home qtr1|{{{home_qtr1|}}}}}}{{{visitor qtr1|{{{visitor_qtr1|}}}}}}| |
<tr> | <tr> | ||
| − | <td style="font-size: 300%; line-height: 100%; font-weight: bold; text-align: center;">{{#if:{{{ | + | <td style="font-size: 300%; line-height: 100%; font-weight: bold; text-align: center;">{{#if:{{{visitor qtr1|{{{visitor_qtr1|}}}}}}|{{#expr:{{if empty|{{{visitor qtr1|{{{visitor_qtr1|}}}}}}|0}}+{{if empty|{{{visitor qtr2|{{{visitor_qtr2|}}}}}}|0}}+{{if empty|{{{visitor qtr3|{{{visitor_qtr3|}}}}}}|0}}+{{if empty|{{{visitor qtr4|{{{visitor_qtr4|}}}}}}|0}}+{{if empty|{{{visitor qtr5|{{{visitor_qtr5|}}}}}}|0}}+{{if empty|{{{visitor qtr6|{{{visitor_qtr6|}}}}}}|0}}}}}}</td> |
| − | <td style="font-size: 300%; line-height: 100%; font-weight: bold; text-align: center;">{{#if:{{{ | + | <td style="font-size: 300%; line-height: 100%; font-weight: bold; text-align: center;">{{#if:{{{home qtr1|{{{home_qtr1|}}}}}}|{{#expr:{{if empty|{{{home qtr1|{{{home_qtr1|}}}}}}|0}}+{{if empty|{{{home qtr2|{{{home_qtr2|}}}}}}|0}}+{{if empty|{{{home qtr3|{{{home_qtr3|}}}}}}|0}}+{{if empty|{{{home qtr4|{{{home_qtr4|}}}}}}|0}}+{{if empty|{{{home qtr5|{{{home_qtr5|}}}}}}|0}}+{{if empty|{{{home qtr6|{{{home_qtr6|}}}}}}|0}}}}}}</td> |
| − | </tr>}}{{#if:{{{ | + | </tr>}}{{#if:{{{visitor coach|}}}{{{home coach|}}}|<tr> |
| − | <tr><td style="text-align:center">{{#if:{{{ | + | <tr><td style="text-align:center">{{#if:{{{visitor coach|{{{visitor_coach|}}}}}}|Head coach:<br />'''{{{visitor coach|{{{visitor_coach|}}}}}}'''}}</td> |
| − | <td style="text-align:center">{{#if:{{{ | + | <td style="text-align:center">{{#if:{{{home coach|{{{home_coach|}}}}}}|Head coach:<br />'''{{{home coach|{{{home_coach|}}}}}}'''}}</td> |
</tr>}}</table>}} | </tr>}}</table>}} | ||
| data1 = | | data1 = | ||
{{Infobox game score | {{Infobox game score | ||
| − | | teama = <b>{{{ | + | | teama = <b>{{{visitor abbr|{{{visitor_abbr|}}}}}}</b> |
| − | | teama_1period = {{{ | + | | teama_1period = {{{visitor qtr1|{{{visitor_qtr1|}}}}}} |
| − | | teama_2period = {{{ | + | | teama_2period = {{{visitor qtr2|{{{visitor_qtr2|}}}}}} |
| − | | teama_3period = {{{ | + | | teama_3period = {{{visitor qtr3|{{{visitor_qtr3|}}}}}} |
| − | | teama_4period = {{{ | + | | teama_4period = {{{visitor qtr4|{{{visitor_qtr4|}}}}}} |
| − | | teama_OTperiod = {{{ | + | | teama_OTperiod = {{{visitor qtr5|{{{visitor_qtr5|}}}}}} |
| − | | teama_OT2period = {{{ | + | | teama_OT2period = {{{visitor qtr6|{{{visitor_qtr6|}}}}}} |
| − | | teamb = <b>{{{ | + | | teamb = <b>{{{home abbr|{{{home_abbr|}}}}}}</b> |
| − | | teamb_1period = {{{ | + | | teamb_1period = {{{home qtr1|{{{home_qtr1|}}}}}} |
| − | | teamb_2period = {{{ | + | | teamb_2period = {{{home qtr2|{{{home_qtr2|}}}}}} |
| − | | teamb_3period = {{{ | + | | teamb_3period = {{{home qtr3|{{{home_qtr3|}}}}}} |
| − | | teamb_4period = {{{ | + | | teamb_4period = {{{home qtr4|{{{home_qtr4|}}}}}} |
| − | | teamb_OTperiod = {{{ | + | | teamb_OTperiod = {{{home qtr5|{{{home_qtr5|}}}}}} |
| − | | teamb_OT2period = {{{ | + | | teamb_OT2period = {{{home qtr6|{{{home_qtr6|}}}}}} |
}} | }} | ||
| label2 = Date | | label2 = Date | ||
Revision as of 20:10, 7 May 2016
| ||||||||||
[[Category:Infobox templates|Template:Remove first word]]
| This page is currently being merged After a discussion, consensus to merge this page was found. You can help implement the merger by following the instructions at Help:Merging. |
| 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. |