Example

{{User:Begoon/RCgall
| image = example.jpg 
| caption = caption text 
| image2 = Primjer.jpg 
| caption2 = caption2 text 
| height = 200
| align = left
| border = blue
| background = lightyellow
}}

Unnamed parameters

  • The image/caption parameters can be provided as unnamed parameters as in the following example.
  • When using this format, captions (or empty parameters, || ) must be supplied, as shown below.
  • All other parameters, if provided, must be named, and must follow all of the image/caption pairs, at the end of the parameter list.
{{User:Begoon/RCgall
|example.jpg|text 1
|Primjer.jpg|
|example.jpg|text 3
|align=left
|height=135
}}

Usage

Parameter Description Default (not supplied) Format Example
image filename of image, without File: prefix § - filename example.jpg
caption caption for first image § - wikitext caption text
...image2 - image20 ...filename(s) for additional image(s) § - filename Primjer.jpg
...caption2 - caption20 ...caption(s) for additional image(s) § - wikitext caption2 text
height height to scale all images 150 value in pixels 200
align alignment right left/right left
border HTML colour for border #4e4e4e :   CSS colour descriptor blue
background HTML colour for background white :   CSS colour descriptor lightyellow

§ Parameter can be unnamed - see Unnamed parameters

Credits

See also

User:Begoon/RCbox