模板:Chart table top
外觀
| 年份() | 排名 |
|---|
為單曲和專輯文章中的榜單列表生成表格標題。用於{{單曲榜}}或{{專輯榜}}。
用法
[編輯]{{Chart table top|1|weekly=|embed=}}
參數
[編輯]All parameters are optional except |1=.
|1=(unnamed): Year(s) during which the chart(s) listed were made.|weekly=: Set totrueoryesif the chart(s) listed are weekly. Replaces the title of the second column with "Peak position".|embed=: If set totrueoryes, allows the template to be used as part of another chart table. This is sometimes done when listing charts from more than one year.
用法例子
[編輯]Chart information taken from Run Like Hell.
| Code | Result | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Chart table top|1980|weekly=true}}
{{single chart|Canadatopsingles|15|chartid=7835a|rowheader=true}}
|-
{{single chart|West Germany|46|artist=Pink Floyd|song=Run Like Hell|songid=38317|rowheader=true}}
|-
{{single chart|New Zealand|30|artist=Pink Floyd|song=Run Like Hell|rowheader=true}}
|-
{{single chart|Sweden|18|artist=Pink Floyd|song=Run Like Hell|rowheader=true}}
|-
{{single chart|Billboardhot100|53|artist=Pink Floyd|rowheader=true}}
|-
|}
|
|