Difference between revisions of "Template:Curlingbox"

From blackwiki
Jump to navigation Jump to search
imported>Zup326
m
imported>WOSlinker
(trim)
Line 28: Line 28:
 
| {{{10|}}}
 
| {{{10|}}}
 
{{#if: {{{11|}}} | {{!}}{{{11}}} }}
 
{{#if: {{{11|}}} | {{!}}{{{11}}} }}
| {{#if: {{{12|}}} | '''{{{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;" | {{#if: {{{12|}}} | {{#ifeq: {{{24|}}} | W | '''{{{team2}}}''' | {{#ifeq: {{{24|}}} | L | {{{team2}}} | {{#ifexpr: {{{12|}}}<{{{24|}}} | '''{{{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}}} }} }} }} | }}
Line 42: Line 42:
 
| {{{22|}}}
 
| {{{22|}}}
 
{{#if: {{{23|}}} | {{!}}{{{23}}} }}
 
{{#if: {{{23|}}} | {{!}}{{{23}}} }}
| {{#if: {{{24|}}} | '''{{{24}}}''' | &nbsp;}}
+
| {{#if: {{{24|}}} | '''{{trim|{{{24}}}}}''' | &nbsp;}}
 
|}<noinclude>
 
|}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Revision as of 14:23, 22 December 2017

Team 1 2 3 4 5 6 7 8 9 10 Final
 
 
50px Template documentation[view] [edit] [history] [purge]

Usage

For use on pages with results of curling games.

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

{{ Curlingbox
| sheet = 
| team1 = {{X}}
||||||||||| |
| 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 is denoted with the template {{X}}.
    • The line directly below the team parameter indicates the scores for each end. Leave the 11th end blank unless it is actually played; note that the final input is for the final score.
    • If a match is played fewer than 10 ends, mark any conceded ends with an X.

Examples

10 ends:

{{ Curlingbox
| sheet = A
| team1 = {{GER}} (Schöpp) {{X}}
|1|1|0|1|0|1|0|1|0|0| |5
| team2 = {{CHN}} (Wang)
|0|0|3|0|1|0|2|0|0|0| |6
}}


Sheet A 1 2 3 4 5 6 7 8 9 10 Final
23x15px Germany (Schöpp) Template:X 1 1 0 1 0 1 0 1 0 0 5
23x15px China (Wang) 0 0 3 0 1 0 2 0 0 0 6

11 ends:

{{ Curlingbox
| sheet = A
| team1 = {{GER}} (Schöpp) {{X}}
|1|1|0|1|0|1|0|1|0|0|0|5
| team2 = {{CHN}} (Wang)
|0|0|3|0|1|0|1|0|0|0|1|6
}}


Sheet A 1 2 3 4 5 6 7 8 9 10 11 Final
23x15px Germany (Schöpp) Template:X 1 1 0 1 0 1 0 1 0 0 0 5
23x15px China (Wang) 0 0 3 0 1 0 1 0 0 0 1 6

8 ends, with concession:

{{ Curlingbox
| sheet = A
| team1 = {{GER}} (Schöpp) {{X}}
|1|1|0|1|0|0|0|0|X|X| |3
| team2 = {{CHN}} (Wang)
|0|0|3|0|1|0|3|0|X|X| |7
}}


Sheet A 1 2 3 4 5 6 7 8 9 10 Final
23x15px Germany (Schöpp) Template:X 1 1 0 1 0 0 0 0 X X 3
23x15px China (Wang) 0 0 3 0 1 0 3 0 X X 7

da:Skabelon:Curlingkamp10 de:Vorlage:Curlingspiel fr:Modèle:Curlingbox pl:Szablon:Curling tabela tr:Şablon:Curlingbox