« 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
Ligne 3 : Ligne 3 :
<pre>
<pre>
{{Infobox Service
{{Infobox Service
|Logo=
|TypeService=
|StatutService=
|NomService=
|NomAlternatif=
|UrlService=
|Contact=
|Localisation=
|StructureAppartenance=
|Identifiant=
|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|}}}|300px|]] {{#set:Logo=File:{{{Logo|}}}|alt=Service {{PAGENAME}} }} }}
|-
! Type de service
| [[A pour type::{{{TypeService|}}}]]
|-
! Statut
| [[A pour statut::{{{StatutService|}}}]]
|-
{{#if: {{{NomAlternatif|}}} | ! Autres noms|}}
| [[A pour nom alternatif::{{{NomAlternatif|}}}]]
|-
! URL
| [[A pour URL::{{{UrlService|}}}]]
|-
! Contact
| {{#arraymap:{{{ContactMel|}}}|,|x|[[A pour mel::x]]}}
|-
! Localisation
| [[A pour localisation::{{{Localisation|}}}]]
|-
! Structure d'appartenance
| [[A pour structure::{{{StructureAppartenance|}}}]]
|-
{{#if: {{{IdentifiantService|}}} | ! Identifiant|}}
| [[A pour identifiant::{{{IdentifiantService|&#32;|}}}]]
|-
! Identifiant dans un autre catalogue
| {{#arraymap:{{{IdentifiantAlternatif|}}}|,|x|[[A pour identifiant alternatif::x]]}}
|}
|}
<p class="titre">Phases du cycle de vie</p>
<div class="cycle petitcycle">{{#if: {{#arraymap:{{{PhaseCycleVie|}}}|,|x|[[Intervient dans le cycle de vie::x]]}}|{{#arraymaptemplate:{{{PhaseCycleVie|}}}|Affichage cycle|,|\n}}}}</div>
{{#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|}}}]]
</div><!-- /.infobox -->
</includeonly>
</includeonly>

Version du 14 juin 2017 à 10:57

Ceci est le modèle « Infobox Service ». Il devrait être appelé selon le format suivant :

{{Infobox Service
|Logo=
|TypeService=
|StatutService=
|NomService=
|NomAlternatif=
|UrlService=
|Contact=
|Localisation=
|StructureAppartenance=
|Identifiant=
|IdentifiantAlternatif=
|PhaseCycleVie=
|CoordonneeGeographique=
}}

Modifiez la page pour voir le texte du modèle.