« Modèle:Blogpost » : différence entre les versions
De Wiki Campus Cyber
(Page créée avec « <noinclude> {{#template_params: |Name (display=nonempty) |ImageStr (display=nonempty) |ShortDescription (display=nonempty) |Users (display=nonempty) |Project (display=nonempty) |WorkGroup (display=nonempty) }} </noinclude><includeonly> <div class="pageHeader"> {| class="infobox infoboxCommun" ! style="text-align: center;" colspan="2" class="title" | {{PAGENAME}} |- | style="text-align: center;" colspan="2" class="image" | {{#if: {{{ImageStr|}}} | File:{{{ImageS... ») |
Aucun résumé des modifications |
||
(16 versions intermédiaires par 4 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<noinclude> | <includeonly> | ||
<!-- BANDEAU IMAGE AU CENTRE --> | |||
<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=]] | |||
| [[File:Placeholder.jpg|class=img-fluid|link=|alt=]] | |||
}} | |||
</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 tocrecap">__TOC__</div> | |||
<span class="py-1 px-2 mr-2 bg-light rounded">{{int:Catégorie}} <strong>{{int:Blogpost}}</strong></span> | |||
{{#if: {{{Date}}}|{{int:Date de publication :}} [[Date::{{{Date|}}}]] }} | |||
{{#if: {{{Tag|}}} |<span class="py-1 px-2 mr-2 bg-light rounded">{{int:cc-tag}} <strong> {{#arraymap: {{{Tag|}}} |,|@|[[{{ucfirst:@}}]]|,\s}} </strong></span>}} | |||
</div> | |||
</div> | |||
<!----- INSTANCIATION SÉMANTIQUE -----> | |||
{{#set: | |||
| Name (display=nonempty) | |||
| ImageStr={{#if: {{{ImageStr|}}}|{{{ImageStr|}}}|Placeholder.jpg}} | |||
| ShortDescription (display=nonempty) | |||
| Users (display=nonempty) | |||
| Project (display=nonempty) | |||
| WorkGroup (display=nonempty) | |||
| Langue={{PAGELANGUAGE}} | |||
}} | |||
[[Catégorie:Blogpost]] | |||
</includeonly> | |||
<!-- <noinclude> | |||
{{#template_params: | {{#template_params: | ||
|Name (display=nonempty) | |Name (display=nonempty) | ||
Ligne 7 : | Ligne 43 : | ||
|Project (display=nonempty) | |Project (display=nonempty) | ||
|WorkGroup (display=nonempty) | |WorkGroup (display=nonempty) | ||
|Langue={{PAGELANGUAGE}} | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Ligne 13 : | Ligne 50 : | ||
! style="text-align: center;" colspan="2" class="title" | {{PAGENAME}} | ! style="text-align: center;" colspan="2" class="title" | {{PAGENAME}} | ||
|- | |- | ||
| style="text-align: center;" colspan="2" class="image" | {{#if: {{{ImageStr|}}} | | style="text-align: center;" colspan="2" class="image" | | ||
| [[File:{{{ImageStr | {{#if: {{{ImageStr|}}} | ||
| [[File:Placeholder.jpg|alt=article {{{ShortName | |[[File:{{{ImageStr}}}|alt=article {{{ShortName}}}]] {{#set: ImageStr={{{ImageStr}}} }} | ||
|[[File:Placeholder.jpg|alt=article {{{ShortName}}}]] {{#set: ImageStr=Placeholder.jpg}} }} | |||
|- | |- | ||
! colspan="2" class="shortDescription" | [[ShortDescription::{{{ShortDescription|}}}]] | ! colspan="2" class="shortDescription" | [[ShortDescription::{{{ShortDescription|}}}]] | ||
Ligne 26 : | Ligne 64 : | ||
! Date | ! Date | ||
{{!}} [[Date::{{{Date|}}}]] }} | {{!}} [[Date::{{{Date|}}}]] }} | ||
|- | |||
{{#if: {{{Tags|}}} | {{!}}- | |||
! Tags | |||
{{!}} [[Tags::{{{Tags|}}}]] }} | |||
|- | |- | ||
|} | |} | ||
Ligne 33 : | Ligne 75 : | ||
[[Catégorie:Blogpost]] | [[Catégorie:Blogpost]] | ||
</includeonly> | </includeonly> | ||
--> |
Dernière version du 30 mai 2024 à 16:12