« Modèle:Infobox Service » : différence entre les versions
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(11 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 5 : | Ligne 5 : | ||
|Logo= | |Logo= | ||
|TypeService= | |TypeService= | ||
|CollectionDe= | |||
|StatutService= | |StatutService= | ||
|NomService= | |NomService= | ||
Ligne 12 : | Ligne 13 : | ||
|Localisation= | |Localisation= | ||
|StructureAppartenance= | |StructureAppartenance= | ||
| | |Tutelle= | ||
|IdentifiantService= | |||
|IDRNSR= | |||
|IDre3data= | |||
|IdentifiantAlternatif= | |IdentifiantAlternatif= | ||
|PhaseCycleVie= | |PhaseCycleVie= | ||
Ligne 25 : | Ligne 29 : | ||
{{{NomService|{{PAGENAME}}}}} | {{{NomService|{{PAGENAME}}}}} | ||
|- | |- | ||
! colspan="2" align="center" |{{#if: {{{Logo|}}} |[[File:{{{Logo|}}}| | ! colspan="2" align="center" |{{#if: {{{Logo|}}} |[[File:{{{Logo|}}}|300x200px|]] {{#set:Logo=File:{{{Logo|}}} }} }} | ||
|- | |||
|[[A pour nom::{{{NomService|}}}| ]] | |||
|- | |- | ||
! Type de service | ! Type de service | ||
| [[A pour type::{{{TypeService|}}}]] | | [[A pour type::{{{TypeService|}}}]] | ||
|- | |||
{{#if: {{{CollectionDe|}}} | ! Collection|}} | |||
|{{#arraymap:{{{CollectionDe|}}}|,|x|[[Est une collection de::x]]}} | |||
|- | |- | ||
! Statut | ! Statut | ||
Ligne 46 : | Ligne 55 : | ||
|- | |- | ||
! Structure d'appartenance | ! Structure d'appartenance | ||
| [[A pour structure::{{{ | | {{#arraymap:{{{StructureAppartenance|}}}|,|x|[[A pour structure::x]]}} | ||
|- | |||
! Tutelles | |||
| {{#arraymap:{{{Tutelle|}}}|,|x|[[A pour tutelle::x]]}} | |||
|- | |- | ||
{{#if: {{{IdentifiantService|}}} | ! Identifiant|}} | {{#if: {{{IdentifiantService|}}} | ! Identifiant|}} | ||
| [[A pour identifiant::{{{IdentifiantService| |}}}]] | | [[A pour identifiant::{{{IdentifiantService| |}}}]] | ||
|- | |- | ||
! Identifiant dans un autre catalogue | {{#if: {{{IDRNSR|}}} | ! Identifiants | {{#if: {{{IDre3data|}}} | !Identifiants | }} }} | ||
|- | |||
{{#if: {{{IDRNSR|}}} | ! RNSR|}} | |||
|[[A pour ID RNSR::{{{IDRNSR|}}}]] | |||
|- | |||
{{#if: {{{IDre3data|}}} | ! re3data|}} | |||
|[[A pour ID re3data::{{{IDre3data|}}}]] | |||
|- | |||
{{#if: {{{IdentifiantAlternatif|}}} | ! Identifiant dans un autre catalogue|}} | |||
| {{#arraymap:{{{IdentifiantAlternatif|}}}|,|x|[[A pour identifiant alternatif::x]]}} | | {{#arraymap:{{{IdentifiantAlternatif|}}}|,|x|[[A pour identifiant alternatif::x]]}} | ||
|} | |} | ||
Ligne 60 : | Ligne 80 : | ||
<div class="cycle petitcycle">{{#if: {{#arraymap:{{{PhaseCycleVie|}}}|,|x|[[Intervient dans le cycle de vie::x]]}}|{{#arraymaptemplate:{{{PhaseCycleVie|}}}|Affichage cycle|,|\n}}}}</div> | <div class="cycle petitcycle">{{#if: {{#arraymap:{{{PhaseCycleVie|}}}|,|x|[[Intervient dans le cycle de vie::x]]}}|{{#arraymaptemplate:{{{PhaseCycleVie|}}}|Affichage cycle|,|\n}}}}</div> | ||
<!-- Déclaration propriété A pour coordonnées GPS et affichage de coordonnées multiples --> | |||
{{#arraymap:{{{CoordonneeGeographique|}}}|;|x|[[A pour coordonnées GPS::x| ]]|\s }} | |||
{{# | {{#ask: [[{{FULLPAGENAME}}]] | ||
|?A pour coordonnées GPS= | |||
| | |format=leaflet | ||
|} | |width=280|height=280|copycoords=yes | ||
|markercluster=1 | |||
|clustermaxzoom=20 | |||
|clusterzoomonclick=1 | |||
|clustermaxradius=20 | |||
|clusterspiderfy=1 | |||
|default=  | |||
}} | |||
</div><!-- /.infobox --> | </div><!-- /.infobox --> | ||
</includeonly> | </includeonly> |
Dernière version du 31 août 2023 à 15:22
Ceci est le modèle « Infobox Service ». Il devrait être appelé selon le format suivant :
{{Infobox Service |Logo= |TypeService= |CollectionDe= |StatutService= |NomService= |NomAlternatif= |UrlService= |Contact= |Localisation= |StructureAppartenance= |Tutelle= |IdentifiantService= |IDRNSR= |IDre3data= |IdentifiantAlternatif= |PhaseCycleVie= |CoordonneeGeographique= }}
Modifiez la page pour voir le texte du modèle.