Template:Mosaic row generator/doc

Creates a row for the Wikimedia logo mosaic.

Usage

{{Mosaic row generator
 |rownum = 
 |size   = 
 |1      = 
 |2      = 
 |3      = 
 |4      = 
 |5      = 
 |6      = 
 |7      = 
 |8      = 
 |9      = 
 |10     = 
 |11     = 
 |12     = 
 |13     = 
 |14     = 
 |15     = 
 |16     = 
 |17     = 
 |18     = 
 |19     = 
 |20     = 
 |21     = 
 |22     = 
 |23     = 
 |24     = 
 |25     = 
 |26     = 
 |27     = 
 |28     = 
 |29     = 
 |30     = 
}}

Template parameters

ParameterDescriptionDefaultStatus
rownumRow NumberThe number of the current rowundefrequired
sizeImage SizeThe size of the image, in pixels; must be a 4:3 ratio.24x18suggested
1Image 1First image nameemptyrequired
1bkImage 1 Background ColorFirst image CSS background colorwhiteoptional
2Image 2Second image nameemptyrequired
2bkImage 2 Background ColorSecond image CSS background colorwhiteoptional
3Image 3Third image nameemptyrequired
3bkImage 3 Background ColorThird image CSS background colorwhiteoptional
4Image 44th image nameemptyrequired
4bkImage 4 Background Color4th image CSS background colorwhiteoptional
5Image 55th image nameemptyrequired
5bkImage 5 Background Color5th image CSS background colorwhiteoptional
6Image 66th image nameemptyrequired
6bkImage 6 Background Color6th image CSS background colorwhiteoptional
7Image 77th image nameemptyrequired
7bkImage 7 Background Color7th image CSS background colorwhiteoptional
8Image 88th image nameemptyrequired
8bkImage 8 Background Color8th image CSS background colorwhiteoptional
9Image 99th image nameemptyrequired
9bkImage 9 Background Color9th image CSS background colorwhiteoptional
10Image 1010th image nameemptyrequired
10bkImage 10 Background Color10th image CSS background colorwhiteoptional
11Image 1111th image nameemptyrequired
11bkImage 11 Background Color11th image CSS background colorwhiteoptional
12Image 1212th image nameemptyrequired
12bkImage 12 Background Color12th image CSS background colorwhiteoptional
13Image 1313th image nameemptyrequired
13bkImage 13 Background Color13th image CSS background colorwhiteoptional
14Image 1414th image nameemptyrequired
14bkImage 14 Background Color14th image CSS background colorwhiteoptional
15Image 1515th image nameemptyrequired
15bkImage 15 Background Color15th image CSS background colorwhiteoptional
16Image 1616th image nameemptyrequired
16bkImage 16 Background Color16th image CSS background colorwhiteoptional
17Image 1717th image nameemptyrequired
17bkImage 17 Background Color17th image CSS background colorwhiteoptional
18Image 1818th image nameemptyrequired
18bkImage 18 Background Color18th image CSS background colorwhiteoptional
19Image 1919th image nameemptyrequired
19bkImage 19 Background Color19th image CSS background colorwhiteoptional
20Image 2020th image nameemptyrequired
20bkImage 20 Background Color20th image CSS background colorwhiteoptional
21Image 2121th image nameemptyrequired
21bkImage 21 Background Color21th image CSS background colorwhiteoptional
22Image 2222th image nameemptyrequired
22bkImage 22 Background Color22th image CSS background colorwhiteoptional
23Image 2323th image nameemptyrequired
23bkImage 23 Background Color23th image CSS background colorwhiteoptional
24Image 2424th image nameemptyrequired
24bkImage 24 Background Color24th image CSS background colorwhiteoptional
25Image 2525th image nameemptyrequired
25bkImage 25 Background Color25th image CSS background colorwhiteoptional
26Image 2626th image nameemptyrequired
26bkImage 26 Background Color26th image CSS background colorwhiteoptional
27Image 2727th image nameemptyrequired
27bkImage 27 Background Color27th image CSS background colorwhiteoptional
28Image 2828th image nameemptyrequired
28bkImage 28 Background Color28th image CSS background colorwhiteoptional
29Image 2929th image nameemptyrequired
29bkImage 29 Background Color29th image CSS background colorwhiteoptional
30Image 3030th image nameemptyrequired
30bkImage 30 Background Color30th image CSS background colorwhiteoptional
Template data
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.

Discussion
There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.


Wikipedia's help about TemplateDataCommons-specific information

Creates a row for the Wikimedia logo mosaic.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Image 11

First image name

Filerequired
Image 1010

10th image name

Filerequired
Image 10 Background Color10bk

