« Modèle:Évènement » : différence entre les versions
De Wiki Campus Cyber
Aucun résumé des modifications |
Aucun résumé des modifications |
||
(13 versions intermédiaires par 3 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <noinclude> | ||
{{#template_params: | {{#template_params: | ||
</noinclude><includeonly>{| class=" | |Image (display=nonempty) | ||
! | |Organization (display=nonempty) | ||
| [[ | |Date (display=nonempty) | ||
|Contact (display=nonempty) | |||
}} | |||
</noinclude><includeonly> | |||
<div class="row"> | |||
<div class="col-12"> | |||
<p class="lead">{{#ifeq: {{USERLANGUAGECODE}}|en|{{{ShortDescription EN|}}}|{{{ShortDescription FR|}}}}}</p> | |||
<div class="text-center">__TOC__</div> | |||
<div class="pageHeader"> | |||
{| class="infobox infoboxEvenement" | |||
| style="text-align: center;" colspan="2" class="image" |{{#if: {{{Image|}}} | [[File:{{{Image|}}}]] }} | |||
|- | |||
{{#if: {{{Organization|}}}| {{!}}- | |||
! Organisation | |||
{{!}}{{{Organization|}}} }} | |||
|- | |||
{{#if: {{{Date|}}}| {{!}}- | |||
! Ouverture | |||
{{!}} [[Date::{{{Date|}}}]] }} | |||
|- | |||
| style="text-align: center;" colspan = 2 | '''Catégorie : [[:Catégorie:Évènement|Évènement]]''' | |||
|} | |} | ||
__TOC__</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|}} | |||
| Wording (display=nonempty) | |||
| Image (display=nonempty) | |||
| Organization (display=nonempty) | |||
| Date (display=nonempty) | |||
| Contact (display=nonempty) | |||
| Langue={{PAGELANGUAGE}} | |||
}} | |||
[[Catégorie:Évènement]] | [[Catégorie:Évènement]] | ||
</includeonly> | </includeonly> |
Dernière version du 9 janvier 2025 à 11:26
Ceci est le modèle « Évènement ».
Il devrait être appelé selon le format suivant :
{{Évènement |Image= |Organization= |Date= |Contact= }}
Modifiez la page pour voir le wikitexte du modèle.