Jump to content

Template:Certification Table Entry: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Finland: pass "accessdate" down to the {{Certification Cite Ref}}. Fixes a "cite error" in reference 23 at ...But Seriously
Sync from sandbox; change "switch" to "if" to categorize regions correctly; rm "singles certified platinum" etc. categories that were deleted in 2015
Line 1: Line 1:
<includeonly>! scope="row" | {{#switch:{{{region|}}}|{{#if:{{{nocat|}}}||{{main other|[[Category:Certification Table Entry usages for {{{region}}}]]}}}}{{#if:{{{autocat|}}}|{{#ifeq:{{{type}}}|video||{{main other|[[Category:{{#switch:{{{type}}}|album|compilation=Albums|single=Singles|video=Videos}} certified {{if|eq|{{{region|}}}|United States|{{if|eq|{{{type}}}|album|{{if||{{{Spanish|}}}|{{Certification Table Entry/Multiple|{{{number|1}}}}} |{{if|expr|{{{number|1}}} > 1|multi-| }}}}|{{Certification Table Entry/Multiple|{{{number|1}}}}} }}|{{Certification Table Entry/Multiple|{{{number|1}}}}} }}{{#if:{{{Spanish|}}}|{{#switch:{{{award}}}|Gold=Disco De Oro|Platinum=Disco De Platino}}|{{lc:{{{award}}}}}}} by {{#switch:{{{region|}}}|Finland|Hungary|New Zealand|Uruguay=|#default=the}} {{Certification Table Entry/Authority|region={{{region}}}|upfi={{#ifeq:{{{region|}}}|France|{{#ifeq:{{{upfi|}}}|yes|yes}}|no}}}}]]}}}}}}
<includeonly>! scope="row" | {{#if:{{{region|}}}|{{#if:{{{nocat|}}}||{{main other|[[Category:Certification Table Entry usages for {{{region}}}]]}}}}|{{#if:{{{nocat|}}}||{{main other|[[Category:Certification Table Entry usages for unsupported region]]}}}}}}{{#if:{{{nocert|}}}
|#default={{#if:{{{nocat|}}}||{{main other|[[Category:Certification Table Entry usages for unsupported region]]}}}}}}{{#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|}}}|region={{{region|}}}|title={{{title|}}}|artist={{{artist|}}}|type={{{type|}}}|id={{{id|}}}|recent={{{recent|}}}|best={{{best|}}}|Spanish={{{Spanish|}}}|date={{{date|}}}|accessdate={{{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|}}}|region={{{region|}}}|title={{{title|}}}|artist={{{artist|}}}|type={{{type|}}}|id={{{id|}}}|recent={{{recent|}}}|best={{{best|}}}|Spanish={{{Spanish|}}}|date={{{date|}}}|accessdate={{{accessdate|}}}|domestic={{{domestic|}}}}}}}}}{{#if:{{{note|}}}|<br>''<small>{{{note}}}</small>}}

Revision as of 20:09, 3 February 2016