De Wiki-Brest
Modèle:Bandeau portail : Différence entre versions
Ligne 7 : | Ligne 7 : | ||
border: solid 1px white;"> | border: solid 1px white;"> | ||
{{#if:{{{panorama|}}}| | {{#if:{{{panorama|}}}| | ||
− | <div style="min-height: 80px; padding: 1rem 0; padding-bottom: 1rem; position: relative;"> | + | <div class="portail-gauche" style="width: 80%; min-height: 80px; padding: 1rem 0; padding-bottom: 1rem; position: relative;"> |
[[Image:{{{panorama}}}|800px|left|alt={{{légende panorama|}}}|link=]] | [[Image:{{{panorama}}}|800px|left|alt={{{légende panorama|}}}|link=]] | ||
<div style="position: absolute; top: 32px; left: 32px; background: rgba(255, 255, 255, 0.3); padding:3px;"><h2 style="margin: 0; | <div style="position: absolute; top: 32px; left: 32px; background: rgba(255, 255, 255, 0.3); padding:3px;"><h2 style="margin: 0; | ||
Ligne 18 : | Ligne 18 : | ||
min-height: 1em;">{{{titre|{{FULLPAGENAME}}}}}</h2></div> | min-height: 1em;">{{{titre|{{FULLPAGENAME}}}}}</h2></div> | ||
</div> | </div> | ||
+ | <div class="portail-droite" style="width: 20%; padding-top: 1rem;">{{{description|}}}</div> | ||
+ | <div style="clear:both"></div> | ||
|<div style="min-height: 80px; padding: 1rem 0; padding-bottom: 1rem"> | |<div style="min-height: 80px; padding: 1rem 0; padding-bottom: 1rem"> | ||
<div style="margin: 0 1rem 0 1rem; bottom: 0; left: 0;"> | <div style="margin: 0 1rem 0 1rem; bottom: 0; left: 0;"> |
Version du 18 juillet 2017 à 23:22
[edit] UtilisationCe modèle sert à créer des entêtes de portail. Paramètres
Exemple{{Bandeau portail |titre=La Première guerre mondiale à Brest |image=Cuirassé Danton.jpg |légende image = ''Le Cuirassé Danton'' |sous-titre=A l'occasion du 100<sup>e</sup> anniversaire de la Grande Guerre |description=Il y a actuellement {{nombre d'articles|titre=Première guerre mondiale}} articles liés à ce portail. }} |