Difference between revisions of "Template:Certification Table Entry/Foot/doc"

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(relmonth used)
imported>Muhandes
(update doc)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
This is a helper template for [[Template:Certification Table Entry]]. It receives the parameters:
+
This is a helper template for {{tl|Certification Table Entry}}, see the meaning of all parameters there.
* <code>region</code>
+
The parameters used are:
* <code>type</code> (which can be album/single/video)
+
* {{para|footnote}}: Overrides all parameters and sets the footnote directly. Can be {{code|sales}}/{{code|shipments}}/{{code|streaming}}
* <code>certyear</code>, <code>certmonth</code>, <code>certday</code>
 
* <code>relyear</code>, <code>relmonth</code>
 
* <code>Spanish</code>
 
* <code>digital</code>
 
  
It returns the correct footnote symbol that specificity if this is a sales threshold, a shipments threshold, a streaming/sales threshold or if the distinction is unavailable, based on [[List of music recording certifications|this list]]. <code>certyear</code> and <code>relyear</code> are used to identify certifications which include streaming (e.g. United Kingdom from 2014 onwards)
+
The rest of the parameters are:
 +
* {{para|region}}
 +
* {{para|type}} (which can be {{code|album}}/{{code|single}}/{{code|video}})
 +
* {{para|certyear}}, {{para|certmonth}}, {{para|certday}}
 +
* {{para|relyear}}, {{para|relmonth}}
 +
* {{para|Spanish}}
 +
* {{para|digital}}
 +
 
 +
It returns the correct footnote symbol that specificity if this is a sales threshold, a shipments threshold, a streaming/sales threshold, based on [[List of music recording certifications|this list]].
  
 
The symbols used are:
 
The symbols used are:

Latest revision as of 11:01, 13 November 2020

This is a helper template for {{Certification Table Entry}}, see the meaning of all parameters there. The parameters used are:

  • |footnote=: Overrides all parameters and sets the footnote directly. Can be sales/shipments/streaming

The rest of the parameters are:

  • |region=
  • |type= (which can be album/single/video)
  • |certyear=, |certmonth=, |certday=
  • |relyear=, |relmonth=
  • |Spanish=
  • |digital=

It returns the correct footnote symbol that specificity if this is a sales threshold, a shipments threshold, a streaming/sales threshold, based on this list.

The symbols used are:

Symbol Meaning
* sales (including digital)
^ shipments
Script error: No such module "If empty". sales+streaming