« 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
 
(15 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 5 : Ligne 5 :
<div class="col-4 offset-4 mt-1 mb-2">
<div class="col-4 offset-4 mt-1 mb-2">
{{#if: {{{ImageStr|}}}
{{#if: {{{ImageStr|}}}
| [[File:{{{ImageStr|}}}|class=img-fluid|link=|alt=Groupe de travail {{{ShortName|}}}]]
| [[File:{{{ImageStr|}}}|class=img-fluid|link=|alt=]]
| [[File:Placeholder.jpg|class=img-fluid|link=|alt=Groupe de travail {{{ShortName|}}}]]  
| [[File:Placeholder.jpg|class=img-fluid|link=|alt=]]  
}}
}}
</div>  
</div>  
Ligne 16 : Ligne 16 :
<p class="lead">{{#ifeq: {{USERLANGUAGECODE}}|en|{{{ShortDescription EN|}}}|{{{ShortDescription FR|}}}}}</p>
<p class="lead">{{#ifeq: {{USERLANGUAGECODE}}|en|{{{ShortDescription EN|}}}|{{{ShortDescription FR|}}}}}</p>
<div class="text-center">__TOC__</div>
<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>
<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>|}}|}}
{{#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>
</div>
</div>
Ligne 25 : Ligne 32 :
| ShortDescription={{#if:{{{ShortDescription FR|}}}|{{{ShortDescription FR}}}@fr|}}
| ShortDescription={{#if:{{{ShortDescription FR|}}}|{{{ShortDescription FR}}}@fr|}}
| ShortDescription={{#if:{{{ShortDescription EN|}}}|{{{ShortDescription EN}}}@en|}}
| ShortDescription={{#if:{{{ShortDescription EN|}}}|{{{ShortDescription EN}}}@en|}}
| Status={{{Status|}}}
| Status={{#if: {{{Status|}}}|{{{Status}}}|}}
| Cycle={{{Cycle|}}}
| Cycle={{{Cycle|}}}
| Contributor={{#arraymap: {{{Contributor|}}} | , |@|@|,}}
| Tag={{{Tag|}}}|+sep=,
| Coordinator={{#arraymap: {{{Coordinator|}}} | , |@|@|,}}
| Contributor={{{Contributor|}}}|+sep=,
| Campus={{#arraymap: {{{Campus|}}} | , |@|@|,}}
| Coordinator={{{Coordinator|}}} |+sep=,
| Campus={{{Campus|}}}|+sep=,
| Langue={{PAGELANGUAGE}}
| Langue={{PAGELANGUAGE}}
| Start Date={{{StartDate|}}}
| Start Date={{{StartDate|}}}
| End Date={{{EndDate|}}}
| End Date={{{EndDate|}}}
}}
}}
<!-- SET AVEC ARRAYMAP NE FONCTIONNE PAS !!! -->
 
<div style="display:none">{{#arraymap: {{{Tag|}}}|,|@|[[Tag::@]]|}}</div>
[[Catégorie:Groupe de travail]]
[[Catégorie:Groupe de travail]]
</includeonly>
</includeonly>

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