แม่แบบ:ชุดแข่งขันฟุตบอล

จากวิกิพีเดีย สารานุกรมเสรี
(เปลี่ยนทางจาก แม่แบบ:Football kit)
Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

This template can be used to display small approximations of a football (or rugby) kit in an article.

การใช้งาน[แก้]

Note this is best used as a sub-template of an infobox such as {{Infobox football club}} or {{Infobox National football team}}. See those templates for usage details.

To insert a standalone instance of a football kit on a page, use {{Football kit 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.

ตัวอย่าง[แก้]

Jersey with blue and white vertical stripes, blue shorts, and blue socks
Principal
{{Football kit
|alt        = Jersey with blue and white vertical stripes, blue shorts, and blue socks
|pattern_la = _white_stripes
|pattern_b  = _white_stripes
|pattern_ra = _white_stripes
|pattern_sh = 
|pattern_so = 
|leftarm    = 1F24B4
|body       = FFFFFF
|rightarm   = 1F24B4
|shorts     = 1F24B4
|socks      = 1F24B4
|title      = Principal
}}

The |alt= parameter is for visually impaired readers; see Wikipedia:Alternative text for images. The |pattern_ra= parameter is the pattern modifier for the right arm, e.g. "_white_stripes" would change the right arm to kit_right_arm_white_stripes.png.

สร้างรูปแบบเสื้อใหม่[แก้]

ตัวอย่างการสร้างรูปแบบเสื้อใหม่แสดงอยู่ด้านล่าง เมื่อคุณสร้างรูปแบบเสื้อใหม่แล้วกรุณาเพิ่มลงในรายชื่อด้านล่างนี้ อย่าสร้างแบบเสื้อที่ระบุสิ่งที่ไม่จำเป็นในเสื้อ, แม่แบบนี้แสดงแบบสีพื้นฐาน ไม่ได้เจาะลึกถึงรายละเอียดปลีกย่อย

การตั้งชื่อไฟล์ของคุณ
  • เริ่มด้วย Kit_body_ / Kit_right_arm_ / Kit_left_arm_ ต้องระบุ และลงท้ายด้วย .png (ตัวเล็ก)
  • อย่า ใช้คำว่า transparent ในไฟล์ของคุณ เพราะทุกไฟล์ต้องมีสีโปร่งใสอยู่แล้ว
  • ลายตั้งหลายลายเรียกว่า colourstripes
  • ลายตั้งลายเดียวเรียกว่า colourvertical
  • ลายขวางหลายลายเรียกว่า colourhoops
  • ลาบขวางลายเดียวเรียกว่า colourhorizontal
  • แบ่งครึ่งเรียกว่า colourhalf.
  • สายสะพายเรียกว่า colourrightsash (/) หรือ colourleftsash (\).

Make sure to include {{Football kit template}} on the image description page.

ดูเพิ่ม[แก้]