Template:Cite Swiss law/doc

Usage
This template allows for the easy citing and linking to of Swiss federal laws and of their individual articles. It covers statutes and ordinances that are recorded in the Systematic Collection of Federal Law (Systematische Sammlung des Bundesrechts / Recueil systématique du droit fédéral). It should not be substituted.

To Do

 * The system now redirects to fedlex.admin.ch which indexes by ELI.
 * This editor does not know whether and for how long the old indexing system will continue to redirect correctly.
 * Add support for alternative URLs or parameters expected from standard citations like access-date.
 * Consider move to CS1|2 wrapper.

Example
The above example will display as:

Parameters

 * link: The SR/RS number of the law. It must be provided with underscores in lieu of colons, e.g. "115_20" instead of "115.20", so as not to break the hyperlinks. This is the only mandatory parameter.
 * sr: If the SR/RS number includes colons and has to be provided with underscores as the "link" parameter, it should be provided again as this parameter, but with colons, for correct display. (This workaround is necessary because the StringFunctions extension is not currently installed.)
 * art: The article of the law that is being cited. (Paragraphs and litterae cannot be linked to and should be cited after the template.)
 * date: The date of the enactment of the law. Should not be wikilinked
 * de: German title of the law. Either the full title (in this case, "Federal Constitution of the Swiss Confederation") or the short title (if any) of the law may be cited, as appropriate in context.
 * deab: German official abbreviation (if any).


 * The above applies mutatis mutandis to the en, fr and it parameters. An official title in Spanish can be added with es.


 * If the en parameter is used, links to a non-authoritative English translation of the law provided by the Federal Authorities will be generated. Not all laws are translated into English; see the list at https://www.admin.ch/gov/en/start/federal-law/classified-compilation.html.