|
|
(6 révisions intermédiaires par le même utilisateur non affichées) |
Ligne 1 : |
Ligne 1 : |
− | <includeonly><div style=" display:block; vertical-align:top; width:100%; margin-bottom:5px; margin-top:5px; padding-bottom:1px; padding-left:0px; padding-right:0px;">
| |
− | {| cellspacing="0" style="width:100%; background-color:#{{{fond}}}; border: #{{{bord}}} solid 1px; "
| |
− | | style="width:2.52em; background-color:#{{{fond_titre}}};text-align:center" |
| |
− | {{{logo|}}}
| |
− | | style="font-size:{{{taille_titre}}};text-align:{{{alignement_titre}}}; background-color:#{{{fond_titre}}};" |
| |
− | {{{titre}}}
| |
− | | style="width:2.52em; background-color:#{{{fond_titre}}}; text-align:right;" |
| |
− | <small><nowiki>[</nowiki>[[{{{page}}}|voir]]<nowiki>]</nowiki></small>
| |
− | |-
| |
− | |colspan="3" style="padding:5px 3px 7px 4px" | {{{{{page}}}}}
| |
− | |-
| |
− | |}</div></includeonly>
| |
− |
| |
− | <noinclude><nowiki>Complément
| |
− | Ce modèle crée un cadre avec un logo, un titre, un lien voir, et inclut la page de son choix.
| |
− |
| |
− | Exemple, si la page incluse dans le cadre est une sous-page, on peut employer la syntaxe suivante :
| |
− |
| |
− | page = {{NAMESPACE}}:{{PAGENAME}}/Sous-page
| |
− | Exemple, si la page incluse dans le cadre est un modèle, on peut employer la syntaxe suivante :
| |
− |
| |
− | page = Modèle:nom-du-modèle
| |
− |
| |
− | Exemple
| |
− |
| |
| {{Cadre | | {{Cadre |
| | bord = EEE8AA | | | bord = EEE8AA |
| | fond = FFFFF0 | | | fond = FFFFF0 |
− | | logo = [[Image:BDBulle EEE8AA.png|center|22px|BD]] | + | | logo = [[Fichier:Lregles.png|center|22px|Règles]] |
− | | titre = Titre BD | + | | titre = Titre du point de règle |
| | fond_titre = EEE8AA | | | fond_titre = EEE8AA |
| | alignement_titre = left | | | alignement_titre = left |
| | taille_titre = 150% | | | taille_titre = 150% |
− | | page = Utilisateur:ZA/Bac à sable/contenu a | + | | page = |
| }} | | }} |
− | </nowiki></noinclude>
| |