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}}}}} | ||
}} | }} | ||
− | |||
{{!-}} | {{!-}} | ||
− | {{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} {{{ | + | {{!}} style="width:100%; padding-left:1em; padding-right:1em;" {{!}} <div><table style="width: 100%; background-color: transparent; padding-left:20px;padding-right:20px; margin-top:0.5em;"> |
− | }} | + | <tr><td rowspan=2 valign=top>{{#if:{{{icone|}}}|[[Fichier:{{{icone}}}|{{{icone_size|75px}}}]]}}</td> |
+ | <td valign=top style="padding-left:20px"><font style="font-size:150%;line-height:1em;">Portail</font> <br/> | ||
+ | <span style="font-size:200%;line-height:1em; margin-left:1em; ">[[Portail:{{{thème}}}|{{{thème}}}]]</span><br/> | ||
+ | <td valign=middle align=right><small>'''Il y a actuellement {{Nombre d'articles|titre={{#if:{{{cat|}}}|{{{cat}}}|{{{thème}}}}} }} liés à ce sujet.'''</small></td></tr> | ||
+ | </table></div> | ||
|} | |} | ||
|- | |- | ||
| <!-- 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}};" |
− | |{{ | + | |<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;"><table width="100%" cellspacing="0" cellpadding="0" valign="top" border="0" style="background:transparent;"><tr>{{Cadre Portail/OngletUser|{{{thème}}}|{{{couleur bordure|aaa}}}|{{{discussion|Café}}}}}</tr></table></div> |
|} | |} | ||
{| 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 = {{Browsebar Discussion}} |
| Discussion modèle | | Discussion modèle | ||
| Discussion utilisateur | | Discussion utilisateur | ||
Ligne 31 : | Ligne 34 : | ||
| Discussion aide | | Discussion aide | ||
| Discussion Référence | | Discussion Référence | ||
− | | Discussion Projet | + | | Discussion Projet |
| Catégorie = {{Portail:{{{thème}}}/Browsebar}} | | Catégorie = {{Portail:{{{thème}}}/Browsebar}} | ||
| Wikipédia | | Wikipédia | ||
Ligne 39 : | Ligne 42 : | ||
| Référence | | Référence | ||
| Projet = {{Portail:{{{thème}}}/Browsebar}} | | Projet = {{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}}} }}<!-- | ||
+ | -->{{#if:{{{lien2|}}} | | ||
+ | |||
+ | <hr style="background:#{{{couleur bordure|aaa}}}; margin:5px 12% 5px 12%;"/> | ||
+ | |||
+ | {{{lien2|}}} }}<!-- | ||
+ | -->{{#if:{{{lien3|}}} | | ||
+ | |||
+ | <hr style="background:#{{{couleur bordure|aaa}}}; margin:5px 12% 5px 12%;"/> | ||
+ | |||
+ | {{{lien3|}}} }}<!-- | ||
+ | -->{{#if:{{{lien4|}}} | | ||
+ | |||
+ | <hr style="background:#{{{couleur bordure|aaa}}}; margin:5px 12% 5px 12%;"/> | ||
+ | |||
+ | {{{lien4|}}} }}<!-- | ||
+ | -->{{#if:{{{lien5|}}} | | ||
+ | |||
+ | <hr style="background:#{{{couleur bordure|aaa}}}; margin:5px 12% 5px 12%;"/> | ||
+ | |||
+ | {{{lien5|}}} }} | ||
|} | |} | ||
|}</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:16
[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:
|