20 secondes suffisent pour créer un compte. Rejoins-nous ! Clin d’œil

Modèle

« Méta bandeau » : différence entre les versions

sur le Dico des Ados : ton dictionnaire collaboratif, libre et gratuit !

(Page créée avec « <includeonly><table class="bandeau plainlinks" style="width: 70%; margin: auto; margin-bottom: 10px; text-align: center; background-color: {{{couleur fond|transparent}}};... »)
 
(Tentative de doc assez sommaire.)
 
(8 versions intermédiaires par un autre utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly><table class="bandeau plainlinks" style="width: 70%; margin: auto; margin-bottom: 10px; text-align: center; background-color: {{{couleur fond|transparent}}}; border: 1px solid {{{couleur bordure|transparent}}}; border-right-width: 2px; border-bottom-width: 2px;{{{style|}}}">
<includeonly><div class="bandeau plainlinks" style="width: 75%; background-color: #F9FCFF; border: 3px solid #8EB4E6; padding: 10px; margin:0 auto 8px;{{{style|}}}">
<tr>
{{#if:{{{titre|}}}|
<div style="text-align: center; font-weight:bold; padding: 0.3em 0; background-color: #8EB4E6; color:#34495e; font-size:150%;{{{style titre|}}}">'''{{{titre}}}''' {{#if:{{{date|}}}|<span style="font-size: 80%;">({{{date}}})</span>}}</div>
}}
<table style="margin:0;"><tr>
{{#if:{{{icône|}}}|
{{#if:{{{icône|}}}|
<td style="width: 10%;">
<td style="width: 100px;">
<div>[[Image:{{{icône}}}|{{{taille icône|50}}}px|{{{légende icône|}}}|link=]]</div>
<div>[[Image:{{{icône}}}|{{{taille icône|50}}}px|{{{légende icône|}}}|link=]]</div>
{{#if:{{{sous icône|}}}|
{{#if:{{{sous icône|}}}|
Ligne 9 : Ligne 12 :
</td>
</td>
}}
}}
<td>
<td style="padding: 20px;">
{{#if:{{{titre|}}}|
<div style="{{{style titre|}}}">'''{{{titre}}}''' {{#if:{{{date|}}}|<span style="font-size: 80%;">({{{date}}})</span>}}</div>
}}
{{#if:{{{texte|}}}|
{{#if:{{{texte|}}}|
<div style="{{{style texte|}}}">{{{texte}}}</div>
<div style="text-align: center; {{{style texte|}}}">{{{texte}}}</div>
}}
}}
</td>
</td>
Ligne 22 : Ligne 22 :
</td>
</td>
}}
}}
</tr>
</tr></table>
</table></includeonly>
</div></includeonly><noinclude>Ce modèle sert à créer un bandeau grâce à du wikitexte, il permet de les harmoniser, il est donc à la base de touts les bandeaux présent sur Dicoado.
 
 
[[Catégorie:Modèle bandeau]]</noinclude>

Dernière version du 23 mars 2019 à 20:06

Ce modèle sert à créer un bandeau grâce à du wikitexte, il permet de les harmoniser, il est donc à la base de touts les bandeaux présent sur Dicoado.