Difference between revisions of "Template:Basketballbox"

From blackwiki
Jump to navigation Jump to search
imported>Howard the Duck
(fixing screw ups, undid all recent edits)
imported>Howard the Duck
m
Line 1: Line 1:
 
{| valign=center style="width: 100%; background: {{{bg|transparent}}};" cellspacing="0"  
 
{| valign=center style="width: 100%; background: {{{bg|transparent}}};" cellspacing="0"  
 
|-
 
|-
|align=center valign=top rowspan=4 width={{#if:{{{TV|}}}|11.5%|14.5%}}|{{{date|}}}{{ #if: {{{time|}}}| <br><small> {{{time}}}</small> | }}
+
|align=center valign=top rowspan=4 width={{#if:{{{TV|}}}|12%|15%}}|{{{date|}}}{{ #if: {{{time|}}}| <br><small> {{{time}}}</small> | }}
 
|width=6% style=font-size:85% rowspan=4 valign=top align=left |{{ #if: {{{report|}}} |{{{report}}}| }}
 
|width=6% style=font-size:85% rowspan=4 valign=top align=left |{{ #if: {{{report|}}} |{{{report}}}| }}
 
{{#if:{{{team1|}}}|
 
{{#if:{{{team1|}}}|
 
{{!}}colspan=3 align=center valign=top {{!}}{{{team1}}} {{#if: {{{score1|}}}|{{{score1}}}, |vs.}} {{{team2}}} {{{score2| }}}
 
{{!}}colspan=3 align=center valign=top {{!}}{{{team1}}} {{#if: {{{score1|}}}|{{{score1}}}, |vs.}} {{{team2}}} {{{score2| }}}
 
}}{{#if: {{{teamB|}}}|
 
}}{{#if: {{{teamB|}}}|
{{!}}width={{#if:{{{TV|}}}|21%|22%}} align=right valign=top {{!}}{{{teamA|}}}{{!!}}width={{#if:{{{TV|}}}|8%|9.5%}} align=center valign=top {{!}}{{{scoreA|&nbsp;}}}{{ #if: {{{scoreB|}}} |&ndash;{{{scoreB}}}|vs.}}{{!!}}width={{#if:{{{TV|}}}|21%|22%}} align=left valign=top {{!}}{{{teamB|}}} }}
+
{{!}}width={{#if:{{{TV|}}}|20%|22%}} align=right valign=top {{!}}{{{teamA|}}}{{!!}}width=7% align=center valign=top {{!}}{{{scoreA|&nbsp;}}}{{ #if: {{{scoreB|}}} |&ndash;{{{scoreB}}}|vs.}}{{!!}}width={{#if:{{{TV|}}}|20%|22%}} align=left valign=top {{!}}{{{teamB|}}} }}
 +
{{#if:{{{overtime|}}}|
 +
{{!}}width=2% style=font-size:85% {{!}}{{ #if: {{{overtime|}}} |'''{{{overtime}}}'''|&nbsp;}}
 +
}}
 
|width=26% style=font-size:85% rowspan=4 valign=top|{{{place|}}}{{ #if: {{{attendance|}}} |<br>'''Attendance:''' {{{attendance}}} | }}{{ #if: {{{referee|}}} |<br>'''Referees:''' {{{referee}}} | }}
 
|width=26% style=font-size:85% rowspan=4 valign=top|{{{place|}}}{{ #if: {{{attendance|}}} |<br>'''Attendance:''' {{{attendance}}} | }}{{ #if: {{{referee|}}} |<br>'''Referees:''' {{{referee}}} | }}
 
{{ #if: {{{TV|}}} |
 
{{ #if: {{{TV|}}} |
{{!}}width=6.5% style=font-size:85% rowspan=4 valign=top align=right{{!}}{{{TV}}}
+
{{!}}width=7% style=font-size:85% rowspan=4 valign=top align=right{{!}}{{{TV}}}
 
}}
 
}}
 
|-
 
|-
Line 21: Line 24:
 
}}
 
}}
 
{{#if:{{{points1|}}}|
 
{{#if:{{{points1|}}}|
{{!}}style=font-size:85% width={{#if:{{{teamA|}}}|20.5%|24%}} align=right{{!}}{{ #if: {{{points1|}}} |'''Pts:''' {{{points1}}}| }}{{ #if: {{{rebounds1|}}}|<br>'''Rebs:''' {{{rebounds1}}}| }}{{ #if: {{{assist1|}}} |<br>'''Asts:''' {{{assist1}}}| }}{{ #if: {{{otherstat1|}}} |<br>{{{otherstat1}}}| }}
+
{{!}}style=font-size:85% width={{#if:{{{teamA|}}}|22%|23%}} align=right{{!}}{{ #if: {{{points1|}}} |'''Pts:''' {{{points1}}}| }}{{ #if: {{{rebounds1|}}}|<br>'''Rebs:''' {{{rebounds1}}}| }}{{ #if: {{{assist1|}}} |<br>'''Asts:''' {{{assist1}}}| }}{{ #if: {{{otherstat1|}}} |<br>{{{otherstat1}}}| }}
 
{{!}}width={{#if:{{{teamA|}}}|7%|1%}}{{!}}
 
{{!}}width={{#if:{{{teamA|}}}|7%|1%}}{{!}}
{{!}}style=font-size:85% width={{#if:{{{teamA|}}}|20.5%|24%}} align=left{{!}}{{ #if: {{{points2|}}} |'''Pts:''' {{{points2}}}| }}{{ #if: {{{rebounds2|}}}|<br>'''Rebs:''' {{{rebounds2|}}}| }}{{ #if: {{{assist2|}}} |<br>'''Asts:''' {{{assist2|}}}| }}{{ #if: {{{otherstat2|}}} |<br>{{{otherstat2|}}}| }}
+
{{!}}style=font-size:85% width={{#if:{{{teamA|}}}|22%|23%}} align=left{{!}}{{ #if: {{{points2|}}} |'''Pts:''' {{{points2}}}| }}{{ #if: {{{rebounds2|}}}|<br>'''Rebs:''' {{{rebounds2|}}}| }}{{ #if: {{{assist2|}}} |<br>'''Asts:''' {{{assist2|}}}| }}{{ #if: {{{otherstat2|}}} |<br>{{{otherstat2|}}}| }}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 29: Line 32:
 
{{!}}colspan=3 align=center{{!}}{{ #if: {{{series|}}} |'''''{{{series}}}'''''</div>| }}
 
{{!}}colspan=3 align=center{{!}}{{ #if: {{{series|}}} |'''''{{{series}}}'''''</div>| }}
 
}}
 
}}
|}<noinclude>
+
|}
 +
<noinclude>
 
'''NBA style'''
 
'''NBA style'''
 
{{basketballbox
 
{{basketballbox

Revision as of 07:44, 17 May 2009


NBA style

{{{date}}}
{{{time}}}
{{{report}}} {{{team1}}} {{{score1}}}, {{{team2}}} {{{score2}}} {{{place}}}
Attendance: {{{attendance}}}
Referees: {{{referee}}}
{{{TV}}}
Scoring by quarter: {{{Q1}}}, {{{Q2}}}, {{{Q3}}}, {{{Q4}}} OT: {{{OT}}}
Pts: {{{points1}}}
Rebs: {{{rebounds1}}}
Asts: {{{assist1}}}
{{{otherstat1}}}
Pts: {{{points2}}}
Rebs: {{{rebounds2}}}
Asts: {{{assist2}}}
{{{otherstat2}}}
{{{series}}}

U.S. NCAA style

{{{date}}}
{{{time}}}
{{{report}}} {{{team1}}} {{{score1}}}, {{{team2}}} {{{score2}}} {{{place}}}
Attendance: {{{attendance}}}
Referees: {{{referee}}}
{{{TV}}}
Scoring by half: {{{H1}}}, {{{H2}}}
Pts: {{{points1}}}
Rebs: {{{rebounds1}}}
Asts: {{{assist1}}}
{{{otherstat1}}}
Pts: {{{points2}}}
Rebs: {{{rebounds2}}}
Asts: {{{assist2}}}
{{{otherstat2}}}
{{{series}}}

European style

{{{date}}}
{{{time}}}
{{{report}}} {{{teamA}}} 0*–1* {{{teamB}}} {{{place}}}
Attendance: {{{attendance}}}
Referees: {{{referee}}}
{{{TV}}}
Scoring by quarter: {{{Q1}}}, {{{Q2}}}, {{{Q3}}}, {{{Q4}}} OT: {{{OT}}}
Pts: {{{points1}}}
Rebs: {{{rebounds1}}}
Asts: {{{assist1}}}
{{{otherstat1}}}
Pts: {{{points2}}}
Rebs: {{{rebounds2}}}
Asts: {{{assist2}}}
{{{otherstat2}}}
{{{series}}}
  • Notes: 0 = {{{scoreA}}}; 1 = {{{scoreB}}}

{{basketballbox
 | bg = 
 | date = 
 | time = 
 | report = 
 | team1 = 
 | score1 = 
 | score2 = 
 | Q1 = 
 | Q2 = 
 | Q3 = 
 | Q4 = 
 | H1 = 
 | H2 = 
 | OT = 
 | team2 = 
 | points1 = 
 | rebounds1 = 
 | assist1 = 
 | otherstat1 = 
 | points2 = 
 | rebounds2 = 
 | assist2 = 
 | otherstat2 
 | place = 
 | attendance = 
 | referee = 
 | TV = 
 | series = 
}}
  

Note: The default for the template is to show scores the American convention (ex: Dallas Mavericks 100, San Antonio Spurs 103"), to use the European convention (CSKA Moscow 83 - 85 FC Barcelona), replace team1 with teamA, team2 with teamB, and so on; the stats categories can work properly using the points1 convention. es:Plantilla:Basketballbox he:תבנית:Basketballbox lv:Veidne:Basketbola spēle sl:Predloga:Basketballbox