Шаблон:Baseball uniform/документація
Це підсторінка документації шаблону {{Baseball uniform}}. Вона містить інформацію про використання, категорії та інший вміст, що не є частиною оригінальної сторінки шаблону. |
Syntax
ред.Template:Baseball uniform is a template for a basic baseball uniform. It is based on ideas from Template:Football kit. Home and away uniforms, using this template, are used by Template:Infobox baseball team, which may be a useful infobox for non-major league teams.
{{Baseball uniform | cap = 0000AA | pattern_cap = _redbill | leftarm = 9999FF | pattern_la = | body = 0000AA | pattern_b = _baseball_whitepiping | rightarm = 9999FF | pattern_ra = | pants = 0000AA | pattern_pants = _pinstripesonwhite | socks = AA0000 | title = Ugly }}
As with Template:Football_kit, patterns are suffixes to the basic images that make up the template. Thus, in the example above, _thinstripesonwhite gets the body pattern (i.e., pattern_b) with pinstripes on a white field. There are many examples of shirts and sleeves at the talk page for the football kit template (i.e., Template talk:Football kit. However, for baseball we may need special patterns for caps and pants.
Baseball-specific patterns
ред.For new patterns, please use the same dimensions as for the basic patterns. When you upload your pattern image (with the correct name, of course), please add it to the appropriate list below. If it is a shirt, please add it to the talk page for the football kit, as well.
When you create patterns, please use transparency! This allows other users of the template to utilize the images you've created.
Caps
ред.The base image is called 'Image:Kit_baseball_cap.png'. You might need to create a new pattern if the bill of the cap is different from the crown, etc.
Pants
ред.I called the base image 'Image:Kit_trousers.png' because I was gunshy about the word "pants."
Baseball Shirts
ред.Generic patterns
ред.The patterns below were created for use with the {{Football kit}} template and may not be appropriate for most baseball uniforms. However, they should give many ideas for what you can do with this framework.
{{{2}}}
[[Image:Kit_{{{1}}}_{{{2}}}.png|{{{2}}}]]