Fyrimynd:RankedMedalTable/doc
Appearance
Hetta er ein dokumentatión undirsíða til Fyrimynd:RankedMedalTable. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
This template provides a header row for Olympic medal tables. It should be used immediately after the opening {|
. Rows may be inserted with {{RankedMedalRow}} after this template has been transcluded. The table end as usual with |}
.
The template supports the following optional parameters:
- class
- HTML class for the table, defaults to “wikitable”, may include “sortable”
- caption
- option to add a caption to the table
- team
- label for the second column, defaults to “Nation”
- nation-width
- allows to manually set the width of the second column
Example
[rætta wikitekst]{| {{RankedMedalTable|class=wikitable sortable|caption=Medal event|team=Lið|nation-width=12em}}
{{RankedMedalRow|games=2012 Summer|NOC=GBR|gold=3|silver=2|bronze=1|rank=0|host=yes}}
{{RankedMedalRow|games=2012 Summer|NOC=USA|gold=3|silver=2|bronze=1|rank=0}}
|}
Nr. | Lið | Gull | Silvur | Bronsa | Tilsamans |
---|---|---|---|---|---|
0 | Stóra Bretland (GBR) | 3 | 2 | 1 | 6 |
0 | USA (USA) | 3 | 2 | 1 | 6 |