Template:Certification Table Entry: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#invoke:Check for unknown parameters|check | <noinclude>{{#cargo_declare:_table=certifications | ||
|artist = String(mandatory=1) | |||
|work = String(mandatory=1) | |||
|type = String(mandatory=1;allowed values=album,single,video) | |||
|award = String(mandatory=1) | |||
|number = Integer | |||
|region = String | |||
|date = Date | |||
}}</noinclude><includeonly>{{#cargo_store:_table=certifications | |||
|artist = {{#ifeq:{{{artist|}}}|Smashing Pumpkins|The Smashing Pumpkins|{{{artist|}}}}} | |||
|work = {{{work|{{{title|{{PAGENAME}}}}}}}} | |||
|type = {{{type|}}} | |||
|award = {{{award|}}} | |||
|number = {{{number|}}} | |||
|region = {{{region|}}} | |||
|date = {{#if:{{{date|}}}|{{{date}}}|{{{certyear|}}}-{{#padleft:{{{certmonth|01}}}|2}}-{{#padleft:{{{certday|01}}}|2}}}} | |||
}}</includeonly>{{#invoke:Check for unknown parameters|check | |||
|unknown={{main other|[[Category:Pages using certification Table Entry with unknown parameters|_VALUE_{{PAGENAME}}]]}} | |unknown={{main other|[[Category:Pages using certification Table Entry with unknown parameters|_VALUE_{{PAGENAME}}]]}} | ||
|preview=Page using [[Template:Certification Table Entry]] with unknown parameter "_VALUE_"|ignoreblank=y| access-date | accessdate | artist | award | best | certday | certmonth | certref | certyear | date | digital | discount | domestic | format | id | multidisc | nocat | nocert | nosales | note | number | recent | refname | region | relday | relmonth | relyear | salesamount | salesref | Spanish | title | type | upfi| streaming }} | |preview=Page using [[Template:Certification Table Entry]] with unknown parameter "_VALUE_"|ignoreblank=y| access-date | accessdate | artist | award | best | certday | certmonth | certref | certyear | date | digital | discount | domestic | format | id | multidisc | nocat | nocert | nosales | note | number | recent | refname | region | relday | relmonth | relyear | salesamount | salesref | Spanish | title | type | upfi| streaming | work }} | ||
<includeonly> | <includeonly>| scope="row" | {{#switch:{{{region|}}}|Argentina|Australia|Austria|Belgium|Brazil|Canada|Denmark|Europe|Finland|France|GCC|Germany|Greece|Hong Kong|Hungary|Ireland|Italy|Japan|Mexico|Netherlands|New Zealand|Norway|Philippines|Poland|Portugal|Russia|South Korea|Spain|Sweden|Switzerland|United Kingdom|United States|Uruguay|#default={{#if:{{{nocat|}}}||{{main other|[[Category:Certification Table Entry usages for unsupported region]]}}{{#if:{{{certref|}}}{{{salesref|}}}||{{main other|[[Category:Certification Table Entry usages for unsupported region without source]]}}}}}}}}<!-- | ||
-->{{#if:{{{nocert|}}} | |||
|{{{region}}} | |{{{region}}} | ||
|{{Certification Table Entry/Region|region={{{region|}}}|upfi={{#ifeq:{{{region|}}}|France|{{#ifeq:{{{upfi|}}}|yes|yes}}|no}}|format={{{format|}}}}}{{#if:{{{certref|}}}|{{{certref}}}|{{Certification Cite Ref|refname={{{refname|}}}|award={{{award|}}}|number={{{number|}}}|certyear={{{certyear|}}}|certmonth={{{certmonth|}}}|certday={{{certday|}}}|certweek={{{certweek|}}}|position={{{position|}}}|region={{{region|}}}|title={{{title|}}}|artist={{{artist|}}}|type={{{type|}}}|id={{{id|}}}|recent={{{recent|}}}|best={{{best|}}}|Spanish={{{Spanish|}}}|digital={{{digital|}}}|date={{{date|}}}|access-date={{{access-date|{{{accessdate|}}}}}}|domestic={{{domestic|}}}}}}}}}{{#if:{{{note|}}}|<br />''<small>{{{note}}}</small>''}} | |{{Certification Table Entry/Region|region={{{region|}}}|upfi={{#ifeq:{{{region|}}}|France|{{#ifeq:{{{upfi|}}}|yes|yes}}|no}}|format={{{format|}}}}}{{#if:{{{certref|}}}|{{{certref}}}|{{Certification Cite Ref|refname={{{refname|}}}|award={{{award|}}}|number={{{number|}}}|certyear={{{certyear|}}}|certmonth={{{certmonth|}}}|certday={{{certday|}}}|certweek={{{certweek|}}}|position={{{position|}}}|region={{{region|}}}|title={{{title|}}}|artist={{{artist|}}}|type={{{type|}}}|id={{{id|}}}|recent={{{recent|}}}|best={{{best|}}}|Spanish={{{Spanish|}}}|digital={{{digital|}}}|date={{{date|}}}|access-date={{{access-date|{{{accessdate|}}}}}}|domestic={{{domestic|}}}}}}}}}{{#if:{{{note|}}}|<br />''<small>{{{note}}}</small>''}} |
Latest revision as of 23:57, 17 July 2023
This template defines the table "certifications". View table.
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |