« Modèle:Groupe de travail » : différence entre les versions

De Wiki Campus Cyber
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
 
(116 versions intermédiaires par 4 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<noinclude>
<includeonly>
{{#template_params:
<!-- BANDEAU IMAGE AU CENTRE -->
|Name (display=nonempty)
<div class="row">
|ShortDescription (display=nonempty)
<div class="col-12 align-center">
|Image (display=nonempty)
<div class="col-4 offset-4 mt-1 mb-2">
|Tag (display=nonempty)
{{#if: {{{ImageStr|}}}
|Coordinator (display=nonempty)
| [[File:{{{ImageStr|}}}|class=img-fluid|link=|alt=]]
|Contributor (display=nonempty)
| [[File:Placeholder.jpg|class=img-fluid|link=|alt=]]
|UseCase (display=nonempty)
}}
|StartDate (display=nonempty)
</div>
|EndDate (display=nonempty)
</div>
|Cycle (display=nonempty)
</div>
|Status (display=nonempty)
<!-- BANDEAU CORPS DE LA PAGE - UNE COLONNE, TOUT CENTRÉ -->
|CommunityOfInterest (display=nonempty)
<div class="row">
|Common (display=nonempty)
<div class="col-12">
|Event (display=nonempty)
<p class="lead">{{#ifeq: {{USERLANGUAGECODE}}|en|{{{ShortDescription EN|}}}|{{{ShortDescription FR|}}}}}</p>
|Ressources (display=nonempty)
<div class="text-center">__TOC__</div>
<span class="py-1 px-2 mr-2 bg-light rounded">{{int:Catégorie}} <strong>{{int:Groupe de travail}}</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: {{{Tag|}}} |<span class="py-1 px-2 mr-2 bg-light rounded">{{int:cc-tag}} <strong>{{#arraymap: {{{Tag|}}} |,|@|[[{{ucfirst:@}}]]|,\s}} </strong></span>|}}
{{#if: {{{Coordinator|}}} |<br/>{{int:Coordinateurs}} {{#arraymap: {{{Coordinator}}} |, |@| [[@]] |,\s}}|}}
{{#if: {{{Contributor|}}} |<br/>{{int:Contributeurs}} {{#arraymap: {{{Contributor}}} |,|@| [[@]]|,/s}}|}}
{{#if: {{{Campus|}}} |<br />{{int:Porté par}} {{#arraymap: {{{Campus}}} | , | @ |[[@]]|,/s}}|}}
{{#if: {{{StartDate|}}}|<br /><span class="pr-5">{{int:Date de début}} <strong>{{{StartDate}}}</strong></span> 
{{#if: {{{EndDate|}}}|<span class="pr-5">{{int:Date de fin}} <strong>{{{EndDate}}}</strong></span>|}}|}}
</div>
</div>
<!----- INSTANCIATION  SÉMANTIQUE ----->
{{#set:
| ImageStr={{#if: {{{ImageStr|}}}|{{{ImageStr|}}}|Placeholder.jpg}}
| ShortDescription={{#if:{{{ShortDescription FR|}}}|{{{ShortDescription FR}}}@fr|}}
| ShortDescription={{#if:{{{ShortDescription EN|}}}|{{{ShortDescription EN}}}@en|}}
| Status={{#if: {{{Status|}}}|{{{Status}}}|}}
| Cycle={{{Cycle|}}}
| Tag={{{Tag|}}}|+sep=,
| Contributor={{{Contributor|}}}|+sep=,
| Coordinator={{{Coordinator|}}} |+sep=,
| Campus={{{Campus|}}}|+sep=,
| Langue={{PAGELANGUAGE}}
| Start Date={{{StartDate|}}}
| End Date={{{EndDate|}}}
}}
}}
</noinclude><includeonly>{{DISPLAYTITLE:Groupe de travail : {{PAGENAME}}}}<div class="pageHeader">
{| class="infobox infoboxGroupeDeTravail"
! style="text-align: center;" colspan="2" class="title" |[[Name::{{{Name|}}}]]
|-
| style="text-align: center;" colspan="2" class="image" |{{#if: {{{Image|}}} | [[File:{{{Image|}}}]] | }}
|-
| style="text-align: center;" colspan="2" class="modifier" | ''[[Special:FormEdit/Groupe de travail/{{PAGENAMEE}}|Modifier cette InfoBox]]''
|-
!  colspan="2" class="shortDescription" | [[ShortDescription::{{{ShortDescription|}}}]]
|-
{{#if: {{{Tag|}}} | {{!}}-
! Tag(s)
{{!}} {{#arraymap: {{{Tag|}}} | , }} }}
|-
{{#if: {{{Coordinator|}}} | {{!}}-
! Coordinateur(s)
{{!}} {{#arraymap: {{{Coordinator|}}} | , }} }}
|-
{{#if: {{{Contributor|}}} | {{!}}-
! Contributeur(s)
{{!}} {{#arraymap: {{{Contributor|}}} | , }} }}
|-
{{#if: {{{StartDate|}}}| {{!}}-
! Début
{{!}} [[StartDate::{{{StartDate|}}}]] }}
|-
{{#if: {{{EndDate|}}}| {{!}}-
! Fin
{{!}} [[EndDate::{{{EndDate|}}}]] }}
|-
{{#if: {{{Cycle|}}}| {{!}}-
! Cycle
{{!}}{{{Cycle|}}} }}
|-
{{#if: {{{Status|}}}| {{!}}-
! Statut
{{!}} [[Status::{{{Status|}}}]] }}
|}


__TOC__</div>
[[Catégorie:Groupe de travail]]
 
<div class="pageSubHeader">
{{#if: {{{CommunityOfInterest|}}}| ==Communauté d’intérêt==
{{#arraymap: [[{{{CommunityOfInterest|}}}]] | , }} }}
{{#if: {{{UseCase|}}} | ==Cas d'usage(s)==
{{#arraymap: [[{{{UseCase|}}}]] | , }} }}
{{#if: {{{Common|}}} | ==Communs==
{{#arraymap: {{{Common|}}} | , | @@@ |[[Common::@@@]] }} }}
{{#if: {{{Event|}}} | ==Evènements==
{{#arraymap: [[{{{Event|}}}]] | , }} }}
{{#if: {{{Ressource|}}} | ==Ressources==
{{#arraymap: {{{Ressource|}}} | , }} }}</div>


[[Catégorie:Groupe de travail]]
</includeonly>
</includeonly>

Dernière version du 22 mai 2024 à 13:20