Domaines
Communes
Quartiers de Brest
Espaces de noms

Variantes
Actions
De Wiki-Brest

Modèle:Cadre Portail/Entête : Différence entre versions

 
(33 révisions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>{| style="width:100%; margin-bottom:0px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
+
<includeonly>{| cellspacing="0" cellpadding="0" style="width:100%; margin-bottom:0px; padding:4px 4px 0px 4px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
| style="background-color:#{{{couleur fond|fff}}}; background-repeat:no-repeat; background-position:-40px -15px; width:100%; border:1px solid #{{{couleur bordure|aaa}}}; vertical-align:top; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;" |
+
| style="background-color:#{{{couleur fond|fff}}}; background-repeat:no-repeat; background-position:-40px -15px; width:100%; {{#if:{{{couleur bordure|}}}|border:1px solid #{{{couleur bordure}}}; vertical-align:top; -moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;|}}" |
 
{| style="width:100%; vertical-align:top; font-size:95%; background:transparent; "
 
{| style="width:100%; vertical-align:top; font-size:95%; background:transparent; "
 
{{#if:{{{titre|}}}|
 
{{#if:{{{titre|}}}|
Ligne 14 : Ligne 14 :
 
| <!-- ESPACE HORIZONTAL -->  style="border:0px solid {{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|transparent}};" |
 
| <!-- ESPACE HORIZONTAL -->  style="border:0px solid {{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|transparent}};" |
 
|}
 
|}
<div class="degrade" style="border:1px solid #{{{couleur bordure|aaa}}}; background-color:#{{{couleur fond|fff}}}; -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius:10px; margin-bottom:3px"><table width="100%" cellspacing="0" cellpadding="0" valign="top" border="0" style="background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"><tr>{{Cadre Portail/Onglet|{{{thème}}}|{{{couleur bordure|aaa}}}|{{{discussion|Café}}}}}</tr></table></div>
+
{| 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-bottom:3px; background:{{#if:{{{background|}}}|<nowiki>#</nowiki>{{{background}}}|none}};"
+
|{{OngletUser|{{{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}};"
 
| <!-- 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%; border:1px solid #{{{couleur bordure|aaa}}}; background:#{{{couleur fond|fff}}}; vertical-align:top; -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;"
 
|-
 
|-
Ligne 66 : Ligne 68 :
 
{{{lien5|}}} }}
 
{{{lien5|}}} }}
 
|}
 
|}
|}</includeonly>
+
|}</includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Type_1]][[Category:Template]]</noinclude>
<noinclude>[[Catégorie:Portail/Type_1]]</noinclude>
 

Version actuelle datée du 13 septembre 2012 à 15:33

[edit]

Template-info.svg Documentation des modèles

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
Les arguments applicables sont:

  • background =>
  • couleur fond
  • couleur bordure
  • titre
  • sous-titre
  • contenu
  • thème

Usage:

{{Cadre Portail/Entête
 | thème               = Accueil
 | contenu            = <div>
{{Portail:Accueil/Introduction}}
</div>
}}

Produit:

Modèle:Portail:Accueil/Browsebar
Outils personnels