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

From blackwiki
Jump to navigation Jump to search
imported>Muhandes
(fix)
imported>Muhandes
(simpler)
Line 157: Line 157:
 
|single=S1020}}
 
|single=S1020}}
 
|Spain={{#if:{{{id|}}}
 
|Spain={{#if:{{{id|}}}
   |https://www.elportaldemusica.es/{{#switch:{{{type}}}|#default=album{{main other|[[Category:Cite certification used for Spain without type parameter]]}}|album=album|single=single}}/{{{id}}}
+
   |https://www.elportaldemusica.es/{{{type}}}/{{{id}}}
 
   |http://www.promusicae.es/listas/semanales}}
 
   |http://www.promusicae.es/listas/semanales}}
 
|Switzerland={{#if:{{{title|}}}|http://www.swisscharts.com/search_certifications.asp?search={{urlencode:{{{title}}}}}|http://swisscharts.com/awards.asp?year={{{certyear|}}}}}
 
|Switzerland={{#if:{{{title|}}}|http://www.swisscharts.com/search_certifications.asp?search={{urlencode:{{{title}}}}}|http://swisscharts.com/awards.asp?year={{{certyear|}}}}}

Revision as of 11:21, 8 October 2019

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

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.