|- style="background:forestgreen; color:white" ! style="text-align:left;" |Green !|{{{1}}} !{{{ 2}}}!!{{{ 3}}}!!{{{ 4}}}!!{{{ 5}}}!!{{{ 6}}}!!{{{ 7}}}!!{{{ 8}}}!!{{{ 9}}}!!{{{10}}}!!{{{11}}} !{{{12}}}!!{{{13}}}!!{{{14}}}!!{{{15}}}!!{{{16}}}!!{{{17}}}!!{{{18}}}!!{{{19}}}!!{{{20}}}!!{{{21}}}!!{{{22}}}
The {{Golf18}} template creates a table header for an 18-hole golf course scorecard. Additional rows are added to the table to show par for each hole, to show the hole Stroke Index and to show the yardages for each tee. The set of templates used to create a golf scorecard are:
Template | Default appearance | What it does |
---|---|---|
{{Golf18}} | Tee | Creates the table header and hole list. |
{{Par18}} | Par | Lists par for each hole, for each side of 9 holes and the total for 18 holes. |
{{Handicap18}} | SI | Lists the Stroke Index for each hole. |
{{Tee18}} | Name | Generic template for a set of tees. It lists the rating/slope for the tee and the yardage for each hole, for each side of 9 holes and the total for 18 holes. Typically, however, one of the templates based on tee color listed below are used instead of the generic template. |
{{Black18}} | Black | Colored templates for each of the common colors for tee markers. |
{{Blue18}} | Blue | |
{{White18}} | White | |
{{Yellow18}} | Yellow | |
{{Red18}} | Red | |
{{Green18}} | Green | |
{{Gold18}} | Gold | |
{{Silver18}} | Silver | |
{{End18}} | Ends the table |
The following templates are an illustration of usage:
{{Golf18|center=true|title=South Course}}
{{par18 | 4 | 4 | 3 | 4 | 4 | 5 | 4 | 3 | 5 | 36 | 4 | 3 | 4 | 5 | 4 | 4 | 3 | 4 | 5 | 36 | 72 }}
{{handicap18|name=Men's | 5 | 15| 13| 3 | 11| 9 | 1 | 17| 7 | 16| 14| 2 | 6 | 8 | 12| 18| 4 | 10 }}
{{blue18 |78.1 / 143 |452|387|198|483|453|560|462|176|613|3784|405|221|504|541|435|477|227|442|571|3823|7607}}
{{tee18|Brown|bcolor=brown|tcolor=white|76.1 / 139 |444|362|160|471|404|530|442|164|590|3567|376|203|477|539|417|462|206|429|551|3660|7227}}
{{white18 |74.3 / 136 |432|347|149|460|393|518|434|154|535|3422|362|193|456|521|404|392|192|419|524|3463|6885}}
{{green18 |rssize=8pt |M:72.5/133 W:79.2/138
| 417|332|134|445|378|503|419|139|520|3287|347|178|441|506|389|377|177|404|509|3327|6615}}
{{par18 | 4 | 4 | 3 | 4 | 4 | 5 | 4 | 3 | 5 | 36 | 4 | 3 | 5 | 5 | 4 | 4 | 3 | 4 | 5 | 37 | 73 }}
{{handicap18|name=Women's| 7 | 13| 15| 9 | 11| 1 | 5 | 17| 3 | 10| 18| 2 | 6 | 14| 16| 12| 8 | 4 }}
{{red18 |73.5 / 128 |368|281|113|388|324|452|381| 96|432|2835|299|105|394|408|276|286|176|347|416|2707|5542}}
{{end18}}
The {{Golf18}} template creates the table header. Each line in the table is created by one of the other templates. The end of the scorecard is marked by a line that starts with |}
to finish the table. Together these templates create:
Tee | Rating/Slope | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Out | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | In | Total |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Par | 4 | 4 | 3 | 4 | 4 | 5 | 4 | 3 | 5 | 36 | 4 | 3 | 4 | 5 | 4 | 4 | 3 | 4 | 5 | 36 | 72 | |
SI | Men's | 5 | 15 | 13 | 3 | 11 | 9 | 1 | 17 | 7 | 16 | 14 | 2 | 6 | 8 | 12 | 18 | 4 | 10 | |||
Black | 78.1 / 143 | 452 | 387 | 198 | 483 | 453 | 560 | 462 | 176 | 613 | 3784 | 405 | 221 | 504 | 541 | 435 | 477 | 227 | 442 | 571 | 3823 | 7607 |
Brown | 76.1 / 139 | 444 | 362 | 160 | 471 | 404 | 530 | 442 | 164 | 590 | 3567 | 376 | 203 | 477 | 539 | 417 | 462 | 206 | 429 | 551 | 3660 | 7227 |
White | 74.3 / 136 | 432 | 347 | 149 | 460 | 393 | 518 | 434 | 154 | 535 | 3422 | 362 | 193 | 456 | 521 | 404 | 392 | 192 | 419 | 524 | 3463 | 6885 |
Green | M:72.5/133 W:79.2/138 | 417 | 332 | 134 | 445 | 378 | 503 | 419 | 139 | 520 | 3287 | 347 | 178 | 441 | 506 | 389 | 377 | 177 | 404 | 509 | 3327 | 6615 |
Par | 4 | 4 | 3 | 4 | 4 | 5 | 4 | 3 | 5 | 36 | 4 | 3 | 5 | 5 | 4 | 4 | 3 | 4 | 5 | 37 | 73 | |
SI | Women's | 7 | 13 | 15 | 9 | 11 | 1 | 5 | 17 | 3 | 10 | 18 | 2 | 6 | 14 | 16 | 12 | 8 | 4 | |||
Red | 73.5 / 128 | 368 | 281 | 113 | 388 | 324 | 452 | 381 | 96 | 432 | 2835 | 299 | 105 | 394 | 408 | 276 | 286 | 176 | 347 | 416 | 2707 | 5542 |
All required parameters are determined by position only—there is no name (e.g. no name=value
form) associated with a required parameter.
All of the optional parameters are named—they use the form name=value
. The templates support the following optional parameters:
bcolor=red
tcolor=white
rssize=8pt
or rssize=smallest
name=Championship
name=Womens
title=South Course
center=true