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

De Wiki Campus Cyber
Aller à :navigation, rechercher
(Page créée avec « <noinclude> {{#template_params: |Name (display=nonempty) |ShortDescription (display=nonempty) |Image (display=nonempty) |Website (display=nonempty) |Contact (display=nonempty) |WorkGroup (display=nonempty) |Region (display=nonempty) }} </noinclude><includeonly><div class="pageHeader"> {| class="infobox infoboxActeur" | style="text-align: center;" colspan="2" class="image" | {{#if: {{{Image|}}} | [[File:{{{Image|}}}|alt=Logo {{{ShortName|}}}]] }} |- ! colspan="2... »)
 
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
<noinclude>
<includeonly><div class="pageHeader">
{{#template_params:
|Name (display=nonempty)
|ShortDescription (display=nonempty)
|Image (display=nonempty)
|Website (display=nonempty)
|Contact (display=nonempty)
|WorkGroup (display=nonempty)
|Region (display=nonempty)
}}
</noinclude><includeonly><div class="pageHeader">
{| class="infobox infoboxActeur"
{| class="infobox infoboxActeur"
| style="text-align: center;" colspan="2" class="image" | {{#if: {{{Image|}}} | [[File:{{{Image|}}}|alt=Logo {{{ShortName|}}}]] }}
| style="text-align: center;" colspan="2" class="image" | {{#if: {{{Image|}}} | [[File:{{{Image|}}}|alt=Logo {{{ShortName|}}}]] }}
Ligne 34 : Ligne 24 :
</div>
</div>


<div class="row">
<div class="col-12 align-center">
<div class="col-4 offset-4 mt-1 mb-2">
{{#if: {{{ImageStr|}}}
| [[File:{{{ImageStr|}}}|class=img-fluid|link=|alt="" {{{ShortName|}}}]]
| [[File:Placeholder.jpg|class=img-fluid|link=|alt="" {{{ShortName|}}}]]
}}
</div>
</div>
</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:CCT}}</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: {{{Website|}}} |<br/>{{int:Website}} {{#arraymap: {{{Website}}} |,|@| [[@]]|,/s}}|}}
{{#if: {{{Contributor|}}} |<br/>{{int:Contributeurs}} {{#arraymap: {{{Contributor}}} |,|@| [[@]]|,/s}}|}}
{{#if: {{{Contact|}}} |<br />{{int:Contact}} {{#arraymap: {{{Contact}}} | , | @ |[[@]]|,/s}}|}}
{{#if: {{{Région|}}} |<br />{{int:Region}} {{#arraymap: {{{Region}}} | , | @ |[[@]]|,/s}}|}}
</div>
</div>
<!----- INSTANCIATION  SÉMANTIQUE ----->
{{#set:
|Name (display=nonempty)
|ShortDescription (display=nonempty)
|Image (display=nonempty)
|Website (display=nonempty)
|Contact (display=nonempty)
|WorkGroup (display=nonempty)
|Region (display=nonempty)
}}




[[Catégorie:Campus]]
[[Catégorie:Campus]]
</includeonly>
</includeonly>

Version du 20 février 2024 à 14:31