Template:Cite act/testcases
This is the template test cases page for the sandbox of Template:Cite act. 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: |
basic test, with simple parameters |
---|
{{Cite act|article=II|article-type=Annex|date=20 March 2000|df=yes|index=2000/13/EC|legislature=The European Parliament|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. The European Parliament. 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. The European Parliament. 20 March 2000. pp. 29–42. URL–wikilink conflict (help) |
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 {{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 |
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 {{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 |
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 {{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 |
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) |