« 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
 
(59 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">
|ImageStr (display=nonempty)
<div class="col-12 align-center">
|ShortDescription (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É -->
|Common (display=nonempty)
<div class="row">
|Event (display=nonempty)
<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: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><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: {{{ImageStr|}}}
| [[File:{{{ImageStr|}}}|alt=Groupe de travail {{{ShortName|}}}]] {{#set:ImageStr=[[File:{{{ImageStr|}}}|link=]] }}
| [[File:Placeholder.jpg|alt=Groupe de travail {{{ShortName|}}}]] {{#set:ImageStr=[[File:Placeholder.jpg|link=]] }} }}
|-
| 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|}}} | , | @@@ |[[Tag::@@@]] }} }}
|-
{{#if: {{{Coordinator|}}} | {{!}}-
! Coordinateur(s)
{{!}} {{#arraymap: {{{Coordinator|}}} | , | @@@ |[[Coordinator::@@@]] }} }}
|-
{{#if: {{{Contributor|}}} | {{!}}-
! Contributeur(s)
{{!}} {{#arraymap: {{{Contributor|}}} | , | @@@ |[[Contributor::@@@]] }} }}
|-
{{#if: {{{StartDate|}}}| {{!}}-
! Début
{{!}} [[StartDate::{{{StartDate|}}}]] }}
|-
{{#if: {{{EndDate|}}}| {{!}}-
! Fin
{{!}} [[EndDate::{{{EndDate|}}}]] }}
|-
{{#if: {{{Cycle|}}}| {{!}}-
! Cycle
{{!}}{{{Cycle|}}} }}
|-
{{#if: {{{Status|}}}| {{!}}-
! Statut
{{!}} [[Status::{{{Status|}}}]] }}
|-
| style="text-align: center;" colspan = 2 | '''Catégorie : [[:Catégorie:Groupe de travail|Groupe de travail]]'''
|}


__TOC__</div>
[[Catégorie:Groupe de travail]]
 
<div class="pageSubHeader">
{{#if: {{{UseCase|}}} | ==Cas d'usage==
<span style="display: none">{{#arraymap: {{{UseCase|}}} |,|@@@|<div class="UseCaseTable">{{#set: UseCase=@@@}}</div>}}</span>
{{#ask: [[-UseCase::{{PAGENAME}}]]|?Status|?ShortDescription}}
}}
 
{{#if: {{{Common|}}} | ==Communs==
<span style="display: none">{{#arraymap: {{{Common|}}}|,|@@@|<div class="CommonTable">{{#set: Common=@@@}}</div>}}</span>
{{#ask: [[-Common::{{PAGENAME}}]]|?ShortDescription|?Tag|?Contact|?Status}}
}}
 
 
==Ressource==
{{#ask: [[Category:Ressource]] [[-Ressource::{{PAGENAME}}]]|?Wording=Type|?Description=Description|?Organization|?Date|?Link=Documents liés|limit=500}}
 
{{#if: {{{Event|}}} | ==Évènement==
<span style="display: none">{{#arraymap: {{{Event|}}}|,|@@@|<div class="EventTable">{{#set: Event=@@@}}</div>}}</span>
{{#ask: [[-Event::{{PAGENAME}}]]|?ShortDescription|?Date}}
}}</div>


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

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