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

De Cat OPIDoR
Aucun résumé des modifications
Aucun résumé des modifications
 
(8 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 13 : Ligne 14 :
|StructureAppartenance=
|StructureAppartenance=
|Tutelle=
|Tutelle=
|Identifiant=
|IdentifiantService=
|IdentifiantAlternatif=
|IDRNSR=
|IDRNSR=
|IDre3data=
|IDre3data=
|IdentifiantAlternatif=
|PhaseCycleVie=
|PhaseCycleVie=
|CoordonneeGeographique=
|CoordonneeGeographique=
Ligne 28 : 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 56 : Ligne 62 :
{{#if: {{{IdentifiantService|}}} | ! Identifiant|}}  
{{#if: {{{IdentifiantService|}}} | ! Identifiant|}}  
| [[A pour identifiant::{{{IdentifiantService| |}}}]]
| [[A pour identifiant::{{{IdentifiantService| |}}}]]
|-
! Identifiant dans un autre catalogue
| {{#arraymap:{{{IdentifiantAlternatif|}}}|,|x|[[A pour identifiant alternatif::x]]}}
|-
|-
{{#if: {{{IDRNSR|}}} | ! Identifiants | {{#if: {{{IDre3data|}}} |  !Identifiants |  }} }}
{{#if: {{{IDRNSR|}}} | ! Identifiants | {{#if: {{{IDre3data|}}} |  !Identifiants |  }} }}
Ligne 67 : Ligne 70 :
{{#if: {{{IDre3data|}}} | ! re3data|}}
{{#if: {{{IDre3data|}}} | ! re3data|}}
|[[A pour ID re3data::{{{IDre3data|}}}]]
|[[A pour ID re3data::{{{IDre3data|}}}]]
|-
{{#if: {{{IdentifiantAlternatif|}}} | ! Identifiant dans un autre catalogue|}}
| {{#arraymap:{{{IdentifiantAlternatif|}}}|,|x|[[A pour identifiant alternatif::x]]}}
|}
|}


Ligne 74 : 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 }}
{{#if:{{{CoordonneeGeographique|}}}|{{#display_map:{{#show: {{FULLPAGENAME}}|?A pour coordonnées GPS}}~{{{CoordonneeGeographique|}}} , {{{Localisation|}}}|copycoords=yes|width=280|height=280|service=osm|zoom=15}}|&#32;}}
{{#ask: [[{{FULLPAGENAME}}]]
{|style="color: white;"
|?A pour coordonnées GPS=
|[[A pour coordonnées GPS::{{{CoordonneeGeographique|}}}]]
|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.