Difference between revisions of "Template:Cite EU law/doc"
Jump to navigation
Jump to search
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
imported>Furicorn (added example) |
||
| Line 29: | Line 29: | ||
====Optional parameters==== | ====Optional parameters==== | ||
*'''eurlexscheme''': Can optionally be tried in combination with <code>eurlextag</code> if the template does not generate a working link. The only supported value as of April 2014 is <code>eurlexscheme=uriserv</code> for url's starting with <code><nowiki>http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:</nowiki></code>. If no workling link can be made with <code>eurlextag</code> then use <code>url</code> instead. | *'''eurlexscheme''': Can optionally be tried in combination with <code>eurlextag</code> if the template does not generate a working link. The only supported value as of April 2014 is <code>eurlexscheme=uriserv</code> for url's starting with <code><nowiki>http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:</nowiki></code>. If no workling link can be made with <code>eurlextag</code> then use <code>url</code> instead. | ||
| + | ===Eamples=== | ||
| + | |||
| + | :<code><nowiki>{{cite EU law |title=Commission Regulation (EU) No 1129/2011 establishing a Union list of food additives |eurlextag=OJ:L:2011:295:0001:0177:EN:PDF}}</nowiki></code> | ||
| + | :{{cite EU law |title=Commission Regulation (EU) No 1129/2011 establishing a Union list of food additives |eurlextag=OJ:L:2011:295:0001:0177:EN:PDF}} | ||
<includeonly> | <includeonly> | ||
Revision as of 22:13, 31 August 2018
| This is a documentation subpage for Template:Cite EU law. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to cite online sources in Wikipedia articles. For general information about citations in Wikipedia articles, see Wikipedia:cite sources.
A general discussion of the use of templates for adding citation of open-source web content to Wikipedia articles is available at citation templates.
All parameters
When copying all parameters, in either horizontal or vertical layout, delete those you don't need.
- All parameters, horizontal layout
{{cite EU law |title= |eurlextag= |eurlexscheme= |url= }}
- All parameters, vertical layout
{{cite EU law
| title =
| eurlextag =
| eurlexscheme =
| url =
}}
Required parameters
- title: The title of the cited document
- eurlextag or url: Only use one of these.
eurlextagis a tag for the EUR-Lex database e.g. OJ:L:2002:118:0001:0054:EN:PDFurlis a direct url for the document e.g. http://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32012L0013
Optional parameters
- eurlexscheme: Can optionally be tried in combination with
eurlextagif the template does not generate a working link. The only supported value as of April 2014 iseurlexscheme=uriservfor url's starting withhttp://eur-lex.europa.eu/legal-content/EN/TXT/?uri=uriserv:. If no workling link can be made witheurlextagthen useurlinstead.
Eamples
{{cite EU law |title=Commission Regulation (EU) No 1129/2011 establishing a Union list of food additives |eurlextag=OJ:L:2011:295:0001:0177:EN:PDF}}- "Commission Regulation (EU) No 1129/2011 establishing a Union list of food additives".