Difference between revisions of "Template:Certification Table Bottom/sandbox"
Jump to navigation
Jump to search
imported>Muhandes (Syncing sandbox code with main template (sync-template-sandbox.js)) |
imported>Muhandes (remove defunct nounspecified) |
||
| Line 5: | Line 5: | ||
{{#switch:{{{format|}}}|2col|2colthin=|#default= {{!}}- class="sortbottom" style="text-align: center;" | {{#switch:{{{format|}}}|2col|2colthin=|#default= {{!}}- class="sortbottom" style="text-align: center;" | ||
{{!}} colspan=3 {{!}} | {{!}} colspan=3 {{!}} | ||
| − | {{#if:{{{nosales|}}}||<small><sup>*</sup>sales figures based on certification alone</small>{{#if:{{{noshipments | + | {{#if:{{{nosales|}}}||<small><sup>*</sup>sales figures based on certification alone</small>{{#if:{{{noshipments|}}}|{{#if:{{{streaming|}}}|<br>}}|<br>}}}}{{#if:{{{noshipments|}}}||<small><sup>^</sup>shipments figures based on certification alone</small><br>|{{#if:{{{streaming|}}}<br>|}}{{#if:{{{streaming|}}}|<br>}}}}{{#if:{{{streaming|}}}|<small><sup>{{double-dagger}}</sup>sales+streaming figures based on certification alone</small>}} |
}} | }} | ||
|}<noinclude> | |}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:24, 6 May 2019
| Region | Certification | Certified units/sales |
|---|---|---|
|
*sales figures based on certification alone | ||
| This is the template sandbox page for Template:Certification Table Bottom (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
This set of templates is used for creating certification tables for albums, singles, etc.
- Certification Table Top – for the top of the table
- Certification Table Entry – for table entries
- Certification Table Summary – for starting the summary section
- Certification Table Bottom – for the bottom of the table
The table includes either two or three columns depending on the variable format.
If format=3col, the default value, the columns are region, award, and the amount sold/shipped for the certification. If format=2col or format=2colthin, the columns are region and award. In the latter case the region column uses a thinner form.
For format=3col, the bottom template displays footnotes about the source of sales/shipments/unspecified figures. To suppress one of the lines, set a value to the following parameters:
nosales– will not display the sales footnotenoshipments– will not display the shipments footnotestreaming– will include the footnote on streaming
Tracking categories
| The above documentation is transcluded from Template:Certification Table Bottom/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |