The purpose of this page is to display attempted ways to implement code so that the template CurlingboxA works properly.
Attempts
editWhat is displayed below is the code that is supposed to be used for the creation of the "11" and "12" columns in the curlingbox.
The first sample contains the coding for the original Curlingbox, while the ones following only display the variations. In the variations, the numbering for the parameter order is altered as well.
Original Curlingbox code |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if: {{{11|}}} | {{!}}'''11''' }} <---Line to be altered | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{12|}}} | {{#ifexpr: {{{12|}}}>{{{24|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if: {{{11|}}} | {{!}}{{{11}}} }} <---Line to be altered | {{#if: {{{12|}}} | '''{{{12}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{12|}}} | {{#ifexpr: {{{12|}}}<{{{24|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{13|}}} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} {{#if: {{{23|}}} | {{!}}{{{23}}} }} <---Line to be altered | {{#if: {{{24|}}} | '''{{{24}}}''' | }} |} |
Attempt 1
edit(if 11 | then 11 (if 12 | then 12))
RESULT: unsuccessful
CurlingboxA Attempt 1 |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if:{{{11|}}}|{{!}}'''11''' {{#if:{{{12|}}}|{{!}}'''12'''|}}|}} <---Line changed | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}>{{{26|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if:{{{11|}}}|{{!}}{{{11|}}} {{#if:{{{12|}}}|{{!}}{{{12|}}}|}}|}} <---Line changed | {{#if: {{{13|}}} | '''{{{13}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}<{{{26|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} | {{{23|}}} {{#if:{{{24|}}}|{{!}}{{{24|}}} {{#if:{{{25|}}}|{{!}}{{{25|}}}|}}|}} <---Line changed | {{#if: {{{26|}}} | '''{{{26}}}''' | }} |} |
Attempt 2
edit(if 11 | then (if 12 | then 11 12 | else 11))
RESULT: unsuccessful
CurlingboxA Attempt 2 |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if:{{{11|}}}|{{#if:{{{12|}}}|{{!}}'''11'''{{!}}'''12'''|{{!}}'''11'''}}|}} <---Line changed | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}>{{{26|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if:{{{11|}}}|{{#if:{{{12|}}}|{{!}}{{{11|}}}{{!}}{{{12|}}}|{{!}}{{{11|}}}}}|}} <---Line changed | {{#if: {{{13|}}} | '''{{{13}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}<{{{26|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} | {{{23|}}} {{#if:{{{24|}}}|{{#if:{{{25|}}}|{{!}}{{{24|}}}{{!}}{{{25|}}}|{{!}}{{{24|}}}}}|}} <---Line changed | {{#if: {{{26|}}} | '''{{{26}}}''' | }} |} |
Attempt 3
editnon-nested
(if 11 | then 11), (if 12 | then 12)
RESULT: unsuccessful
CurlingboxA Attempt 3 |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if:{{{11|}}}|{{!}}'''11'''|}} {{#if:{{{12|}}}|{{!}}'''12'''|}} <---Line changed | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}>{{{26|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if:{{{11|}}}|{{!}}{{{11|}}}|}} {{#if:{{{12|}}}|{{!}}{{{12|}}}|}} <---Line changed | {{#if: {{{13|}}} | '''{{{13}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}<{{{26|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} | {{{23|}}} {{#if:{{{24|}}}|{{!}}{{{24|}}}|}} {{#if:{{{25|}}}|{{!}}{{{25|}}}|}} <---Line changed | {{#if: {{{26|}}} | '''{{{26}}}''' | }} |} |
Attempt 4
edit(if 11 12 | then 11 12 | else (if 12 | then 12 | else (if 11 | then 11)))
RESULT: unsuccessful
CurlingboxA Attempt 4 |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if:{{{11|}}}{{{12|}}}|{{!}}'''11''' {{!}}'''12'''|{{#if:{{{12|}}}|{{!}}'''12'''|{{#if:{{{11|}}}|{{!}}'''11''' }} }} }} <---Line changed | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}>{{{26|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if:{{{11|}}}{{{12|}}}|{{!}}{{{11}}} {{!}}{{{12}}}|{{#if:{{{12|}}}|{{!}}{{{12}}}|{{#if:{{{11|}}}|{{!}}{{{11}}} }} }} }} <---Line changed | {{#if: {{{13|}}} | '''{{{13}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}<{{{26|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} | {{{23|}}} {{#if:{{{24|}}}{{{25|}}}|{{!}}{{{24}}} {{!}}{{{25}}}|{{#if:{{{25|}}}|{{!}}{{{25}}}|{{#if:{{{24|}}}|{{!}}{{{24}}} }} }} }} <---Line changed | {{#if: {{{26|}}} | '''{{{26}}}''' | }} |} |
Attempt 5
edit(if 11 12 | then 11 12 | else (if 11 | then 11) (if 12 | then 12)))
RESULT: unsuccessful
CurlingboxA Attempt 5 |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if:{{{11|}}}{{{12|}}}|{{!}}'''11''' {{!}}'''12'''| {{#if:{{{11|}}}|{{!}}'''11'''}} {{#if:{{{12|}}}|{{!}}'''12''' }} }} <---Line changed | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}>{{{26|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if:{{{11|}}}{{{12|}}}|{{!}}{{{11}}} {{!}}{{{12}}}| {{#if:{{{11|}}}|{{!}}{{{11}}}}} {{#if:{{{12|}}}|{{!}}{{{12}}} }} }} <---Line changed | {{#if: {{{13|}}} | '''{{{13}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}<{{{26|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} | {{{23|}}} {{#if:{{{24|}}}{{{25|}}}|{{!}}{{{24}}} {{!}}{{{25}}}| {{#if:{{{24|}}}|{{!}}{{{24}}}}} {{#if:{{{25|}}}|{{!}}{{{25}}} }} }} <---Line changed | {{#if: {{{26|}}} | '''{{{26}}}''' | }} |} |
Attempt 6
edit(if 11 | then (if 11 12 | then 11 12 | else 11))
RESULT: unsuccessful
CurlingboxA Attempt 6 |
---|
{| class="wikitable" |- align=center bgcolor="#ffffcc" | '''{{#ifeq: {{{sheet|}}} | | Team | Sheet {{{sheet}}} }}''' | style="width:12px" |'''1''' | style="width:12px" |'''2''' | style="width:12px" |'''3''' | style="width:12px" |'''4''' | style="width:12px" |'''5''' | style="width:12px" |'''6''' | style="width:12px" |'''7''' | style="width:12px" |'''8''' | style="width:12px" |'''9''' | style="width:12px" |'''10''' {{#if:{{{11|}}}| {{#if:{{{11|}}}{{{12|}}} | {{!}}'''11''' {{!}}'''12''' | {{!}}'''11'''}}}} <---Line changed | '''Final''' |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}>{{{26|}}} |'''{{{team1}}}''' |{{{team1}}} }} | }} | {{{1|}}} | {{{2|}}} | {{{3|}}} | {{{4|}}} | {{{5|}}} | {{{6|}}} | {{{7|}}} | {{{8|}}} | {{{9|}}} | {{{10|}}} {{#if:{{{11|}}}| {{#if:{{{11|}}}{{{12|}}} | {{!}}{{{11}}} {{!}}{{{12}}} | {{!}}{{{11}}}}}}} <---Line changed | {{#if: {{{13|}}} | '''{{{13}}}'''| }} |- align=center bgcolor="FFFFFF" | align=left width=230 nowrap | {{#if: {{{13|}}} | {{#ifexpr: {{{13|}}}<{{{26|}}} |'''{{{team2}}}''' |{{{team2}}} }} | }} | {{{14|}}} | {{{15|}}} | {{{16|}}} | {{{17|}}} | {{{18|}}} | {{{19|}}} | {{{20|}}} | {{{21|}}} | {{{22|}}} | {{{23|}}} {{#if:{{{24|}}}| {{#if:{{{24|}}}{{{25|}}} | {{!}}{{{24}}} {{!}}{{{25}}} | {{!}}{{{24}}}}}}} <---Line changed | {{#if: {{{26|}}} | '''{{{26}}}''' | }} |} |
What should be displayed
editFor 12-end curling games:
Sheet sheet | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Final |
team1 | 0
| ||||||||||||
team2 | 0
|
For 11-end curling games
Sheet sheet | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Final |
---|---|---|---|---|---|---|---|---|---|---|---|---|
team1 | 0 | |||||||||||
team2 | 0 |
For 10-end curling games
Sheet sheet | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | Final |
---|---|---|---|---|---|---|---|---|---|---|---|
team1 | 0 | ||||||||||
team2 | 0 |