Modèle:Onglet : Différence entre versions

De Wiki @ Brest

 
(Une révision intermédiaire par le même utilisateur non affichée)
Ligne 13 : Ligne 13 :
 
-->{{#ifexist:Projet:{{{1}}}/Évaluation |
 
-->{{#ifexist:Projet:{{{1}}}/Évaluation |
 
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[Projet:{{{1}}}/Évaluation|Évaluation]]</td> |
 
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[Projet:{{{1}}}/Évaluation|Évaluation]]</td> |
 +
}}<!--
 +
-->{{#ifexist:Attribut:{{{1}}} |
 +
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[:Attribut:{{{1}}}|Attribut]]</td> |
 
}}<!--
 
}}<!--
 
-->{{#ifexist:Catégorie:{{{1}}} |
 
-->{{#ifexist:Catégorie:{{{1}}} |
 
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[:Catégorie:{{{1}}}|Catégorie]]</td> |
 
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[:Catégorie:{{{1}}}|Catégorie]]</td> |
 
}}<!--
 
}}<!--
-->{{#ifexist:Admin:{{{1}}}|
+
-->{{#ifexist:Private:{{{1}}}|
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[Admin:{{{1}}}|Admin]]</td> |
+
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[Private:{{{1}}}|Admin]]</td> |
 
}}<!--
 
}}<!--
-->{{#ifexist:Discussion:Projet:{{{1}}} |
+
-->{{#ifexist:Aide:{{{1}}} |
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[Discussion:Projet:{{{1}}}|{{{4}}}]]</td> |
+
<td width="{{Onglet/Largeur{{!}}{{{1}}}}}%" style="border-right:1px solid #{{{2|aaa}}}; padding:0.3em; text-align:center; background-color: transparent; border-bottom:none; font-weight:bold;">[[Aide:{{{1}}}|Aide]]</td> |
}}<!-- --></tr></table></div></includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Tools]][[Category:Template]]</noinclude>
+
}}<!-- --></tr></table></div></includeonly><noinclude>{{TemplateDoc}}[[Catégorie:Portail/Tools]][[Category:Template/Portail]]</noinclude>

Version actuelle en date du 11 mars 2015 à 15:09

[edit]

Template-info.svg Documentation des modèles

Description:
Utilisé pour la construction de l'entête d'un portail, ce modèle permet de générer une barre d'onglet permettant d'accéder directement à certaines pages spécifiques du portail, dans ce cadre, les arguments sont déclarés dans le modèle entête
Arguments:

  • 1 => le thème principal du portail
  • 2 => la couleur de la bordure
  • 3 => la couleur de fond
  • 4 => un alias pour la page discussion

Usage:

{{Onglet|Accueil|{{{couleur bordure|aaa}}}|{{{couleur fond|fff}}}|{{{discussion|Café}}}}}

Produit: