Modèle:Cg
(Redirigé depuis Modèle:cg)
Ce modèle provient de l'Encyclopedia Noelica. Suite à sa fermeture JVFlux a décidé d'héberger les articles de ce wiki dans une catégorie dédiée
Usage[modifier le wikicode]
This is the collapsing gallery template.
Syntax
{{cg | 1=title | 2=id | 3=align | 4=<gallery> teaser </gallery> | 5=<gallery> expanded </gallery> | border | color}}
title | |
---|---|
id | unique id for collapse gallery (examples: cg1, cg2, etc.). id's may not contain spaces. Do not include spaces in the id. |
align | left, right or center, default is left. |
4 | teaser gallery |
5 | expanded gallery |
border | border color and have it be thicker with rounded edges. default is the traditional collapse gallery style. |
color | title color, default is white. |
Example[modifier le wikicode]
This:
; Traditional (border isn't set): {{Cg|Hello, world!|cg1|center|<gallery> Fichier:Cortex gros.jpg </gallery>|<gallery> Fichier:Gangsta love.jpg </gallery>}} ; Rounded: {{Cg|Hello, world!|cg2|center|<gallery> Fichier:Cortex mnm.jpg </gallery>|<gallery> Fichier:Gangsta love.jpg </gallery>|border=blue|color=cyan}}
results in this:
- Traditional (border isn't set)
- Rounded