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

De Wiki Campus Cyber
Aller à :navigation, rechercher
(Page créée avec « <noinclude> {{#template_params: |Name (display=nonempty) |ShortDescription (display=nonempty) |Image (display=nonempty) |Website (display=nonempty) |Contact (display=nonempty) |WorkGroup (display=nonempty) |Region (display=nonempty) }} </noinclude><includeonly><div class="pageHeader"> {| class="infobox infoboxActeur" | style="text-align: center;" colspan="2" class="image" | {{#if: {{{Image|}}} | [[File:{{{Image|}}}|alt=Logo {{{ShortName|}}}]] }} |- ! colspan="2... »)
 
Aucun résumé des modifications
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<noinclude>
<includeonly><div class="pageHeader">
{{#template_params:  
<div class="row">
<div class="col-12 align-center">
<div class="col-4 offset-4 mt-1 mb-2">
{{#if: {{{Image|}}}
| [[File:{{{Image|}}}|class=img-fluid|link=|alt="" {{{ShortName|}}}]]
| [[File:Placeholder.jpg|class=img-fluid|link=|alt="" {{{ShortName|}}}]]
}}
</div>
</div>
</div>
<!-- BANDEAU CORPS DE LA PAGE - UNE COLONNE, TOUT CENTRÉ -->
<div class="row">
<div class="col-12">
<p class="lead">{{#ifeq: {{USERLANGUAGECODE}}|en|{{{ShortDescription EN|}}}|{{{ShortDescription FR|}}}}}</p>
<div class="text-center">__TOC__</div>
<span class="py-1 px-2 mr-2 bg-light rounded">{{int:Catégorie}} <strong>{{int:CCT}}</strong></span>
{{#if: {{{Cycle|}}}|<span class="py-1 px-2 mr-2 bg-light rounded">{{int:Cycle}} <strong>{{{Cycle}}}</strong></span>|}}
{{#if: {{{Status|}}}|<span class="py-1 px-2 mr-2 bg-light rounded">{{int:cc-status}} <strong>{{int:cc-gt-{{{Status}}}}}</strong></span>|}}
{{#if: {{{Website|}}} |<br/>{{int:Website}} {{#arraymap: {{{Website}}} |,|@|@|,/s}}|}}
{{#if: {{{Contributor|}}} |<br/>{{int:Contributeurs}} {{#arraymap: {{{Contributor}}} |,|@| [[@]]|,/s}}|}}
{{#if: {{{Contact|}}} |<br />{{int:Contact}} {{#arraymap: {{{Contact}}} | , | @ |[[@]]|,/s}}|}}
{{#if: {{{Région|}}} |<br />{{int:Region}} {{#arraymap: {{{Region}}} | , | @ |[[@]]|,/s}}|}}
</div>
</div>
 
<!----- INSTANCIATION  SÉMANTIQUE ----->
{{#set:  
|Name (display=nonempty)
|Name (display=nonempty)
|ShortDescription (display=nonempty)
|ShortDescription={{#if:{{{ShortDescription FR|}}}|{{{ShortDescription FR}}}@fr|}}
|ShortDescription={{#if:{{{ShortDescription EN|}}}|{{{ShortDescription EN}}}@en|}}
|Image (display=nonempty)
|Image (display=nonempty)
|Website (display=nonempty)
|Website (display=nonempty)
Ligne 9 : Ligne 36 :
|Region (display=nonempty)
|Region (display=nonempty)
}}
}}
</noinclude><includeonly><div class="pageHeader">
{| class="infobox infoboxActeur"
| style="text-align: center;" colspan="2" class="image" | {{#if: {{{Image|}}} | [[File:{{{Image|}}}|alt=Logo {{{ShortName|}}}]] }}
|-
!  colspan="2" class="shortDescription" | [[ShortDescription::{{{ShortDescription|}}}]]
|-
{{#if: {{{Website|}}}| {{!}}-
! Site web
{{!}}{{{Website|}}} }}
|-
{{#if: {{{Contact|}}}| {{!}}-
! Contact
{{!}} [[{{{Contact|}}}|{{{Contact|}}}]] }}
|-
{{#if: {{{Region|}}}| {{!}}-
! Region
{{!}} [[{{{Region|}}}|{{{Region|}}}]] }}
|-
| style="text-align: center;" colspan = 2 | '''Catégorie : [[:Catégorie:Campus|Campus]]'''
|}
<span style="display: none">{{#arraymap: {{{WorkGroup|}}}|,|@@@|<div class="CommonTable">{{#set: WorkGroup=@@@}}</div>}}</span>
{{#ask: [[Category:WorkGroup]] [[Campus:::{{PAGENAME}}]]|?ShortDescription=Description|?Status|intro=<h2>Groupes de travail</h2>}}
</div>
[[Catégorie:Campus]]
[[Catégorie:Campus]]
</includeonly>
</includeonly>

Dernière version du 15 octobre 2024 à 15:03