Wikipedia:WikiProject Scouting/Article incubator/Template:Infobox WorldScouting uniform/doc
This is a documentation subpage for Wikipedia:WikiProject Scouting/Article incubator/Template:Infobox WorldScouting uniform. It may contain usage information, categories and other content that is not part of the original wikipedia page. |
This template can be used to display small approximations of a Scout or Guide uniform in an article.
Usage
[edit]Note this is best used as a sub-template of an infobox such as {{Infobox WorldScouting}}. See that template for usage details.
To insert a standalone instance of a Scout or Guide uniform on a page, use {{Scout and Guide uniform box}}.
You may specify the optional parameter "filetype" to use a different image format than the default PNG. Setting "filetype = svg" will use SVG files instead. However, you must first ensure that all of the images you want to use exist in a SVG format. Currently, most images only exist as PNG files and will not work with the SVG setting.
Example
[edit]{{Wikipedia:WikiProject Scouting/Article incubator/Template:Infobox WorldScouting uniform |alt = uniform with khaki short-sleeved button-down shirt, olive shorts, and olive socks with red cuffs |pattern_ss = _khaki |pattern_b = _mint green |pattern_ws = _khaki |pattern_sh = _olive |pattern_so = _olive-red |summer = C3B091 (C3B091 is the hex color code) |blouse = 1F24B4 |winter = C3B091 |shorts = 808000 |socks = 808000/FF0000 |title = summer uniform }}
The |alt=
parameter is for visually impaired readers; see Wikipedia:Alternative text for images. The |pattern_ss=
parameter is the pattern modifier for the summer shirt, e.g. "_khaki" would change the shirt to summer uniform shirt khaki.png.
Creating a new pattern
[edit]To create a new pattern template follow the examples below. When you have created a new pattern please add it to the list below. Do not create patterns for minor details on a uniform, the template is for showing basic uniform colors. It is not supposed to be an accurate drawing of the uniform.
- How to name your file
- Start with Uniform_summer_ / Uniform_blouse_ / Uniform_winter_ as required, and end with .png (lower case).
- Never use the word transparent in your file. All files should have one transparent color.
- Sashes are called colorrightsash (/) or colorleftsash (\).
Make sure to include {{Scout and Guide uniform template}} on the image description page.
See also
[edit]