Template:Chart table top/doc
![]() | This is a documentation subpage for Template:Chart table top. It may contain usage information, categories and other content that is not part of the original template page. |
Generates table headers for chart listings on single and album articles. Designed for use with either {{Single chart}} or {{Album chart}}.
Usage
{{Chart table top|1|weekly=|embed=}}
Parameters
All parameters are optional except |1=
.
|1=
(unnamed): Year(s) during which the chart(s) listed were made.|weekly=
: Set totrue
oryes
if the chart(s) listed are weekly. Replaces the title of the second column with "Peak position".|embed=
: If set totrue
oryes
, allows the template to be used as part of another chart table. This is sometimes done when listing charts from more than one year.
Example usage
Chart information taken from Run Like Hell.
Code | Result | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<syntaxhighlight lang="wikitext">
|
|