Difference between revisions of "Template:Certification Table Bottom/sandbox"

From blackwiki
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:{{{nounspecified|}}}|{{#if:{{{streaming|}}}|<br>}}|<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>}}
+
{{#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
^shipments figures based on certification alone

Template documentation[view] [edit] [history] [purge]

This set of templates is used for creating certification tables for albums, singles, etc.

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 footnote
  • noshipments – will not display the shipments footnote
  • streaming – will include the footnote on streaming

Tracking categories