Difference between revisions of "Template:Curlingbox0/doc"

From blackwiki
Jump to navigation Jump to search
imported>Prayerfortheworld
(Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> ===Usage=== For use on pages with results of curling matches. T...')
 
imported>Prayerfortheworld
Line 5: Line 5:
  
 
For use on pages with results of curling matches. This template is used exclusively for those curling matches ''without end-by-end scores''.
 
For use on pages with results of curling matches. This template is used exclusively for those curling matches ''without end-by-end scores''.
This template is made for an easy transition to the {{tl|Curlingbox}}, {{tl|Curlingbox8}}, or {{tl|Curlingbox12}} template.
+
 
 +
In most cases, this template is used where line scores (end-by-end scores) are not available. However, information on the line scores may become available after the article has been last edited. In order to accommodate this information, this template is made for an easy transition to the {{tl|Curlingbox}}, {{tl|Curlingbox8}}, or {{tl|Curlingbox12}} template. Refer to the [[Template:Curlingbox0/doc#Transition to Curlingbox|Transition to Curlingbox]] section for more information.
  
 
A blank template, for easy copy-and-paste:
 
A blank template, for easy copy-and-paste:
Line 23: Line 24:
 
* '''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 score of the team should go on the space directly below it.
 
* The score of the team should go on the space directly below it.
 +
 +
===Translation to Curlingbox===
 +
If information on line scores becomes available, the information can be easily implemented into the Curlingbox after the information currently on a Curlingbox0 has been translated to a Curlingbox.
 +
 +
To
 +
<pre>
 +
{{ Curlingbox0
 +
| sheet =
 +
| team1 =
 +
|
 +
| team2 =
 +
|
 +
}}
 +
</pre>
 +
Change template name to "Curlingbox", add end-by-end score lines:
 +
<pre>
 +
{{ Curlingbox
 +
| sheet =
 +
| team1 =
 +
||||||||||| |
 +
| team2 =
 +
||||||||||| |
 +
}}
 +
</pre>
 +
Adjust if necessary for transition to Curlingbox8 or Curlingbox12. See [[Template:Curlingbox0/doc#To translate from Curlingbox0 to Curlingbox|below]] for an example of a Curlingbox0 to Curlingbox translation.
  
 
===Examples===
 
===Examples===
Line 43: Line 69:
 
}}
 
}}
  
===Transition to Curlingbox===
+
====To translate from Curlingbox0 to Curlingbox====
 +
 
 +
From the [[1972 Air Canada Silver Broom]].
 
<pre>
 
<pre>
 
{{ Curlingbox0
 
{{ Curlingbox0
 
| sheet =  
 
| sheet =  
| team1 =  
+
| team1 = {{CAN}} (Meleschuk)
|  
+
| 10
| team2 =  
+
| team2 = {{USA}} (LaBonte)
|  
+
| 9
 
}}
 
}}
 
</pre>
 
</pre>
Change template name to "Curlingbox", add end-by-end score lines:
+
{{ Curlingbox0
 +
| sheet =
 +
| team1 = {{CAN}} (Meleschuk)
 +
| 10
 +
| team2 = {{USA}} (LaBonte)
 +
| 9
 +
}}
 
<pre>
 
<pre>
 
{{ Curlingbox
 
{{ Curlingbox
 
| sheet =  
 
| sheet =  
| team1 =  
+
| team1 = {{CAN}} (Meleschuk)
||||||||||| |
+
| 2|0|2|1|0|2|0|0|0|2|1|10
| team2 =  
+
| team2 = {{USA}} (LaBonte)
||||||||||| |
+
| 0|1|0|0|2|0|2|2|2|0|0|9
 
}}
 
}}
 
</pre>
 
</pre>
Adjust if necessary for Curlingbox8 or Curlingbox12.
+
{{ Curlingbox
 +
| sheet =
 +
| team1 = {{CAN}} (Meleschuk)
 +
| 2|0|2|1|0|2|0|0|0|2|1|10
 +
| team2 = {{USA}} (LaBonte)
 +
| 0|1|0|0|2|0|2|2|2|0|0|9
 +
}}
  
 
<includeonly>
 
<includeonly>

Revision as of 04:23, 28 April 2011

Usage

For use on pages with results of curling matches. This template is used exclusively for those curling matches without end-by-end scores.

In most cases, this template is used where line scores (end-by-end scores) are not available. However, information on the line scores may become available after the article has been last edited. In order to accommodate this information, this template is made for an easy transition to the {{Curlingbox}}, {{Curlingbox8}}, or {{Curlingbox12}} template. Refer to the Transition to Curlingbox section for more information.

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

{{ Curlingbox0
| 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 score of the team should go on the space directly below it.

Translation to Curlingbox

If information on line scores becomes available, the information can be easily implemented into the Curlingbox after the information currently on a Curlingbox0 has been translated to a Curlingbox.

To

{{ Curlingbox0
| sheet = 
| team1 = 
| 
| team2 = 
| 
}}

Change template name to "Curlingbox", add end-by-end score lines:

{{ Curlingbox
| sheet = 
| team1 = 
||||||||||| |
| team2 = 
||||||||||| |
}}

Adjust if necessary for transition to Curlingbox8 or Curlingbox12. See below for an example of a Curlingbox0 to Curlingbox translation.

Examples

From the 1978 Air Canada Silver Broom.

{{ Curlingbox0
| sheet = 
| team1 = {{CAN}} (Lukowich)
| 14
| team2 = {{NOR}} (Sørum)
| 3
}}
Team Final
 Canada (Lukowich) 14
Template:NOR (Sørum) 3

To translate from Curlingbox0 to Curlingbox

From the 1972 Air Canada Silver Broom.

{{ Curlingbox0
| sheet = 
| team1 = {{CAN}} (Meleschuk)
| 10
| team2 = {{USA}} (LaBonte)
| 9
}}
Team Final
 Canada (Meleschuk) 10
Template:USA (LaBonte) 9
{{ Curlingbox
| sheet = 
| team1 = {{CAN}} (Meleschuk)
| 2|0|2|1|0|2|0|0|0|2|1|10
| team2 = {{USA}} (LaBonte)
| 0|1|0|0|2|0|2|2|2|0|0|9
}}
Team 1 2 3 4 5 6 7 8 9 10 11 Final
 Canada (Meleschuk) 2 0 2 1 0 2 0 0 0 2 1 10
Template:USA (LaBonte) 0 1 0 0 2 0 2 2 2 0 0 9