Difference between revisions of "Template:EUR-Lex link/testcases"
imported>PrimeHunter (→Testing use in citation templates: test all current uses in articles) |
imported>PrimeHunter (→Testing use in citation templates: Template:Cite EU directive doesn't actually use {{EUR-Lex link}}, update last example to what the article currently says after I edited it) |
||
| Line 28: | Line 28: | ||
== Testing use in citation templates == | == Testing use in citation templates == | ||
| − | Following a report of broken urls at [//en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_ | + | Following a report of broken urls at [//en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=606345541#Template:Cite_EU_law], below is a complete copy-paste of all uses in articles at [[Special:WhatLinksHere/Template:EUR-Lex link]] on 29 April 2014. Two of them display <nowiki>{{{title}}}</nowiki> because they are missing that parameter. This is not an error in the template. |
*{{cite EU law |type=Regulation (EC) |number=273 |year=2004 |date=18 February 2004 |title=Regulation (EC) No 273/2004 of the European Parliament and of the Council of 11 February 2004 on drug precursors |eurlextag=OJ:L:2004:047:0001:0010:EN:PDF}} | *{{cite EU law |type=Regulation (EC) |number=273 |year=2004 |date=18 February 2004 |title=Regulation (EC) No 273/2004 of the European Parliament and of the Council of 11 February 2004 on drug precursors |eurlextag=OJ:L:2004:047:0001:0010:EN:PDF}} | ||
*{{cite EU law | *{{cite EU law | ||
| Line 55: | Line 55: | ||
| eurlextag = OJ:L:2011:295:0001:0177:EN:PDF | | eurlextag = OJ:L:2011:295:0001:0177:EN:PDF | ||
}} | }} | ||
| + | <!-- {{Cite EU directive}} has a eurlextag parameter but doesn't use {{EUR-Lex link}} as of April 2014 | ||
*{{cite EU directive |serial= 2011/7/EU|year= |date= 16 February 2011|description = on combating late payment in commercial transactions (recast)|eurlextag= OJ:L:2011:048:0001:0010:EN:PDF}} | *{{cite EU directive |serial= 2011/7/EU|year= |date= 16 February 2011|description = on combating late payment in commercial transactions (recast)|eurlextag= OJ:L:2011:048:0001:0010:EN:PDF}} | ||
*{{cite EU directive |serial= 2000/35/EC|year= |date= 29 June 2000|description = on combating late payment in commercial transactions|eurlextag= OJ:L:2000:200:0035:0038:EN:PDF}} | *{{cite EU directive |serial= 2000/35/EC|year= |date= 29 June 2000|description = on combating late payment in commercial transactions|eurlextag= OJ:L:2000:200:0035:0038:EN:PDF}} | ||
| + | *{{cite EU directive |serial= 98/71/EC|year= 1998|date= 13 October 1998|description = on the legal protection of designs|eurlextag= CELEX:31998L0071:EN:NOT}} | ||
| + | --> | ||
*{{cite EU regulation| serial= 1346/2000| date= 29 May 2000| description = on insolvency proceedings| eurlextag= OJ:L:2000:160:0001:0018:EN:PDF}} | *{{cite EU regulation| serial= 1346/2000| date= 29 May 2000| description = on insolvency proceedings| eurlextag= OJ:L:2000:160:0001:0018:EN:PDF}} | ||
*{{cite EU regulation |serial= 6/2002|date= 12 December 2001|description = on Community designs|eurlextag= CELEX:32002R0006:EN:NOT}} | *{{cite EU regulation |serial= 6/2002|date= 12 December 2001|description = on Community designs|eurlextag= CELEX:32002R0006:EN:NOT}} | ||
| − | |||
*{{cite EU law | *{{cite EU law | ||
| title = Council Regulation (EC) No 44/2001 of 22 December 2000 on jurisdiction and the recognition and enforcement of judgments in civil and commercial matters | | title = Council Regulation (EC) No 44/2001 of 22 December 2000 on jurisdiction and the recognition and enforcement of judgments in civil and commercial matters | ||
| Line 69: | Line 71: | ||
| eurlextag = CELEX:32001R0044:en:HTML | | eurlextag = CELEX:32001R0044:en:HTML | ||
}} | }} | ||
| − | *{{cite EU law | | + | *{{cite EU law |title = Council Implementing Decision 2014/238/CFSP of 28 April 2014 implementing Decision 2014/145/CFSP concerning restrictive measures in respect of actions undermining or threatening the territorial integrity, sovereignty and independence of Ukraine |eurlextag= OJ.L_.2014.126.01.0055.01.ENG|eurlexscheme=uriserv}} |
Latest revision as of 16:32, 29 April 2014
| 42px | This is the template test cases page for the sandbox of Template:EUR-Lex link. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Testing sandbox version
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri={{{eurlextag}}}. Missing or empty |title= (help)
"Commission Regulation (EC) No 753/2002 of 29 April 2002".
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2002:118:0001:0054:EN:PDF. Missing or empty |title= (help)
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri={{{eurlextag}}}. Missing or empty |title= (help)
Testing main template
{{EUR-Lex_link}}
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri={{{eurlextag}}}. Missing or empty |title= (help)
"Commission Regulation (EC) No 753/2002 of 29 April 2002".
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2002:118:0001:0054:EN:PDF. Missing or empty |title= (help)
http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri={{{eurlextag}}}. Missing or empty |title= (help)
Testing use in citation templates
Following a report of broken urls at [1], below is a complete copy-paste of all uses in articles at Special:WhatLinksHere/Template:EUR-Lex link on 29 April 2014. Two of them display {{{title}}} because they are missing that parameter. This is not an error in the template.
- "Regulation (EC) No 273/2004 of the European Parliament and of the Council of 11 February 2004 on drug precursors".
- "{{{title}}}".
- "{{{title}}}".
- "Commission Regulation (EU) No 1129/2011 establishing a Union list of food additives".
- Regulation (EU) No 1346/2000 of 29 May 2000 on insolvency proceedings
- Regulation (EU) No 6/2002 of 12 December 2001 on Community designs
- "Council Regulation (EC) No 44/2001 of 22 December 2000 on jurisdiction and the recognition and enforcement of judgments in civil and commercial matters".
- "Council Implementing Decision 2014/238/CFSP of 28 April 2014 implementing Decision 2014/145/CFSP concerning restrictive measures in respect of actions undermining or threatening the territorial integrity, sovereignty and independence of Ukraine".