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

De Cat OPIDoR
(Page créée avec « <noinclude> Ceci est le modèle « Infobox Service ». Il devrait être appelé selon le format suivant : <pre> {{Infobox Service }} </pre> Modifiez la page pour voir le t... »)
 
Aucun résumé des modifications
 
(22 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 3 : Ligne 3 :
<pre>
<pre>
{{Infobox Service
{{Infobox Service
|Logo=
|TypeService=
|CollectionDe=
|StatutService=
|NomService=
|NomAlternatif=
|UrlService=
|Contact=
|Localisation=
|StructureAppartenance=
|Tutelle=
|IdentifiantService=
|IDRNSR=
|IDre3data=
|IdentifiantAlternatif=
|PhaseCycleVie=
|CoordonneeGeographique=
}}
}}
</pre>
</pre>
Modifiez la page pour voir le texte du modèle.
Modifiez la page pour voir le texte du modèle.
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly><div class="leservice">
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
<div class="infobox">
{| class="identiteservice"
|+
{{{NomService|{{PAGENAME}}}}}
|-
|-
! colspan="2" align="center" |{{#if: {{{Logo|}}} |[[File:{{{Logo|}}}|300x200px|]] {{#set:Logo=File:{{{Logo|}}} }} }}
|-
|[[A pour nom::{{{NomService|}}}| ]]
|-
! Type de service
| [[A pour type::{{{TypeService|}}}]]
|-
{{#if: {{{CollectionDe|}}} | ! Collection|}}
|{{#arraymap:{{{CollectionDe|}}}|,|x|[[Est une collection de::x]]}}
|-
! Statut
| [[A pour statut::{{{StatutService|}}}]]
|-
{{#if: {{{NomAlternatif|}}} | ! Autres noms|}}
| [[A pour nom alternatif::{{{NomAlternatif|}}}]]
|-
! URL
| {{#arraymap:{{{UrlService|}}}|,|x|[[A pour URL::x]]}}
|-
! Contact
| {{#arraymap:{{{ContactMel|}}}|,|x|[[A pour mel::x]]}}
|-
! Localisation
| {{#arraymap:{{{Localisation|}}}|,|x|[[A pour localisation::x]]}}
|-
! Structure d'appartenance
| {{#arraymap:{{{StructureAppartenance|}}}|,|x|[[A pour structure::x]]}}
|-
! Tutelles
| {{#arraymap:{{{Tutelle|}}}|,|x|[[A pour tutelle::x]]}}
|-
{{#if: {{{IdentifiantService|}}} | ! Identifiant|}}
| [[A pour identifiant::{{{IdentifiantService|&#32;|}}}]]
|-
{{#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]]}}
|}
|}
<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>
<!-- 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=&#32;
}}
</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.