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

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(Undid revision 962152701 by Muhandes (talk) And redo, it actually works well)
imported>Muhandes
(UK album change sync with sandbox)
Line 149: Line 149:
 
             |^
 
             |^
 
             }}
 
             }}
           |{{#switch:{{{type|}}}|album|video=*|single={{double-dagger}}}}
+
           |{{#ifexpr:{{{certyear}}} < 2015
 +
            |{{#switch:{{{type|}}}|album|video=&#42;|single={{double-dagger}}}}
 +
            |{{#ifexpr:{{{certyear}}} < 2016
 +
              |{{#if:{{{certmonth|}}}
 +
                |{{#ifexpr:{{{certmonth}}} < 3
 +
                  |{{#switch:{{{type|}}}|album|video=&#42;|single={{double-dagger}}}}
 +
                  |{{#switch:{{{type|}}}|video=&#42;|single|album={{double-dagger}}}}
 +
                  }}
 +
                |{{#switch:{{{type|}}}|album|video=&#42;|single={{double-dagger}}}}
 +
                }}
 +
              |{{#switch:{{{type|}}}|video=&#42;|single|album={{double-dagger}}}}
 +
              }}
 +
            }}
 
           }}
 
           }}
 
         }}
 
         }}

Revision as of 08:51, 26 June 2020

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

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

uk:Шаблон:Certification Table Entry/Foot