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

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(From sandbox, fix NZ)
imported>Muhandes
(From sandbox, fix Denmark)
Line 3: Line 3:
 
   |{{#switch:{{{region|}}}
 
   |{{#switch:{{{region|}}}
 
     |Austria|Belgium|Brazil|Europe|GCC|Hong Kong|Philippines|Poland|Russia|South Korea=&#42;<!--Sales-->
 
     |Austria|Belgium|Brazil|Europe|GCC|Hong Kong|Philippines|Poland|Russia|South Korea=&#42;<!--Sales-->
     |Argentina|Denmark|Greece|Japan|Spain|Netherlands|Ireland|Portugal|Switzerland|Uruguay=^<!--Shipments-->
+
     |Argentina|Greece|Japan|Spain|Netherlands|Ireland|Portugal|Switzerland|Uruguay=^<!--Shipments-->
 
     |Australia={{#switch:{{{type|}}}
 
     |Australia={{#switch:{{{type|}}}
 
       |album={{#if:{{{certyear|}}}
 
       |album={{#if:{{{certyear|}}}
Line 51: Line 51:
 
                 }}
 
                 }}
 
               }}
 
               }}
 +
            |^
 +
            }}
 +
          |{{double-dagger}}
 +
          }}
 +
        }}
 +
      |^
 +
      }}
 +
    |Denmark={{#if:{{{certyear|}}}
 +
      |{{#ifexpr:{{{certyear}}} < 2016
 +
        |^
 +
        |{{#ifexpr:{{{certyear}}} < 2017
 +
          |{{#if:{{{certmonth|}}}
 +
            |{{#ifexpr:{{{certmonth}}} < 4 |^|{{double-dagger}}}}
 
             |^
 
             |^
 
             }}
 
             }}

Revision as of 15:07, 10 June 2020

50px 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
File:Double-dagger-14-plain.png sales+streaming

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