De Wiki-Brest
Modèle:Cadre Portail/Entête : Différence entre versions
Ligne 6 : | Ligne 6 : | ||
{{!}} style="height:3em; padding-left:3em;" {{!}} <span style="font-size:185%;">{{{titre}}}</span>{{#if:{{{sous-titre|}}}|<br/>{{{sous-titre}}}}} | {{!}} style="height:3em; padding-left:3em;" {{!}} <span style="font-size:185%;">{{{titre}}}</span>{{#if:{{{sous-titre|}}}|<br/>{{{sous-titre}}}}} | ||
}} | }} | ||
+ | {{#if:{{{contenu|}}}| | ||
{{!-}} | {{!-}} | ||
− | {{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} | + | {{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} {{{contenu}}} |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
|- | |- | ||
| <!-- ESPACE HORIZONTAL --> style="border:0px solid {{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|transparent}};" | | | <!-- ESPACE HORIZONTAL --> style="border:0px solid {{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|transparent}};" | | ||
|} | |} | ||
− | {| cellpadding="0" cellspacing="0" style="width:100%; margin:0px; padding:3px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};" | + | {|cellpadding="0" cellspacing="0" style="width:100%; margin:0px; padding:3px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};" |
− | | | + | |{{Onglet|{{{thème}}}|{{{couleur bordure|aaa}}}|{{{couleur fond|fff}}}|{{{discussion|Café}}}}} |
|} | |} | ||
{| cellspacing="0" cellpadding="0" style="width:100%; margin:0px; padding:0px 4px 4px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};" | {| cellspacing="0" cellpadding="0" style="width:100%; margin:0px; padding:0px 4px 4px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};" | ||
| <!-- ESPACE HORIZONTAL --> style="border:0px solid transparent;" | | | <!-- ESPACE HORIZONTAL --> style="border:0px solid transparent;" | | ||
|- | |- | ||
− | | style="background-repeat:no-repeat; background-position:-40px -15px; width:100%;background:#{{{couleur fond|fff}}}; vertical-align:top;{{#if:{{{couleur bordure|}}}|border:1px solid #{{{couleur bordure}}}; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;|}}" | | + | | style="background-repeat:no-repeat; background-position:-40px -15px; width:100%; background:#{{{couleur fond|fff}}}; vertical-align:top;{{#if:{{{couleur bordure|}}}|border:1px solid #{{{couleur bordure}}}; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;|}}" | |
{| style="width:100%; margin-bottom:2px; vertical-align:top; font-size:95%; background:transparent;" | {| style="width:100%; margin-bottom:2px; vertical-align:top; font-size:95%; background:transparent;" | ||
|- | |- | ||
| {{#switch:{{NAMESPACE}} | | {{#switch:{{NAMESPACE}} | ||
| Discussion catégorie | | Discussion catégorie | ||
− | | Discussion Portail | + | | Discussion Portail |
| Discussion modèle | | Discussion modèle | ||
| Discussion utilisateur | | Discussion utilisateur | ||
Ligne 34 : | Ligne 31 : | ||
| Discussion aide | | Discussion aide | ||
| Discussion Référence | | Discussion Référence | ||
− | | Discussion Projet | + | | Discussion Projet = {{Browsebar Discussion}} |
| Catégorie = {{Portail:{{{thème}}}/Browsebar}} | | Catégorie = {{Portail:{{{thème}}}/Browsebar}} | ||
| Wikipédia | | Wikipédia | ||
Ligne 42 : | Ligne 39 : | ||
| Référence | | Référence | ||
| Projet = {{Portail:{{{thème}}}/Browsebar}} | | Projet = {{Portail:{{{thème}}}/Browsebar}} | ||
+ | | Arborescence = {{Portail:{{{thème}}}/Browsebar}} | ||
| Portail | | Portail | ||
| #default = {{Portail:{{{thème}}}/Browsebar}} | | #default = {{Portail:{{{thème}}}/Browsebar}} | ||
− | }}<!-- | + | }}<!---->{{#if:{{{lien|}}} |<hr style="background:#{{{couleur bordure|aaa}}}; margin:5px 12% 5px 12%;"/>{{{lien}}} }} |
− | -->{{#if:{{{lien|}}} | | ||
− | |||
− | <hr style="background:#{{{couleur bordure|aaa}}}; margin:5px 12% 5px 12%;"/> | ||
− | |||
− | {{{lien | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
|}</includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Type_1]][[Category:Template]]</noinclude> | |}</includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Type_1]][[Category:Template]]</noinclude> |
Version du 13 septembre 2012 à 14:10
[edit] Utilisé pour la construction d'un portail, ce modèle permet de créer un entête de page, il est autonome et peut-être ajouter à chaque page du portail afin de permettre une navigation simple au sein du portail
Usage: {{Cadre Portail/Entête | thème = Accueil | contenu = <div> {{Portail:Accueil/Introduction}} </div> }} Produit:
|