Difference between revisions of "Template:Basketballbox"

From blackwiki
Jump to navigation Jump to search
imported>Mohsen1248
m
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|}}}|12%|15%}}|{{{date|}}}{{ #if: {{{time|}}}| <br><small> {{{time}}}</small> | }}
+
|align=center valign=top rowspan=4 width={{#if:{{{TV|}}}|12%|14%}}|{{{date|}}}{{ #if: {{{time|}}}| <br><small> {{{time}}}</small> | }}
|width=6% style=font-size:85% rowspan=4 valign=top align=left |{{ #if: {{{report|}}} |{{{report}}}| }}
+
|width=7% 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|}}}|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|}}} }}
+
{{!}}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 colspan={{#if:{{{overtime|}}}|1|2}}{{!}}{{{teamB|}}} }}
{{#if:{{{overtime|}}}|
+
|rowspan=4 width=4% style=font-size:85% valign=top align=right|{{ #if: {{{overtime|}}} |'''{{{overtime}}}'''&nbsp;|&nbsp;}}
{{!}}width=2% style=font-size:85% {{!}}{{ #if: {{{overtime|}}} |'''{{{overtime}}}'''|&nbsp;}}
+
|width=25% 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=7% style=font-size:85% rowspan=4 valign=top align=right{{!}}{{{TV}}}
+
{{!}}width=6% style=font-size:85% rowspan=4 valign=top align=right{{!}}{{{TV}}}
 
}}
 
}}
 
|-
 
|-
Line 43: Line 41:
 
  | score1 = <nowiki>{{{score1}}}</nowiki>
 
  | score1 = <nowiki>{{{score1}}}</nowiki>
 
  | score2 = <nowiki>{{{score2}}}</nowiki>
 
  | score2 = <nowiki>{{{score2}}}</nowiki>
 +
| overtime = <nowiki>{{{overtime}}}</nowiki>
 
  | Q1 = <nowiki>{{{Q1}}}</nowiki>
 
  | Q1 = <nowiki>{{{Q1}}}</nowiki>
 
  | Q2 = <nowiki>{{{Q2}}}</nowiki>
 
  | Q2 = <nowiki>{{{Q2}}}</nowiki>
Line 72: Line 71:
 
  | score1 = <nowiki>{{{score1}}}</nowiki>
 
  | score1 = <nowiki>{{{score1}}}</nowiki>
 
  | score2 = <nowiki>{{{score2}}}</nowiki>
 
  | score2 = <nowiki>{{{score2}}}</nowiki>
 +
| overtime = <nowiki>{{{overtime}}}</nowiki>
 
  | H1 = <nowiki>{{{H1}}}</nowiki>
 
  | H1 = <nowiki>{{{H1}}}</nowiki>
 
  | H2 = <nowiki>{{{H2}}}</nowiki>
 
  | H2 = <nowiki>{{{H2}}}</nowiki>
Line 126: Line 126:
 
  | team1 =  
 
  | team1 =  
 
  | score1 =  
 
  | score1 =  
 +
| team2 =
 
  | score2 =  
 
  | score2 =  
 +
| overtime =
 
  | Q1 =  
 
  | Q1 =  
 
  | Q2 =  
 
  | Q2 =  
Line 134: Line 136:
 
  | H2 =  
 
  | H2 =  
 
  | OT =  
 
  | OT =  
| team2 =
 
 
  | points1 =  
 
  | points1 =  
 
  | rebounds1 =  
 
  | rebounds1 =  

Revision as of 09:40, 19 May 2009

 

NBA style

{{{date}}}
{{{time}}}
{{{report}}} {{{team1}}} {{{score1}}}, {{{team2}}} {{{score2}}} {{{overtime}}}  {{{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}}} {{{overtime}}}  {{{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 = 
 | team2 = 
 | score2 = 
 | overtime =
 | Q1 = 
 | Q2 = 
 | Q3 = 
 | Q4 = 
 | H1 = 
 | H2 = 
 | OT = 
 | 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