Modèle:Kit Portail Département : Différence entre versions
De WikiGenWeb
(correction de lien) |
(lien pour accéder aux sous-pages) |
||
(4 révisions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
− | <noinclude>{{{{PAGENAME}}/Documentation}}</noinclude>__NOTOC__<div id="titre"> | + | <noinclude>{{{{PAGENAME}}/Documentation}} |
+ | |||
+ | == Aspect que donne ce modèle == | ||
+ | |||
+ | </noinclude>__NOTOC__<div id="titre"> | ||
{| style="width:100%; margin-bottom:2px;" | {| style="width:100%; margin-bottom:2px;" | ||
| class="globe" style="background-repeat:no-repeat; background-position:-40px -15px; width:100%; border-left:0px solid #f90; border-bottom:10px solid #B2B2B2; vertical-align:top;" | | | class="globe" style="background-repeat:no-repeat; background-position:-40px -15px; width:100%; border-left:0px solid #f90; border-bottom:10px solid #B2B2B2; vertical-align:top;" | | ||
{| style="width:100%; margin-bottom:1px; vertical-align:top; font-size:100%; background:transparent;" | {| style="width:100%; margin-bottom:1px; vertical-align:top; font-size:100%; background:transparent;" | ||
|- | |- | ||
− | | style="height:1em; padding-left:0px;" |<span style="font-size:185%; color:#868686 ">{{#ifexist:Image:{{{blason|F{{{numéro}}}.png}}} |[[Image:{{{blason|F{{{numéro}}}.png}}}|nothumb|18px|{{{nom}}}]] }} Bienvenue sur '''{{{nom|{{PAGENAME}}}}}''<span style="font-size:90%; color:#800000 ">GenWeb</span>''''', le portail {{{articleI|de }}} '''{{{nom|{{PAGENAME}}}}}''' </span> | + | | style="height:1em; padding-left:0px;" |<span style="font-size:185%; color:#868686 ">{{#ifexist:Image:{{{blason|F{{{numéro}}}.png}}} |[[Image:{{{blason|F{{{numéro}}}.png}}}|nothumb|18px|{{{nom|{{PAGENAME}}}}}]] }} Bienvenue sur '''{{{nom|{{PAGENAME}}}}}''<span style="font-size:90%; color:#800000 ">GenWeb</span>''''', le portail {{{articleI|de }}} '''{{{nom|{{PAGENAME}}}}}''' </span> |
|} | |} | ||
|}</div> | |}</div> | ||
Ligne 15 : | Ligne 19 : | ||
<!-- SECTIONS --> | <!-- SECTIONS --> | ||
− | | <div id=gauche style="padding-left:10px; padding-bottom:5px; padding-top:0px;">{{{{FULLPAGENAME}}/gauche}}<div align="right">{{{lien gauche|}}}</div></div> | + | | <div id=gauche style="padding-left:10px; padding-bottom:5px; padding-top:0px;"> |
+ | <div style="float:right; font-weight:normal"><font size="1"><nowiki>[</nowiki>[[{{FULLPAGENAME}}/gauche|modifier]]<nowiki>]</nowiki> </font></div> | ||
+ | {{{{FULLPAGENAME}}/gauche}}<div align="right">{{{lien gauche|}}}</div></div> | ||
<!-- FIN COLONNE DE GAUCHE -->|} | <!-- FIN COLONNE DE GAUCHE -->|} | ||
Ligne 25 : | Ligne 31 : | ||
<!-- SECTIONS --> | <!-- SECTIONS --> | ||
− | | <div | + | | <div style="margin:0em 1em 1em 1em; padding-right:0px; padding-top:3px;"> |
+ | <div style="float:right; font-weight:normal"><font size="1"><nowiki>[</nowiki>[[{{FULLPAGENAME}}/droite|modifier]]<nowiki>]</nowiki> </font></div> | ||
+ | {{{{FULLPAGENAME}}/droite}}<div align="right">{{{lien droite|}}}</div></div><!-- FIN COLONNE DE DROITE --> | ||
|} | |} | ||
Ligne 39 : | Ligne 47 : | ||
|} | |} | ||
|} | |} | ||
− | {{Palette départements}}<noinclude> | + | {{Palette départements}}<noinclude>[[Catégorie:Modèle Portail]]</noinclude><includeonly>[[Catégorie:{{{cat|Portail départemental}}}|{{PAGENAME}}]]</includeonly> |
− | [[Catégorie:Modèle Portail]]</noinclude> |
Version actuelle en date du 1 août 2011 à 19:25
Ce modèle sert à créer un portail départemental et à faire en sorte que tous les portails départementaux aient le même aspect.
Il s'utilise avec les paramètres suivants :
paramètre | obligatoire/facultatif | description |
---|---|---|
nom | facultatif | nom du département (par défaut, le nom est déduit du nom du portail) |
numéro | obligatoire | numéro minéralogique du département |
articleI | facultatif | article indéfini précédent le nom du département (par défaut : "de ") Exemple :
|
articleD | facultatif | article défini précédent le nom du département (par défaut : "le ") Exemple :
|
blason | facultatif | nom de l'image représentant le blason du département. Par défaut, la valeur est "F{{{numéro}}}.png". L'existence du fichier est vérifiée. |
texte | facultatif | texte qui sera inséré en dessous du bandeau de titre |
lien gauche | facultatif | lien qui sera inséré en bas du cadre de gauche |
lien droite | facultatif | lien qui sera inséré en bas du cadre de droite |
N'oubliez pas d'ajouter à la fin du portail le bandeau {{Portail}} et les catégories.
Aspect que donne ce modèle
|
|
|
|