Template:Size: Difference between revisions
Jump to navigation
Jump to search
Starting template for part size display, testing parser functions Tag: 2017 source edit |
Add {{Doc}} Tag: 2017 source edit |
||
(19 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 6: | Line 6: | ||
"Size": { | "Size": { | ||
"aliases": [ | "aliases": [ | ||
"size" | "size", | ||
"1" | |||
], | ], | ||
"label": "Size", | "label": "Size", | ||
Line 22: | Line 23: | ||
"required": true | "required": true | ||
} | } | ||
} | }, | ||
"description": "Use this template to include a formatted part size tag in an article. Requires the Size parameter, selected from a provided list." | |||
} | } | ||
</templatedata> | </templatedata></noinclude><includeonly>{{#invoke:Size|getSize|{{{Size}}}}}</includeonly> | ||
</noinclude> | |||
{{# |
Latest revision as of 21:51, 6 December 2024
Error creating thumbnail: convert-im6.q16: delegate failed `'rsvg-convert' -o '%o' '%i @ error/delegate.c/InvokeDelegate/1966. convert-im6.q16: unable to open file `/tmp/magick-6an52Ws6Pv7jR-kpDpBNdliDZLsxqHuH': No such file or directory @ error/constitute.c/ReadImage/619. convert-im6.q16: no images defined `PNG:/var/www/web117/tmp/transform_064288e9ad8c.png' @ error/convert.c/ConvertImageCommand/3229. Template documentation[view] [edit] [history] [purge]
The part size will appear on the article as per:
XS
SM
MD
LG
XL
2X
Use this template to include a formatted part size tag in an article. Requires the Size parameter, selected from a provided list.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Size | Size size 1 | Part size
| String | required |