Difference between revisions of "Template:CurlingboxCC/doc"

From blackwiki
Jump to navigation Jump to search
imported>Prayerfortheworld
imported>Prayerfortheworld
Line 23: Line 23:
 
* '''teamX''': the name of the [[skip (curling)|skip]]; alternatively, the name of the team with the skip in parentheses.  Note that the team with the [[Curling#Hammer|hammer]] in the first end should be denoted with the template {{tl|X}}.
 
* '''teamX''': the name of the [[skip (curling)|skip]]; alternatively, the name of the team with the skip in parentheses.  Note that the team with the [[Curling#Hammer|hammer]] in the first end should be denoted with the template {{tl|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.
 
* 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.
* The '''pointsX''' parameters are used for the number of points each team gained from the match.
+
* The '''pointsX''' parameters are used for the number of points each team gained from the game.
 
* Note the following:
 
* Note the following:
 
** When documenting skins results, it is best to input a space for any blank parameters, to ensure that everything is spread out evenly (see examples below).
 
** When documenting skins results, it is best to input a space for any blank parameters, to ensure that everything is spread out evenly (see examples below).
 
** Leave the "9th" parameter blank ''unless'' the curlingbox is being used for a Continental skins game and the game comes down to a draw to the button. Place a capital "X" in the parameter for the team that wins the draw to the button, but place '''nothing''' in the other team's "9th" parameter.
 
** Leave the "9th" parameter blank ''unless'' the curlingbox is being used for a Continental skins game and the game comes down to a draw to the button. Place a capital "X" in the parameter for the team that wins the draw to the button, but place '''nothing''' in the other team's "9th" parameter.
 
** Note that the final input is for the final score, '''not''' the points.  
 
** Note that the final input is for the final score, '''not''' the points.  
** If a match is played fewer than 8 ends, mark any conceded ends with an X or x.
+
** If a game is played fewer than 8 ends, mark any conceded ends with an X or x.
  
 
===Examples===
 
===Examples===
 
From the [[2011 Continental Cup of Curling]]:
 
From the [[2011 Continental Cup of Curling]]:
====Regular matches====
+
====Regular games====
 
<pre>
 
<pre>
 
{{ CurlingboxCC
 
{{ CurlingboxCC
Line 54: Line 54:
 
}}
 
}}
  
====Skins====
+
====Skins games====
 
<pre>
 
<pre>
 
{{ CurlingboxCC
 
{{ CurlingboxCC

Revision as of 20:23, 17 March 2012

Usage

For use on Continental Cup of Curling pages with results of curling games. This template is used exclusively for those curling games that are scheduled to be played at the Continental Cup.

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

{{ CurlingboxCC
| sheet = 
| team1 = 
||||||||| |
| points1 = 
| team2 = 
||||||||| |
| points2 = 
}}

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.
  • The pointsX parameters are used for the number of points each team gained from the game.
  • Note the following:
    • When documenting skins results, it is best to input a space for any blank parameters, to ensure that everything is spread out evenly (see examples below).
    • Leave the "9th" parameter blank unless the curlingbox is being used for a Continental skins game and the game comes down to a draw to the button. Place a capital "X" in the parameter for the team that wins the draw to the button, but place nothing in the other team's "9th" parameter.
    • Note that the final input is for the final score, not the points.
    • If a game is played fewer than 8 ends, mark any conceded ends with an X or x.

Examples

From the 2011 Continental Cup of Curling:

Regular games

{{ CurlingboxCC
| sheet = B
| team1 = North America (Martin) {{X}}
|0|2|0|3|0|0|1|0| |6
| points1 = 6
| team2 = World (Murdoch)
|0|0|2|0|0|1|0|1| |4
| points2 = 0
}}
Sheet B 1 2 3 4 5 6 7 8 Final Points
North America (Martin) Template:X 0 2 0 3 0 0 1 0 6 6
World (Murdoch) 0 0 2 0 0 1 0 1 4 0

Skins games

{{ CurlingboxCC
| sheet = 
| team1 = North America (Martin)
| |X| |0| |0|X| | |
| points1 = 39
| team2 = World (Ulsrud) {{X}}
|X| |0| |0| | |X| |
| points2 = 16
}}
Team 1 2 3 4 5 6 7 8 Points
North America (Martin) X 0 0 X 39
World (Ulsrud) Template:X X 0 0 X 16
  • Note that there are spaces in the empty cells instead of just nothing, which makes the curlingbox easier to read in code.

Draw-to-the-button capability:

{{ CurlingboxCC
| sheet = 
| team1 = North America (J. Morris/Swisshelm/Kennedy/Spatola)
| |X| | |X| |X| |X |
| points1 = 19
| team2 = World (Murdoch/Schöpp/Nergård/Wang) {{X}}
|X| |0|X| |X| |0|  |
| points2 = 11
}}
Team 1 2 3 4 5 6 7 8 Button Points
North America (J. Morris/Swisshelm/Kennedy/Spatola) X X X X 19
World (Murdoch/Schöpp/Nergård/Wang) Template:X X 0 X X 0 11