Documentation de modèle (pour le modèle ci-dessus, parfois caché ou invisible)
- Description
- This template is used in conjunction with Template:Char to create character galleries like this.
- Syntax
{{GaleriePerso|<theme=... (optional)>|<title=Title (optional)>|<page=Page Name (optional)>|<template=Template Name (optional)>|<{{Char|...}}>|<...>}}
- Themes are defined in MediaWiki:Wikia.css; the palettes (as of revision 113613), along with their matching Template:CustomHeader colors (as of revision 73701) are as follows.
Theme border-color
background-color
CustomHeader color ua
(Lycée Yuei; default)#5f0000
#910000
red
(#8b0000
; default)ph
(Héros Pro)#c40000
#d80000
scarlet
(#d80000
)vl
(Vilains)#0d0d0d
#141414
black
(#141414
)pl
(Police)#0040a9
#0044b3
blue
(#0044b3
)cv
(Civils)#29822b
#2c8a2e
green
(#2c8a2e
)kb
(Académie Ketsubutsu)#727200
#8b8b00
olive
(#8b8b00
)sh
(Lycée Shiketsu)#004081
#00458b
cerulean
(#00458b
)vg
(Vigilante)#696969
#778899
grey
(#696969
)ih
(Lycée Isamu)#7c073f
#7c073f
purple
(#7c073f
)N/A N/A orange
(#c53c0c
)gold
(#e3da2d
)
- If the
title
named parameter is supplied, a header will be generated with a link to the page with that title. To change the target, specify thepage
named parameter. To suppress linking, specify a blankpage
named parameter. - If the
template
named parameter is also supplied, links to view and edit that template will be generated in the header, and the category Character Gallery Templates will be added to that template. NB: Omit theTemplate:
namespace prefix. - Examples
{{CharGallery|theme=ua
gives…
|{{Perso|Izuku Midoriya Portrait.png|Izuku Midoriya|Seat No. 18}}
}}
|theme=ua
|{{GaleriePerso|theme=ua|title=Class 1-A
gives…
|{{Perso|Izuku Midoriya Portrait.png|Izuku Midoriya|Seat No. 18}}
}}
{{GaleriePerso|theme=ua|title=U.A. Students|page=U.A. High School#U.A. Students
gives…
|{{GaleriePerso}}. 18}}
}}
{{CharGallery|theme=ua|title=Beautiful Cinnamon Roll Too Good For This World, Too Pure|page=|template=CharGallery
gives…
|{{Char|Izuku Midoriya Portrait.png|Izuku Midoriya|Seat No. 18}}
}}Beautiful Cinnamon Roll Too Good For This World, Too Pure
Visitez Modèle:GaleriePerso/doc pour modifier ce texte ! (Comment ça fonctionne ?)
Sauf mention contraire, le contenu de la communauté est disponible sous licence CC-BY-SA
.