Modèle:Cadre Necron
De Omnis Bibliotheca
Fonctionnalité[modifier]
Permet d'afficher une image dans un cadre stylisé Nécron.
Paramètres[modifier]
- image=fichier image
- link_image=lien lors du clic que l'image
- taille=taille de l'image (optionnel)
- titre=titre de l'image (optionnel)
- sous_titre=sous-titre de l'image (optionnel)
- deco=décoration particulière; valeurs possibles :
- angles : décoration aux quatres coins du cadre
- bas : décoration aux deux coins en bas du cadre
- haut : décoration aux deux coins en haut du cadre
- position = permet de gérer le positionnement en fonction de la valeur :
- left ou gauche : positionnement flottant à gauche
- right ou droite: positionnement flottant à droite
- center ou centre: positionnement aligné au centre (il faut que taille soit défini pour cela)
- style=customisation CSS (optionnel)
Exemples[modifier]
Exemple A[modifier]
Code :
{{Cadre Necron
|image=Perso ozkan.jpg
}}
Rendu :
Exemple : titre et taille[modifier]
Code :
{{Cadre Necron
|image=Perso ozkan.jpg
|titre=Okzan
|sous_titre=''Le Codificateur''
|taille=300px
}}
Rendu :
Okzan
Le Codificateur
Exemple avec deco[modifier]
Code :
{{Cadre Necron
|image=Perso ozkan.jpg
|taille=300px
|deco=angle
|sous_titre=''Le Codificateur''
}}
Rendu :
Exemple alignement à droite avec deco en bas[modifier]
Code :
{{Cadre Necron
|deco=bas
|image=Perso ozkan.jpg
|taille=200px
|position=right
|titre=Okzan
|taille_titre=50%
}}
Rendu :
Exemple alignement au centre avec deco en bas[modifier]
Code :
{{Cadre Necron
|deco=bas
|image=Perso ozkan.jpg
|taille=200px
|position=center
|titre=Okzan
|taille_titre=50%
}}
Rendu :

