Nodyn:RankedMedalTable
Safle | Gwlad | Aur | Arian | Efydd | Cyfanswm |
---|
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”
- team
- label for the second column, defaults to “Nation”
- nation-width
- allows to manually set the width of the second column
Example
golygu{| {{RankedMedalTable|class=wikitable sortable|team=Team|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}}
|}
Safle | Team | Aur | Arian | Efydd | Cyfanswm |
---|---|---|---|---|---|
0 | ![]() |
3 | 2 | 1 | 6 |
|-
|align=right| 0
|align=left | Yr Unol Daleithiau (USA)
|align=right| 3
|align=right| 2
|align=right| 1
|align=right| 6
|}
|}
Mae'r ddogfennaeth uchod wedi ei thrawsgynnwys o Nodyn:RankedMedalTable/doc. (golygu | hanes) Gall golygyddion arbrofi yn y tudalennau pwll tywod (creu | drych) a testcases (creu). Os gwelwch yn dda, ychwanegwch gategorïau a rhyngwicis at yr is-dudalen /doc. Is-dudalennau'r nodyn hwn. |