Difference between revisions of "Template:Cite act/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Hecseur
imported>Hecseur
Line 11: Line 11:
 
| lay-date = 20 March 2000
 
| lay-date = 20 March 2000
 
| pages = 29–42
 
| pages = 29–42
| url = http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN
+
| lay-url = http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN
 
}}
 
}}
  

Revision as of 20:04, 24 February 2019

basic test, with simple parameters
{{Cite act|article=II|article-type=Annex|index=2000/13/EC|lay-date=20 March 2000|lay-source=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|lay-url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN|legislature=The European Parliament|pages=29–42|prose=yes|type=Directive}}

{{Cite act}}

Annex II,Template:SpaceDirectiveTemplate:SpaceNo. 2000/13/ECTemplate:SpaceofTemplate:SpaceError: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. The European Parliament. pp. 29–42. Lay summaryThe approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (20 March 2000). Unknown parameter |prose= ignored (help)

{{Cite act/sandbox}}

Annex II,Template:SpaceDirectiveTemplate:SpaceNo. 2000/13/ECTemplate:SpaceofTemplate:SpaceError: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. The European Parliament. pp. 29–42. Lay summaryThe approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (20 March 2000).

basic test with MDY date format
{{Cite act|article=II|article-type=Annex|date=20 March 2000|df=mdy|number=2000/13/EC|pages=29–42|title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|type=Directive|url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]20 March 2000. pp. 29–42. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC. 20 March 2000. pp. 29–42. URL–wikilink conflict (help)

basic test with garbage data in the date parameter
{{Cite act|article=II|article-type=Annex|date=this is not a valid date string|number=2000/13/EC|pages=29–42|title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|type=Directive|url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]Error: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. pp. 29–42. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]Error: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. pp. 29–42. URL–wikilink conflict (help)

garbage data in year parameter
{{Cite act|article=II|article-type=Annex|number=2000/13/EC|pages=29–42|title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|type=Directive|url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN|year=garbage data}}

{{Cite act}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]Error: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. pp. 29–42. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]Error: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. pp. 29–42. URL–wikilink conflict (help)

both year and date parameters
{{Cite act|article=II|article-type=Annex|date=January 1, 2014|number=2000/13/EC|pages=29–42|title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|type=Directive|url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN|year=2011}}

{{Cite act}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]January 1, 2014. pp. 29–42. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]January 1, 2014. pp. 29–42. URL–wikilink conflict (help)

garbage in date with valid year
{{Cite act|article=II|article-type=Annex|date=garbage|number=2000/13/EC|pages=29–42|title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|type=Directive|url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN|year=2011}}

{{Cite act}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]Error: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. pp. 29–42. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]Error: the date or year parameters are either empty or in an invalid format, please use a valid year for year, and use DMY, MDY, MY, or Y date formats for date. pp. 29–42. URL–wikilink conflict (help)

test to fix double space issue
{{Cite act|accessdate=2016-11-03|article=1|articletype=Schedule|date=November 1, 1996|title=Representation of the People Act 1983|url=http://www.legislation.gov.uk/ukpga/1983/2/schedule/1/part/I/1996-11-01}}

{{Cite act}}

"Representation of the People Act 1983". Schedule 1,[[:Template:Space]]Act[[:Template:Space]]of[[:Template:Space]]November 1, 1996. Retrieved 2016-11-03. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"Representation of the People Act 1983". Schedule 1,[[:Template:Space]]Act[[:Template:Space]]of[[:Template:Space]]November 1, 1996. Retrieved 2016-11-03. URL–wikilink conflict (help)

Test1
{{Cite act|access-date=30 March 2015|article=II|article-type=Annex|date=20 March 2000|number=2000/13/EC|page=P. 0029 - 0042|publisher=test|title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs|type=Directive|url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]20 March 2000. test. p. P. 0029 - 0042. Retrieved 30 March 2015. URL–wikilink conflict (help)CS1 maint: extra text (link)

{{Cite act/sandbox}}

"The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs". Annex II,[[:Template:Space]]Directive[[:Template:Space]]No. 2000/13/EC[[:Template:Space]]of[[:Template:Space]]20 March 2000. test. p. P. 0029 - 0042. Retrieved 30 March 2015. URL–wikilink conflict (help)CS1 maint: extra text (link)

Test2
{{Cite act|access-date=December 21, 2012|article=1.006|date=August 30, 1991|language=Spanish|number=81|page=page 29–42|title=[[Autonomous Municipalities Act of 1991]]|url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf}}

{{Cite act}}

"Autonomous Municipalities Act of 1991". Article 1.006,[[:Template:Space]]Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]August 30, 1991 (PDF) (in Spanish). p. page 29–42. Retrieved December 21, 2012. URL–wikilink conflict (help)CS1 maint: extra text (link)

{{Cite act/sandbox}}

"Autonomous Municipalities Act of 1991". Article 1.006,[[:Template:Space]]Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]August 30, 1991 (PDF) (in Spanish). p. page 29–42. Retrieved December 21, 2012. URL–wikilink conflict (help)CS1 maint: extra text (link)

Test3
{{Cite act|access-date=December 21, 2012|date=August 30, 1991|language=Spanish|number=81|title=[[Autonomous Municipalities Act of 1991]]|url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf}}

{{Cite act}}

"Autonomous Municipalities Act of 1991". Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]August 30, 1991 (PDF) (in Spanish). Retrieved December 21, 2012. URL–wikilink conflict (help)

{{Cite act/sandbox}}

"Autonomous Municipalities Act of 1991". Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]August 30, 1991 (PDF) (in Spanish). Retrieved December 21, 2012. URL–wikilink conflict (help)

Test4
{{Cite act|access-date=December 21, 2012|date=August 30, 1991|language=Spanish|number=81|url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf}}

{{Cite act}}

Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]August 30, 1991 (PDF) (in Spanish). Retrieved December 21, 2012. URL–wikilink conflict (help)

{{Cite act/sandbox}}

Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]August 30, 1991 (PDF) (in Spanish). Retrieved December 21, 2012. URL–wikilink conflict (help)

Test5
{{Cite act|number=81|publisher=Legislature|url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf|year=1991}}

{{Cite act}}

Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]1991 (PDF). Legislature. URL–wikilink conflict (help)

{{Cite act/sandbox}}

Act[[:Template:Space]]No. 81[[:Template:Space]]of[[:Template:Space]]1991 (PDF). Legislature. URL–wikilink conflict (help)

Test6
{{Cite act|article=4|date=1 September 1600|language=Finnish|number=410|title=Kuntalaki|trans-title=The Local Government Act|url=http://www.finlex.fi/fi/laki/ajantasa/2015/20150410}}

{{Cite act}}

"Kuntalaki" [The Local Government Act]. Article 4,[[:Template:Space]]Act[[:Template:Space]]No. 410[[:Template:Space]]of[[:Template:Space]]1 September 1600 (in Finnish). URL–wikilink conflict (help)

{{Cite act/sandbox}}

"Kuntalaki" [The Local Government Act]. Article 4,[[:Template:Space]]Act[[:Template:Space]]No. 410[[:Template:Space]]of[[:Template:Space]]1 September 1600 (in Finnish). URL–wikilink conflict (help)