Nodyn:RankedMedalRow
Safle | Gwlad | Aur | Arian | Efydd | Cyfanswm |
---|---|---|---|---|---|
– | [[Delwedd:Nodyn:Alias baner gwlad PORh ZZX|22x20px|border|alt=|link=|Nodyn:Alias gwlad PORh ZZX]] [[Nodyn:Alias gwlad PORh ZZX yng Ngemau Olympaidd |Nodyn:Alias gwlad PORh ZZX]] (ZZX) | 0 | 0 | 0 | 0 |
Available parameters:
games
(1)- event (YYYY [Summer|Winter])
NOC
(2)- team, nation, three-letter code; set to ‘total’ for bottom row
gold
(3)- number of gold medals won
silver
(4)- number of silver medals won
bronze
(5)- number of bronze medals won
rank
(6)host
(7)- set to anything, e.g. ‘yes’, to mark host country, do not use otherwise
You should either use named parameters (which you could put in any order) or ordered paramters, although you can mix them in principle. These lines give the same result.
{{RankedMedalRow|2012 Summer|XYZ|5|3|2|12|yes}}
{{RankedMedalRow|games=2012 Summer|NOC=XYZ|gold=5|silver=3|bronze=2|rank=12|host=yes}}
{{RankedMedalRow|host=yes|games=2012 Summer|bronze=2|silver=3|gold=5|NOC=XYZ|rank=12}}
If not using named parameters, be sure not to forget one, better set empty counts to ‘0’. Use {{RankedMedalTable}} for the column headers.
Mae'r ddogfennaeth uchod wedi ei thrawsgynnwys o Nodyn:RankedMedalRow/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. |