Difference between revisions of "Template:Certification Cite/URL/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(Syncing sandbox code with main template (sync-template-sandbox.js))
imported>Muhandes
(Redo Portugal)
 
Line 88: Line 88:
 
   |http://snepmusique.com/les-certifications/?categorie={{#switch:{{{type}}}||album|compilation=Albums|single=Singles|video=Vidéos|Tout}}&interprete={{urlencode:{{{artist|}}}}}&titre={{urlencode:{{{title|}}}}}
 
   |http://snepmusique.com/les-certifications/?categorie={{#switch:{{{type}}}||album|compilation=Albums|single=Singles|video=Vidéos|Tout}}&interprete={{urlencode:{{{artist|}}}}}&titre={{urlencode:{{{title|}}}}}
 
   }}
 
   }}
|GCC=
+
|GCC={{#switch:{{{certyear|}}}
{{#switch:{{{certyear|}}}
 
 
|2009=https://web.archive.org/web/20131010193203/http://www.ifpi.org/content/section_news/mid_east_2009.html
 
|2009=https://web.archive.org/web/20131010193203/http://www.ifpi.org/content/section_news/mid_east_2009.html
 
|2010=https://web.archive.org/web/20131021203829/http://www.ifpi.org/content/section_news/mid_east_2010.html
 
|2010=https://web.archive.org/web/20131021203829/http://www.ifpi.org/content/section_news/mid_east_2010.html
Line 137: Line 136:
 
|Philippines=http://www.pari.com.ph/awardsgoldplatinum.html
 
|Philippines=http://www.pari.com.ph/awardsgoldplatinum.html
 
|Poland=http://bestsellery.zpav.pl/wyroznienia/{{#switch:{{{award|}}}||Gold=zlote|Platinum=platynowe|Diamond=diamentowe}}plyty/{{#switch:{{{type|}}}|album=cd|video=dvd|cd}}/archiwum.php?year={{{certyear|2019}}}
 
|Poland=http://bestsellery.zpav.pl/wyroznienia/{{#switch:{{{award|}}}||Gold=zlote|Platinum=platynowe|Diamond=diamentowe}}plyty/{{#switch:{{{type|}}}|album=cd|video=dvd|cd}}/archiwum.php?year={{{certyear|2019}}}
|Portugal={{#ifeq:{{{recent|}}}|true|http://www.afp.org.pt/estatisticas.php|http://www.artistas-espectaculos.com/topafp/pt/{{#if:{{{id|}}}|{{{id}}}.htm}}}}
+
|Portugal={{#if:{{{certyear|}}}
 +
  |{{#ifexpr: {{{certyear}}} >= 2018
 +
    |{{#if:{{{id|}}}
 +
      |http://www.audiogest.pt/documents/files/{{{id}}}
 +
      |http://www.audiogest.pt/tops-vendas
 +
      }}
 +
    |{{#ifeq:{{{recent|}}}|true
 +
      |http://www.afp.org.pt/estatisticas.php
 +
      |http://www.artistas-espectaculos.com/topafp/pt/{{#if:{{{id|}}}|{{{id}}}.htm}}
 +
      }}
 +
    }}
 +
  |http://www.artistas-espectaculos.com/topafp/pt/{{#if:{{{id|}}}|{{{id}}}.htm}}
 +
  }}
 
|Sweden={{#if:{{{certyear|}}}|{{#ifexpr:{{{certyear}}} < 1999 |https://web.archive.org/web/20110517224028/http://www.ifpi.se/wp/wp-content/uploads/guld-platina-1987-1998.pdf|
 
|Sweden={{#if:{{{certyear|}}}|{{#ifexpr:{{{certyear}}} < 1999 |https://web.archive.org/web/20110517224028/http://www.ifpi.se/wp/wp-content/uploads/guld-platina-1987-1998.pdf|
 
{{#switch:{{{certyear}}}
 
{{#switch:{{{certyear}}}

Latest revision as of 12:28, 27 November 2020

This is a helper template for Template:Certification Cite, creating the URL of the citation. See Template:Certification Cite/doc for the regions supported and fields required.