Template:Sandre
Usage
This template creates a citation to the website of the Service d'administration nationale des données et référentiels sur l'eau (Sandre), which has data on French watercourses. It is widely used in pages on :fr:Wikipedia, and may be useful for translated pages. Parameters are therefore the same as on the French wiki
Syntax
<syntaxhighlight lang="wikitext">
Sandre. "Fiche cours d'eau - ... (...)". Retrieved .... {{cite web}}
: Check date values in: |access-date=
(help)
Sandre. "..."
</syntaxhighlight>
- id (required) : identifier of listing on the Sandre site. This identifier is composed of eight alphanumeric characters (letters, digits, and hyphens; more details on the composition of this identifier).
- example : if the URL is https://www.sandre.eaufrance.fr/geo/CoursEau_Carthage2017/K15-0300, the id is « K15-0300 ».
- name (optional) : name of the stream.
- source (optional) : If this parameter is specified and has the value non the text "sur le Sandre" not displayed.
- texte (optional) : Will display the link with the specified text and only the text.
- if this parameter is used, the parameters name and source are ignored.
- access-date or consulté le (optional) : allows addition of the date when the Sandre site was accessed.
- example : access-date=23 April 2012
Examples
- With the named parameters:
Code | Result |
---|---|
<syntaxhighlight lang="wikitext" inline>Sandre. "Fiche cours d'eau (----0352)".</syntaxhighlight> | Sandre. "Fiche cours d'eau (----0352)". |
<syntaxhighlight lang="wikitext" inline>Sandre. "Fiche cours d'eau - canal d'Orléans (----0352)".</syntaxhighlight> | Sandre. "Fiche cours d'eau - canal d'Orléans (----0352)". |
<syntaxhighlight lang="wikitext" inline>"Fiche cours d'eau - canal d'Orléans (----0352)".</syntaxhighlight> | "Fiche cours d'eau - canal d'Orléans (----0352)". |
<syntaxhighlight lang="wikitext" inline>"Fiche cours d'eau (----0352)".</syntaxhighlight> | "Fiche cours d'eau (----0352)". |
<syntaxhighlight lang="wikitext" inline>Sandre. "Le canal d'Orléans".</syntaxhighlight> | Sandre. "Le canal d'Orléans". |
- With some parameters omitted:
Code | Result |
---|---|
<syntaxhighlight lang="wikitext" inline>Sandre. "Fiche cours d'eau (----0352)".</syntaxhighlight> | Sandre. "Fiche cours d'eau (----0352)". |
<syntaxhighlight lang="wikitext" inline>Sandre. "Fiche cours d'eau - canal d'Orléans (----0352)".</syntaxhighlight> | Sandre. "Fiche cours d'eau - canal d'Orléans (----0352)". |
<syntaxhighlight lang="wikitext" inline>"Fiche cours d'eau - canal d'Orléans (----0352)".</syntaxhighlight> | "Fiche cours d'eau - canal d'Orléans (----0352)". |
<syntaxhighlight lang="wikitext" inline>"Fiche cours d'eau (----0352)". Retrieved 6 May 2012.</syntaxhighlight> | "Fiche cours d'eau (----0352)". Retrieved 6 May 2012. |
<syntaxhighlight lang="wikitext" inline>Sandre. "Le canal d'Orléans". Retrieved 6 May 2012.</syntaxhighlight> | Sandre. "Le canal d'Orléans". Retrieved 6 May 2012. |
TemplateData
TemplateData for Sandre
Citation template for the website of the Service d'administration nationale des données et référentiels sur l'eau (Sandre)
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id 1 | identifier of listing on the Sandre site (8 characters)
| Unknown | optional |
texte | texte | no description | Unknown | optional |
name | name 2 | name of the water course to be displayed | Unknown | optional |
nom | nom | no description | Unknown | optional |
source | source | no description | Unknown | optional |
access-date | access-date | no description | Unknown | optional |
consulté le | consulté le | no description | Unknown | optional |
consultée le | consultée le | no description | Unknown | optional |