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: | + | <div style="min-height: 80px; padding: 1rem 0; padding-bottom: 1rem; position: relative;"> |
− | [[Image:{{{panorama}}}|800px| | + | [[Image:{{{panorama}}}|800px|left|alt={{{légende panorama|}}}|link=]] |
− | <div style="position: | + | <div style="position: absolute; top: 30px; left: 180px; background: rgba(255, 255, 255, 0.3); padding:3px;"><h2 style="margin: 0; |
padding: 0; | padding: 0; | ||
border: none; | border: none; | ||
Ligne 15 : | Ligne 15 : | ||
font-weight: bold; | font-weight: bold; | ||
color: #1d3443; | color: #1d3443; | ||
− | font-family: 'Open Sans',Sans-serif;">{{{titre|{{FULLPAGENAME}}}}}</h2></div> | + | font-family: 'Open Sans',Sans-serif; |
+ | min-height: 1em;">{{{titre|{{FULLPAGENAME}}}}}</h2></div> | ||
</div> | </div> | ||
|<div style="min-height: 80px; padding: 1rem 0; padding-bottom: 1rem"> | |<div style="min-height: 80px; padding: 1rem 0; padding-bottom: 1rem"> |
Version du 18 juillet 2017 à 23:18
[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. }} |