Difference between revisions of "Template:Curlingbox8"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style)
imported>WOSlinker
(trim)
Line 24: Line 24:
 
| {{{8|}}}
 
| {{{8|}}}
 
{{#if: {{{9|}}} | {{!}}{{{9}}} }}
 
{{#if: {{{9|}}} | {{!}}{{{9}}} }}
| {{#if: {{{10|}}} | '''{{{10}}}'''|   }}
+
| {{#if: {{{10|}}} | '''{{trim|{{{10}}}}}'''|   }}
 
|- style="text-align:center;background-color:#FFFFFF;"
 
|- style="text-align:center;background-color:#FFFFFF;"
 
| style="text-align:left;width:230px;white-space:nowrap;" | {{#if: {{{10|}}} | {{#ifeq: {{{20|}}} | W | '''{{{team2}}}''' | {{#ifeq: {{{20|}}} | L | {{{team2}}} | {{#ifexpr: {{{10|}}}<{{{20|}}} | '''{{{team2}}}''' | {{{team2}}} }} }} }} | }}
 
| style="text-align:left;width:230px;white-space:nowrap;" | {{#if: {{{10|}}} | {{#ifeq: {{{20|}}} | W | '''{{{team2}}}''' | {{#ifeq: {{{20|}}} | L | {{{team2}}} | {{#ifexpr: {{{10|}}}<{{{20|}}} | '''{{{team2}}}''' | {{{team2}}} }} }} }} | }}
Line 36: Line 36:
 
| {{{18|}}}
 
| {{{18|}}}
 
{{#if: {{{19|}}} | {{!}}{{{19}}} }}
 
{{#if: {{{19|}}} | {{!}}{{{19}}} }}
| {{#if: {{{20|}}} | '''{{{20}}}''' | &nbsp;}}
+
| {{#if: {{{20|}}} | '''{{trim|{{{20}}}}}''' | &nbsp;}}
 
|}<noinclude>
 
|}<noinclude>
 
{{Documentation}}
 
{{Documentation}}

Revision as of 14:23, 22 December 2017

Team 1 2 3 4 5 6 7 8 Final
 
 

Usage

For use on pages with results of curling games. This template is used exclusively for those curling games that are scheduled to be played for 8 ends.

A blank template, for easy copy-and-paste:

{{ Curlingbox8
| sheet = 
| team1 = 
||||||||| |
| team2 = 
||||||||| |
}}

The parameters include:

  • sheet: the name of the sheet
  • teamX: the name of the skip; alternatively, the name of the team with the skip in parentheses. Note that the team with the hammer in the first end should be denoted with the template {{X}}.
  • The end-by-end scores for each team should go on the lines below the team; the final score goes at the end of the line below the team.
    • Leave the 9th end blank unless it is actually played; note that the final input is for the final score.
    • If a match is played fewer than 8 ends, mark any conceded ends with an X or x.

Examples

From the 2011 GP Car and Home Players' Championship men's final.

{{ Curlingbox8
| sheet = C
| team1 = {{flagicon|AB}} [[Kevin Martin (curler)|Kevin Martin]] {{X}}
|0|1|0|3|1|1|0|X| |6
| team2 = {{flagicon|SWE}} [[Niklas Edin]]
|1|0|1|0|0|0|1|X| |3
}}
Sheet C 1 2 3 4 5 6 7 8 Final
Alberta Kevin Martin Template:X 0 1 0 3 1 1 0 X 6
23x15px Niklas Edin 1 0 1 0 0 0 1 X 3

Note the following:

  • the hammer is placed for the team with the last stone in the first end.
  • the 8th end was conceded, shown by the "X".

da:Skabelon:Curlingkamp8