Template:ColorGallery/Color

From Mizuumi Wiki
< Template:ColorGallery
Revision as of 11:01, 22 December 2019 by SageVarq (talk | contribs) (Undo revision 74387 by SageVarq (talk) Last change isn't working as expected. Using imagewidths for text area width for the indefinite future.)
Jump to navigation Jump to search

Usage

To be used exclusively with Template:ColorGallery.

Template Parameters

  • unlabeled parameter: The number this color is supposed to be.
  • text: The text listed below the color. Will show no text if "showtext" is set to "no" in ColorGallery (Default:Color [number])

Optional Paramenters

  • filename: Individually set filename if necessary.

Example

Source code:

{{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:

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