Template:Chart table top
Revision as of 17:36, 7 December 2019 by imported>Philroc (←Created page with '{{#ifeq:{{yesno|{{{embed|}}}}} |yes |{{!}}- |{{(}}{{!}} class="wikitable sortable plainrowheaders" style="text-align:center;"}} |- !scope="col"| Chart (<includeo...')
| Chart () | Position |
|---|
Generates table headers for chart listings on single and album articles. Designed to be used 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 charts listed were made.|weekly=: Set totrueoryesif the charts being 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.
Example usage
Chart information taken from Run Like Hell.
| Code | Result | ||
|---|---|---|---|
|
Template:Single chartTemplate:Single chartTemplate:Single chartTemplate:Single chartTemplate:Single chart
|
| The above documentation is transcluded from Template:Chart table top/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |