Modèle:Navigation portail
Utilisation
- Modèle destiné à être utilisé en tête de portail.
Syntaxe
((Navigation portail | fond-tête = | color = | bordure = | taillebordure = | background = | entête = | portails = | projet = | catégorie = | évaluation = | bibliographie = | discussion = | modification = | degrade = non (si le degradé n'est pas souhaité) ))
Paramètres
- bordure = couleur (en hexadécimal, sans le #) des bords
- taillebordure = taille (en pixels, sans le px) des bords
- color = couleur des liens portails
- background = couleur (en hexadécimal, sans le #) du fond
- fond-tête = couleur (en hexadécimal, sans le #) du fond des liens portails
- entête = – Sert à placer une entête entre les super-portails et le sous portails (optionnel)
- portails = Listes des sous portails (potentiellement précédé de | si un tableau ou le modèle ((portail)) avec le parmètre
style=liste
est utilisé). - degrade = Mettre le paramètre "non" pour retirer l'effet dégradé.
- Les onglets :
- portail = Lien vers le portail (non wikifié, optionnel :
((FULLPAGENAME))
par défaut) - nomportail = Possibilité de définit un nom différent pour le lien vers le portail (pratique pour changer la couleur pour des raisons d'accessibilité
| nomportail = <span style="#FFFFFF">Nom du portal</span>
) - catégorie = lien vers la catégorie (wikifié, optionnel)
- modification = lien vers une page spéciale (wikifié, optionnel)
- projet = Lien vers le projet (wikifié, optionnel)
- évaluation = lien vers les évaluations du projet lié (wikifié, optionnel)
- bibliographie = lien vers une bibliographie lié au portail (wikifié, optionnel)
- autre = un autre lien (wikifié, optionnel)
- discussion = page de discussion sur portail (wikifié, obligatoire)
- portail = Lien vers le portail (non wikifié, optionnel :
Pour des raisons de style, le paramètre "discussion" est obligatoire.
Exemple
((Navigation portail|paramètre1|nom1param=valeur1))
Portail | (({discussion))} |
Exemple d'en-tête
(({!)) width=100% style="#CCCCCC; padding-left:20px;padding-right:20px;" ((!-)) ((!))valign=middle((!))[[Fichier:Illustration.png|120px]] ((!))valign=middle style="padding-left:20px"((!))<span style="font-size:150%;line-height:1em;">Portail du</span><br> <span style="font-size:270%;line-height:1em; margin-left:1em; ">[[Nom du portail]]</span> ((!))valign=middle align=right((!)) « Citation » [[:wikt:auteur|Auteur]] <br> '''((Nombre d'articles))''' sont actuellement liés au portail. ((!))}
La documentation de ce modèle est générée par le modèle ((Documentation)).
Elle est incluse depuis sa sous-page de documentation. Veuillez placer les catégories sur cette page-là.
Les éditeurs peuvent travailler dans le bac à sable (modifier) et la page de test (créer).
Voir les statistiques d'utilisation du modèle sur l'outil wstat.
Text is available under the CC BY-SA 4.0 license; additional terms may apply.
Images, videos and audio are available under their respective licenses.