« Modèle:Groupe de travail » : différence entre les versions
De Wiki Campus Cyber
(add ShortDescription) |
Aucun résumé des modifications |
||
(87 versions intermédiaires par 4 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
< | <includeonly> | ||
{{# | <!-- BANDEAU IMAGE AU CENTRE --> | ||
| | <div class="row"> | ||
| | <div class="col-12 align-center"> | ||
|ShortDescription | <div class="col-4 offset-4 mt-1 mb-2"> | ||
|Tag | {{#if: {{{ImageStr|}}} | ||
|Coordinator | | [[File:{{{ImageStr|}}}|class=img-fluid|link=|alt=]] | ||
| | | [[File:Placeholder.jpg|class=img-fluid|link=|alt=]] | ||
| | }} | ||
| | </div> | ||
| | </div> | ||
|Cycle | </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: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|}}} | |||
}} | }} | ||
[[Catégorie:Groupe de travail]] | |||
</includeonly> | </includeonly> |