Template:QScore and Template:QScore/sandbox: Difference between pages
(Difference between pages)
m does an omitted parameter remove the generated space? let's find out |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{| | |||
| | | | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
| align="right" style="font-weight:bold" | [[ {{tcode2|{{{away}}}}} | {{tcode2|{{{away}}}|3}} ]] | | align="right" style="font-weight:bold" | [[ {{tcode2|{{{away}}}}} | {{tcode2|{{{away}}}|3}} ]] | ||
| {{{a1}}} | |||
| {{{a2}}} | |||
| {{{a3}}} | |||
| {{{a4}}} | |||
| | | {{#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}} ]] | ||
| {{{h1}}} | |||
| {{{h2}}} | |||
| {{{h3}}} | |||
| {{{h4}}} | |||
| | | {{#ifeq: {{#expr: {{{ht}}}>{{{at}}} }} | 0 | | style="font-weight:bold;background-color:#33FF33;" }} | {{{ht}}} | ||
|- | |- | ||
| colspan="6" align="right" style="font-size:10px;background-color:#E0E0E0;" | [[{{PAGENAME}}/{{{away}}}@{{{home}}}|''Boxscore'']] | |||
| | |||
|} | |} | ||
| | | | ||
{{#if: {{{officials|}}} | '''Officials:''' {{ #arraymap: {{{officials}}}|,|x|{{OID|x}} }} <br> | }} | {{#if: {{{officials|}}} | '''Officials:''' {{ #arraymap: {{{officials}}}|,|x|{{OID|x}} }} <br> | }} | ||
'''Arena:''' {{ Arena | | {{#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: {{{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: {{{ | | {{#if: {{{potg|}}} | [[File:PID_{{{potg}}}.jpg|100px|border|alt={{PID | {{{potg}}} }}|1))]] | }} | ||
| {{#if: {{{potg|}}} | [[File:PID_{{{potg}}}.jpg|100px|border|alt={{PID | {{{potg}}} |1 | |||
|} | |} | ||