Template:Mosaic row generator
Uses Lua: |
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
rownum | Row Number | The number of the current row | undef | required |
size | Image Size | The size of the image, in pixels; must be a 4:3 ratio. | 24x18 | suggested |
1 | Image 1 | First image name | empty | required |
1bk | Image 1 Background Color | First image CSS background color | white | optional |
2 | Image 2 | Second image name | empty | required |
2bk | Image 2 Background Color | Second image CSS background color | white | optional |
3 | Image 3 | Third image name | empty | required |
3bk | Image 3 Background Color | Third image CSS background color | white | optional |
4 | Image 4 | 4th image name | empty | required |
4bk | Image 4 Background Color | 4th image CSS background color | white | optional |
5 | Image 5 | 5th image name | empty | required |
5bk | Image 5 Background Color | 5th image CSS background color | white | optional |
6 | Image 6 | 6th image name | empty | required |
6bk | Image 6 Background Color | 6th image CSS background color | white | optional |
7 | Image 7 | 7th image name | empty | required |
7bk | Image 7 Background Color | 7th image CSS background color | white | optional |
8 | Image 8 | 8th image name | empty | required |
8bk | Image 8 Background Color | 8th image CSS background color | white | optional |
9 | Image 9 | 9th image name | empty | required |
9bk | Image 9 Background Color | 9th image CSS background color | white | optional |
10 | Image 10 | 10th image name | empty | required |
10bk | Image 10 Background Color | 10th image CSS background color | white | optional |
11 | Image 11 | 11th image name | empty | required |
11bk | Image 11 Background Color | 11th image CSS background color | white | optional |
12 | Image 12 | 12th image name | empty | required |
12bk | Image 12 Background Color | 12th image CSS background color | white | optional |
13 | Image 13 | 13th image name | empty | required |
13bk | Image 13 Background Color | 13th image CSS background color | white | optional |
14 | Image 14 | 14th image name | empty | required |
14bk | Image 14 Background Color | 14th image CSS background color | white | optional |
15 | Image 15 | 15th image name | empty | required |
15bk | Image 15 Background Color | 15th image CSS background color | white | optional |
16 | Image 16 | 16th image name | empty | required |
16bk | Image 16 Background Color | 16th image CSS background color | white | optional |
17 | Image 17 | 17th image name | empty | required |
17bk | Image 17 Background Color | 17th image CSS background color | white | optional |
18 | Image 18 | 18th image name | empty | required |
18bk | Image 18 Background Color | 18th image CSS background color | white | optional |
19 | Image 19 | 19th image name | empty | required |
19bk | Image 19 Background Color | 19th image CSS background color | white | optional |
20 | Image 20 | 20th image name | empty | required |
20bk | Image 20 Background Color | 20th image CSS background color | white | optional |
21 | Image 21 | 21th image name | empty | required |
21bk | Image 21 Background Color | 21th image CSS background color | white | optional |
22 | Image 22 | 22th image name | empty | required |
22bk | Image 22 Background Color | 22th image CSS background color | white | optional |
23 | Image 23 | 23th image name | empty | required |
23bk | Image 23 Background Color | 23th image CSS background color | white | optional |
24 | Image 24 | 24th image name | empty | required |
24bk | Image 24 Background Color | 24th image CSS background color | white | optional |
25 | Image 25 | 25th image name | empty | required |
25bk | Image 25 Background Color | 25th image CSS background color | white | optional |
26 | Image 26 | 26th image name | empty | required |
26bk | Image 26 Background Color | 26th image CSS background color | white | optional |
27 | Image 27 | 27th image name | empty | required |
27bk | Image 27 Background Color | 27th image CSS background color | white | optional |
28 | Image 28 | 28th image name | empty | required |
28bk | Image 28 Background Color | 28th image CSS background color | white | optional |
29 | Image 29 | 29th image name | empty | required |
29bk | Image 29 Background Color | 29th image CSS background color | white | optional |
30 | Image 30 | 30th image name | empty | required |
30bk | Image 30 Background Color | 30th image CSS background color | white | optional |
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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 Newly created template documentation and imports Wikipedia's help about TemplateData • Commons-specific information Creates a row for the Wikimedia logo mosaic.
|
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.