« Modèle:Infobox Service » : différence entre les versions

De Cat OPIDoR
m (A protégé « Modèle:Infobox Service » ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
Aucun résumé des modifications
 
(19 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 5 : Ligne 5 :
|Logo=
|Logo=
|TypeService=
|TypeService=
|CollectionDe=
|StatutService=
|StatutService=
|NomService=
|NomService=
Ligne 12 : Ligne 13 :
|Localisation=
|Localisation=
|StructureAppartenance=
|StructureAppartenance=
|Identifiant=
|Tutelle=
|IdentifiantService=
|IDRNSR=
|IDre3data=
|IdentifiantAlternatif=
|IdentifiantAlternatif=
|PhaseCycleVie=
|PhaseCycleVie=
Ligne 25 : Ligne 29 :
{{{NomService|{{PAGENAME}}}}}
{{{NomService|{{PAGENAME}}}}}
|-
|-
! colspan="2" align="center" |{{#if: {{{Logo|}}} |[[File:{{{Logo|}}}|300px|]] {{#set:Logo=File:{{{Logo|}}}|{{PAGENAME}} }} }}
! 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 37 : Ligne 46 :
|-
|-
! URL
! URL
| [[A pour URL::{{{UrlService|}}}]]  
| {{#arraymap:{{{UrlService|}}}|,|x|[[A pour URL::x]]}}
|-
|-
! Contact
! Contact
Ligne 43 : Ligne 52 :
|-
|-
! Localisation
! Localisation
| [[A pour localisation::{{{Localisation|}}}]]  
| {{#arraymap:{{{Localisation|}}}|,|x|[[A pour localisation::x]]}}
|-
|-
! Structure d'appartenance
! Structure d'appartenance
| [[A pour structure::{{{StructureAppartenance|}}}]]
| {{#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]]}}
|}
|}




<p class="titre">Phases du cycle de vie</p>  
<p class="titre">Cycle de vie des données</p>
Ce service intervient au cours des stades du cycle de vie suivants :
<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 }}
{{#if:{{{CoordonneeGeographique|}}}|{{#display_map:{{#show: {{FULLPAGENAME}}|?A pour coordonnées GPS}}|width=280|height=280|service=osm|zoom=10}}|&#32;}}|[[A pour coordonnées GPS::{{{CoordonneeGeographique|}}}]]
{{#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=&#32;
}}
</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.