Template:ColorGallery

From Mizuumi Wiki
Jump to navigation Jump to search

Usage

Creates a character color gallery. To be used exclusively with Template:ColorGallery/Color

Template Parameters

  • filePrefix: File prefix for image files before the number.
  • fileSuffix: File suffix for image files after the number.
  • imageFileTypes: Image file types. (Default:png)
  • imagewidths: Default image width in pixels. Will automatically downscale image to stay in ratio if imageheights is maxed. Set to 0 to try to use original image width or scale with height. (Default:120)
  • imageheights: Default image height in pixels. Will automatically downscale image to stay in ratio if imagewidths is maxed. Set to 0 to try to use original image height or scale with width. (Default:120)
  • showtext: Show texts below images. (Default:yes)

Example

Source code 1:

{{ColorGallery | filePrefix=Hyde-| colors=
 {{ColorGallery/Color|1|  text=Black Eclipse }}
 {{ColorGallery/Color|2|  text=Twinkle White }}
 {{ColorGallery/Color|3|  text=Darkness Tempest }}
 {{ColorGallery/Color|4|  text=Light Forest }}
 {{ColorGallery/Color|5|  text=Nightmare }}
 {{ColorGallery/Color|6|  text=Red Pearl }}
 {{ColorGallery/Color|7|  text=Desert Wolf }}
 {{ColorGallery/Color|8|  text=Sea Water }}
 {{ColorGallery/Color|9|  text=Moonlight }}
 {{ColorGallery/Color|10| text=Justice Rose }}
 {{ColorGallery/Color|11| text=Blau Blitz }}
 {{ColorGallery/Color|12| text=Sunlight Red }}
 {{ColorGallery/Color|13| text=Vortex Galaxy }}
 {{ColorGallery/Color|14| text=Cremisi Grotta }}
 {{ColorGallery/Color|15| text=Holiness Star }}
 {{ColorGallery/Color|16| text=Rosa Descendiente }}
 {{ColorGallery/Color|17| text=Juillet Averse }}
 {{ColorGallery/Color|18| text=Soul Lover }}
 {{ColorGallery/Color|19| text=Caldo Trrente }}
 {{ColorGallery/Color|20| text=Viridis Regulus }}
 {{ColorGallery/Color|21| text=Shinku }}
 {{ColorGallery/Color|22| text=Blanche Diable }}
 {{ColorGallery/Color|23| text=Ocean Arctique }}
 {{ColorGallery/Color|24| text=Citrus Fresh }}
 {{ColorGallery/Color|25| text=Guilty Thorn }}
 {{ColorGallery/Color|26| text=Schon Gift }}
 {{ColorGallery/Color|27| text=Nutty Pastel }}
 {{ColorGallery/Color|28| text=Clear Gale }}
 {{ColorGallery/Color|29| text=Santana }}
 {{ColorGallery/Color|30| text=Dark Matter }}
}}

Output 1:

Black Eclipse
Black Eclipse
Twinkle White
Twinkle White
Darkness Tempest
Darkness Tempest
Light Forest
Light Forest
Nightmare
Nightmare
Red Pearl
Red Pearl
Desert Wolf
Desert Wolf
Sea Water
Sea Water
Moonlight
Moonlight
Justice Rose
Justice Rose
Blau Blitz
Blau Blitz
Sunlight Red
Sunlight Red
Vortex Galaxy
Vortex Galaxy
Cremisi Grotta
Cremisi Grotta
Holiness Star
Holiness Star
Rosa Descendiente
Rosa Descendiente
Juillet Averse
Juillet Averse
Soul Lover
Soul Lover
Caldo Trrente
Caldo Trrente
Viridis Regulus
Viridis Regulus
Shinku
Shinku
Blanche Diable
Blanche Diable
Ocean Arctique
Ocean Arctique
Citrus Fresh
Citrus Fresh
Guilty Thorn
Guilty Thorn
Schon Gift
Schon Gift
Nutty Pastel
Nutty Pastel
Clear Gale
Clear Gale
Santana
Santana
Dark Matter
Dark Matter

Source code 2:

{{ColorGallery | filePrefix=NPB Ignis Color_| imagewidths=220 |imageheights=220 | showtext=no | colors=
 {{ColorGallery/Color|1}}
 {{ColorGallery/Color|2}}
 {{ColorGallery/Color|3}}
 {{ColorGallery/Color|4}}
 {{ColorGallery/Color|5}}
 {{ColorGallery/Color|6}}
 {{ColorGallery/Color|7}}
 {{ColorGallery/Color|8}}
 {{ColorGallery/Color|9}}
 {{ColorGallery/Color|10}}
 {{ColorGallery/Color|11}}
 {{ColorGallery/Color|12}}
 {{ColorGallery/Color|13}}
 {{ColorGallery/Color|14}}
 {{ColorGallery/Color|15}}
 {{ColorGallery/Color|16}}
 {{ColorGallery/Color|17}}
 {{ColorGallery/Color|18}}
 {{ColorGallery/Color|19}}
 {{ColorGallery/Color|20}}
 {{ColorGallery/Color|21}}
}}

Output 2:

Color 1
Color 2
Color 3
Color 4
Color 5
Color 6
Color 7
Color 8
Color 9
Color 10
Color 11
Color 12
Color 13
Color 14
Color 15
Color 16
Color 17
Color 18
Color 19
Color 20
Color 21