10th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1111

11th image name

Filerequired
Image 11 Background Color11bk

11th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1212

12th image name

Filerequired
Image 12 Background Color12bk

12th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1313

13th image name

Filerequired
Image 13 Background Color13bk

13th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1414

14th image name

Filerequired
Image 14 Background Color14bk

14th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1515

15th image name

Filerequired
Image 15 Background Color15bk

15th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1616

16th image name

Filerequired
Image 16 Background Color16bk

16th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1717

17th image name

Filerequired
Image 17 Background Color17bk

17th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1818

18th image name

Filerequired
Image 18 Background Color18bk

18th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1919

19th image name

Filerequired
Image 19 Background Color19bk

19th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 1 Background Color1bk

First image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 22

Second image name

Filerequired
Image 2020

20th image name

Filerequired
Image 20 Background Color20bk

20th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2121

21th image name

Filerequired
Image 21 Background Color21bk

21th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2222

22th image name

Filerequired
Image 22 Background Color22bk

22th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2323

23th image name

Filerequired
Image 23 Background Color23bk

23th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2424

24th image name

Filerequired
Image 24 Background Color24bk

24th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2525

25th image name

Filerequired
Image 25 Background Color25bk

25th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2626

26th image name

Filerequired
Image 26 Background Color26bk

26th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2727

27th image name

Filerequired
Image 27 Background Color27bk

27th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2828

28th image name

Filerequired
Image 28 Background Color28bk

28th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2929

29th image name

Filerequired
Image 29 Background Color29bk

29th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 2 Background Color2bk

Second image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 33

Third image name

Filerequired
Image 3030

30th image name

Filerequired
Image 30 Background Color30bk

30th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 3 Background Color3bk

Third image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 44

4th image name

Filerequired
Image 4 Background Color4bk

4th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 55

5th image name

Filerequired
Image 5 Background Color5bk

5th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 66

6th image name

Filerequired
Image 6 Background Color6bk

6th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 77

7th image name

Filerequired
Image 7 Background Color7bk

7th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 88

8th image name

Filerequired
Image 8 Background Color8bk

8th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Image 99

9th image name

Filerequired
Image 9 Background Color9bk

9th image CSS background color

Suggested values
#900 #396 #069
Default
white
Stringoptional
Row Numberrownum

The number of the current row

Default
undef
Numberrequired
Image Sizesize

The size of the image, in pixels; must be a 4:3 ratio.

Default
24x18
Auto value
{{{size|24x18}}}
Stringsuggested

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Placement:

In a Wikitable.

Relies on:

Example

{{Mosaic row generator|rownum=14|size={{{size|24x18}}}
|  1 = Soyuz-A drawing.png
|  2 = AB 412 S5-HPA 2.jpg                      |  2bk = #069
|  3 = Skytower.jpg                             |  3bk = #069
|  4 = Cygne.jpg                                |  4bk = #069
|  5 = Clouds Blue.jpg                          |  5bk = #069
|  6 = Winchester1200Def-2.jpg
|  7 = Step-pt2.png
|  8 = The Gypsy Girl Mosaic of Zeugma 1250575.png
|  9 = Melanargia galathea 0001.jpg             |  9bk = #396
| 10 = The Light and the Green.jpg              | 10bk = #396
| 11 = Green Manx phone box.JPG                 | 11bk = #396
| 12 = Step-pt2-var.png
| 13 = RQ-2B Pioneer (drawing).png
| 14 = Lesotho sunset.jpg                       | 14bk = #900
| 15 = Protect Your Republic Protest İzmir8.JPG | 15bk = #900
| 16 = Rambutan Binjai.jpg                      | 16bk = #900
| 17 = Ferrari F50 Sinsheim.jpg                 | 17bk = #900
| 18 = Zipf distribution PMF.png
| 19 = Autograph-StanislawStaszic.png
| 20 = Iguana in Mexico.jpg                     | 20bk = #396
| 21 = Pianta grassa.jpg                        | 21bk = #396
| 22 = Fallopia japonica2.jpg                   | 22bk = #396
| 23 = Lune of Hippocrates.svg
| 24 = Stirling first four two.png
| 25 = BMS-906024.svg
| 26 = Seagull in flight.JPG                    | 26bk = #069
| 27 = ZooFairyBluebird.jpg                     | 27bk = #069
| 28 = Brosen fruittree flowers.jpg             | 28bk = #069
| 29 = Tumbling backflip.jpg                    | 29bk = #069
| 30 = Nyquist-pt2-var.png
}}

renders as:

See also

Localization

Deutsch  English  français  македонски  Nederlands  polski

This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:Mosaic row generator/layout.