Template:QScore and Template:QScore/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
StevieMaxwell (talk | contribs)
m does an omitted parameter remove the generated space? let's find out
 
mNo edit summary
 
Line 1: Line 1:
<includeonly>{|
{|
|
|
{| class="wikitable"
{| class="wikitable"
! {{{date|}}}
! Q1
! Q2
! Q3
! Q4
! F
|-
|-
| align="right" style="font-weight:bold" | [[ {{tcode2|{{{away}}}}} | {{tcode2|{{{away}}}|3}} ]]
| align="right" style="font-weight:bold" | [[ {{tcode2|{{{away}}}}} | {{tcode2|{{{away}}}|3}} ]]
| align="center" | {{{a1}}}
| {{{a1}}}
| align="center" | {{{a2}}}
| {{{a2}}}
| align="center" | {{{a3}}}
| {{{a3}}}
| align="center" | {{{a4}}}
| {{{a4}}}
| align="center" {{#ifeq: {{#expr: {{{at}}}>{{{ht}}} }} | 0 | | style="font-weight:bold;background-color:#33FF33;" }} | {{{at}}}
| {{#ifeq: {{#expr: {{{at}}}>{{{ht}}} }} | 0 | | style="font-weight:bold;background-color:#33FF33;" }} | {{{at}}}
|-
|-
| align="right" style="font-weight:bold" | [[ {{tcode2|{{{home}}}}} | {{tcode2|{{{home}}}|3}} ]]
| align="right" style="font-weight:bold" | [[ {{tcode2|{{{home}}}}} | {{tcode2|{{{home}}}|3}} ]]
| align="center" | {{{h1}}}
| {{{h1}}}
| align="center" | {{{h2}}}
| {{{h2}}}
| align="center" | {{{h3}}}
| {{{h3}}}
| align="center" | {{{h4}}}
| {{{h4}}}
| align="center" {{#ifeq: {{#expr: {{{ht}}}>{{{at}}} }} | 0 | | style="font-weight:bold;background-color:#33FF33;" }} | {{{ht}}}
| {{#ifeq: {{#expr: {{{ht}}}>{{{at}}} }} | 0 | | style="font-weight:bold;background-color:#33FF33;" }} | {{{ht}}}
|-
|-
{{#ifeq: {{#titleparts:{{PAGENAME}}|0|-1}} | {{{away}}}@{{{home}}} |
| colspan="6" align="right" style="font-size:10px;background-color:#E0E0E0;" | [[{{PAGENAME}}/{{{away}}}@{{{home}}}|''Boxscore'']]
|
{{!}} colspan="6" align="right" style="font-size:10px;background-color:#E0E0E0;" {{!}} [[{{{playoffs|{{PAGENAME}}}}}/{{{away}}}@{{{home}}}{{!}}''Boxscore'']]
}}
|}
|}
|
&nbsp;&nbsp;&nbsp;
|
|
{{#if: {{{officials|}}} | '''Officials:''' {{ #arraymap: {{{officials}}}|,|x|{{OID|x}} }} <br> | }}
{{#if: {{{officials|}}} | '''Officials:''' {{ #arraymap: {{{officials}}}|,|x|{{OID|x}} }} <br> | }}
'''Arena:''' {{ Arena | {{#if: {{{arena|}}} | {{{arena}}} | {{{home}}} }} }} <br>
{{#if: {{{arena|}}} | '''Arena:''' {{ Arena | {{{arena}}} }} <br> | '''Arena:''' {{ Arena | {{{home}}} }} <br> }}
{{#if: {{{attendance|}}} | '''Attendance:''' {{formatnum:{{{attendance}}}}} <br> | }}
{{#if: {{{attendance|}}} | '''Attendance:''' {{formatnum:{{{attendance}}}}} <br> | }}
{{#if: {{{potg|}}} | '''Player of the Game:''' {{ PID | {{{potg}}} }} {{#if:{{{pts|}}}{{{reb|}}}{{{ast|}}}{{{blk|}}}{{{stl|}}} | - {{{pts}}} pts{{#if:{{{reb|}}}|, {{{reb}}} reb|}}{{#if:{{{ast|}}}|, {{{ast}}} ast| }}{{#if:{{{stl|}}}|, {{{stl}}} stl|}}{{#if:{{{blk|}}}|, {{{blk}}} blk|}}}}<br>|}}
{{#if: {{{potg|}}} | '''Player of the Game:''' {{ PID | {{{potg}}} }} {{#if:{{{pts|}}}{{{reb|}}}{{{ast|}}}{{{blk|}}}{{{stl|}}} | - {{{pts}}} pts{{#if:{{{reb|}}}|, {{{reb}}} reb|}}{{#if:{{{ast|}}}|, {{{ast}}} ast| }}{{#if:{{{blk|}}}|, {{{blk}}} blk|}}{{#if:{{{stl|}}}|, {{{stl}}} stl|}}}}<br>|}}
{{#if: {{{promo|}}} | '''Promo:''' [[{{PAGENAME}}/{{{away}}}@{{{home}}}#Game_Notes|{{{promo}}}]] <br> | }}
| {{#if: {{{potg|}}} | [[File:PID_{{{potg}}}.jpg|100px|border|alt={{PID | {{{potg}}} }}|1))]] | }}
|
&nbsp;&nbsp;&nbsp;
| {{#if: {{{potg|}}} | [[File:PID_{{{potg}}}.jpg|100px|border|alt={{PID | {{{potg}}} |1}}]] | }}
|}
|}
{{#if:{{{nocap|}}} || {{QScore/Capsule|{{{away}}}|{{{home}}}}} }}
</includeonly>
<noinclude>{{documentation}}</noinclude>