Difference between pages "Template:Curlingbox" and "Template:Curlingbox/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>McVahl
(utilize {{check winner by scores}})
 
imported>WOSlinker
(trim)
 
Line 16: Line 16:
 
| '''Final'''
 
| '''Final'''
 
|- style="text-align:center;background-color:#FFFFFF;"
 
|- style="text-align:center;background-color:#FFFFFF;"
| style="text-align:left;width:274px;white-space:nowrap;" | {{#ifeq:{{check winner by scores|{{{12}}}|{{{24}}}}}|W|'''{{{team1}}}'''|{{{team1}}}}}
+
| style="text-align:left;width:274px;white-space:nowrap;" | {{#if: {{{12|}}} | {{#ifeq: {{{12|}}} | W | '''{{{team1}}}''' | {{#ifeq: {{{12|}}} | L | {{{team1}}} | {{#ifexpr: {{{12|}}}>{{{24|}}} | '''{{{team1}}}''' | {{{team1}}} }} }} }} | }}
 
| {{{1|}}}
 
| {{{1|}}}
 
| {{{2|}}}
 
| {{{2|}}}
Line 30: Line 30:
 
| {{#if: {{{12|}}} | '''{{trim|{{{12}}}}}'''|   }}
 
| {{#if: {{{12|}}} | '''{{trim|{{{12}}}}}'''|   }}
 
|- style="text-align:center;background-color:#FFFFFF;"
 
|- style="text-align:center;background-color:#FFFFFF;"
| style="text-align:left;width:274px;white-space:nowrap;" | {{#ifeq:{{check winner by scores|{{{24}}}|{{{12}}}}}|W|'''{{{team2}}}'''|{{{team2}}}}}
+
| style="text-align:left;width:274px;white-space:nowrap;" | {{#if: {{{12|}}} | {{#ifeq: {{{24|}}} | W | '''{{{team2}}}''' | {{#ifeq: {{{24|}}} | L | {{{team2}}} | {{#ifexpr: {{{12|}}}<{{{24|}}} | '''{{{team2}}}''' | {{{team2}}} }} }} }} | }}
 
| {{{13|}}}
 
| {{{13|}}}
 
| {{{14|}}}
 
| {{{14|}}}