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

De Wiki Campus Cyber
Aller à :navigation, rechercher
(liens)
Aucun résumé des modifications
 
(234 versions intermédiaires par 5 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<noinclude>
<includeonly>
{{#template_params:
<!-- BANDEAU IMAGE AU CENTRE -->
|Name (display=nonempty)
<div class="row">
|Image (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|}}}
|Contributor (display=nonempty)
| [[File:{{{ImageStr|}}}|class=img-fluid|link=|alt=]]
|Deliverables (display=nonempty)
| [[File:Placeholder.jpg|class=img-fluid|link=|alt=]]
|Governance (display=nonempty)
|BusinessModel (display=nonempty)
|Funding (display=nonempty)
|UseCase (display=nonempty)
|Users (display=nonempty)
|Ressources (display=nonempty)
|Projects (display=nonempty)
|Contact (display=nonempty)
|Status (display=nonempty)
}}
}}
</noinclude><includeonly>{{DISPLAYTITLE:Commun : {{PAGENAME}}}}<div class="pageHeader">
</div>  
{| class="infobox infoboxCommun"
</div>  
! style="text-align: center;" colspan="2" class="title" |[[Name::{{{Name|}}}]]
</div>  
|-
<!-- BANDEAU CORPS DE LA PAGE - UNE COLONNE, TOUT CENTRÉ -->
| style="text-align: center;" colspan="2" class="image" |{{#if: {{{Image|}}} | [[File:{{{Image|}}}|300px]] | }}
<div class="row">
|-
<div class="col-12">
| style="text-align: center;" colspan="2" class="modifier" | ''[[Special:FormEdit/Commun/{{PAGENAMEE}}|Modifier cette InfoBox]]''
<p class="lead">{{#ifeq: {{USERLANGUAGECODE}}|en|{{{ShortDescription EN|}}}|{{{ShortDescription FR|}}}}}</p>
|-
<div class="text-center">__TOC__</div>
!  colspan="2" class="shortDescription" | [[ShortDescription::{{{ShortDescription|}}}]]
|-
{{#if: {{{Tag|}}} | {{!}}-
! Tag(s)
{{!}} {{#arraymap: {{{Tag|}}} | , | @@@ |[[Tag::@@@]] }} }}
|-
{{#if: {{{Contributor|}}} | {{!}}-
! Contributeur(s)
{{!}} {{#arraymap: {{{Contributor|}}} | , }} }}
|-
{{#if: {{{Deliverable|}}} | {{!}}-
! Livrable
{{!}} [{{{Deliverable|}}} Lien de téléchargement] }}
|-
{{#if: {{{Governance|}}}| {{!}}-
! Gouvernance
{{!}} {{{Governance|}}} }}
|-
{{#if: {{{BusinessModel|}}}| {{!}}-
! Modèle d’affaire
{{!}} {{{BusinessModel|}}} }}
|-
{{#if: {{{Funding|}}} | {{!}}-
! Financement(s)
{{!}} {{#arraymap: {{{Funding|}}} | , }} }}
|-
{{#if: {{{UseCase|}}} | {{!}}-
! Cas d'usage(s)
{{!}} {{#arraymap: [[{{{UseCase|}}}]] | , }} }}
|-
{{#if: {{{Users|}}} | {{!}}-
! Utilisateur(s)
{{!}} {{#arraymap: {{{Users|}}} | , }} }}
|-
{{#if: {{{Ressources|}}} | {{!}}-
! Ressources
{{!}} {{#arraymap: {{{Ressources|}}} | , }} }}
|-
{{#if: {{{Projects|}}} | {{!}}-
! Projets(s)
{{!}} {{#arraymap: {{{Projects|}}} | , }} }}
|-
{{#if: {{{Contact|}}} | {{!}}-
! Contact(s)
{{!}} {{#arraymap: [[{{{Contact|}}}]] | , | @@@ |[[Contact::@@@]] }} }}
|-
{{#if: {{{Status|}}}| {{!}}-
! Statut
{{!}} [[Status::{{{Status|}}}]] }}
|}
 
__TOC__</div>


<span class="py-1 px-2 mr-2 bg-light rounded">{{int:Catégorie}} <strong>{{int:cc-cat-commun}}</strong></span>
{{#if: {{{Status|}}}|<span class="py-1 px-2 mr-2 bg-light rounded">{{int:cc-status}} <strong>{{int:cc-com-{{lc:{{{Status}}}}}}}</strong> {{#info: {{int:cc-info-status}} }}</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: {{{Contributor|}}} |<br/>{{int:Contributeurs}} {{#arraymap: {{{Contributor|}}} |,|@| [[@]]|,/s}}|}}
{{#if: {{{Users|}}} |<br/>{{int:Utilisateurs}} {{#arraymap: {{{Users|}}} |,|@| [[@]]|,/s}}|}}{{#ifeq: {{USERLANGUAGECODE}}|fr|
{{#if: {{{Governance FR|}}}|
====Gouvernance====
{{{Governance FR}}}|}}
{{#if: {{{BusinessModel FR|}}}|
====Modèle d'affaires====
{{{BusinessModel FR}}} |}}
|}}{{#ifeq: {{USERLANGUAGECODE}}|en|{{#if: {{{Governance EN|}}}|
====Governance====
{{{Governance EN}}}|}}
{{#if: {{{BusinessModel EN|}}}|
====Business Model====
{{{BusinessModel EN}}} |}}
|}}{{#ask: [[LivrableStr::+]] [[Common::{{PAGENAME}}]][[Langue::{{USERLANGUAGECODE}}]]
|?LivrableStr=
|mainlabel=-
|intro=<h4>{{int:Documents disponibles au téléchargement}}</h4>
}}{{#if: {{{Link|}}} |{{int:Télécharger le fichier}} {{{Link|}}}|}}
</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}}}|}}
| Campus={{#if: {{{Campus|}}}|{{{Campus}}}|}}
| Tag={{{Tag|}}}|+sep=,
| Contributor={{{Contributor|}}}|+sep=,
| User={{{Users|}}}|+sep=,
| Governance={{#if:{{{Governance FR|}}}|{{{Governance FR}}}@fr|}}
| Governance={{#if:{{{Governance EN|}}}|{{{{Governance EN}}}@en|}}
| BusinessModel={{#if:{{{BusinessModel FR|}}}|{{{{BusinessModel FR}}}@fr|}}
| BusinessModel={{#if:{{{BusinessModel EN|}}}|{{{{BusinessModel EN}}}@en|}}
| Langue={{PAGELANGUAGE}}
}}
[[Catégorie:Commun]]
[[Catégorie:Commun]]
</includeonly>
</includeonly>

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