توضیحات الگو[نمایش] [ویرایش] [تاریخچه] [پاکسازی]

Usage ویرایش

{{National squad
  | name      = {{subst:PAGENAME}} (this allows the view/discuss/edit links to work)
  | bg        = background colour (default = transparent)
  | fg        = foreground colour (default = inherit)
  | bordercolor = border colour (default = #a2a9b1)
  | country   = country name used for flag template
  | flagvar   = flag variation (e.g. historical)
  | team link = link to team's article (default = "''country'' national football team")
  | title     = main title (default = "''country'' squad")
  | comp      = competition
  | comp link = link to competition page (default = ''comp'')
  | gender    = team gender (female adds women's to the football team link)
  | p1        = player 1
  | p2        = player 2
  | p3        = player 3
  | p4        = player 4
  | p5        = player 5
  | p6        = player 6
  | p7        = player 7
  | p8        = player 8
  | p9        = player 9
  | p10       = player 10
  | p11       = player 11 (''optional'')
  | p12       = player 12 (''optional'')
  | p13       = player 13 (''optional'')
  | p14       = player 14 (''optional'')
  | p15       = player 15 (''optional'')
  | p16       = player 16 (''optional'')
  | p17       = player 17 (''optional'')
  | p18       = player 18 (''optional'')
  | p19       = player 19 (''optional'')
  | p20       = player 20 (''optional'')
  | p21       = player 21 (''optional'')
  | p22       = player 22 (''optional'')
  | p23       = player 23 (''optional'')
  | coach     = coach (''optional'')
  | note      = a free-form note placed on a separate line after the rest of the content (''optional'')
}}

Blank template ویرایش

{{National squad
  | name      = {{subst:PAGENAME}}
  | bg        = 
  | fg        = 
  | bordercolor = 
  | country   = 
  | flagvar   = 
  | team link = 
  | title     = 
  | comp      = 
  | comp link = 
  | gender    = 
  | p1        = 
  | p2        = 
  | p3        = 
  | p4        = 
  | p5        = 
  | p6        = 
  | p7        = 
  | p8        = 
  | p9        = 
  | p10       = 
  | p11       = 
  | p12       = 
  | p13       = 
  | p14       = 
  | p15       = 
  | p16       = 
  | p17       = 
  | p18       = 
  | p19       = 
  | p20       = 
  | p21       = 
  | p22       = 
  | p23       = 
  | p24       =
  | p25       =
  | p26       =
  | p27       =
  | p28       =
  | coach     = 
  | note      = 
}}

If one wishes to use a hand-crafted list of players instead of the one built into this template, for example to provide different jersey numbers, use the parameter "list" instead. This overrides all of the player parameters and the coach parameter. One may use the templates {{football squad2 player}} and {{cricket squad2 coach}} to format this list.

{{National squad
  | name      = {{subst:PAGENAME}} (this allows the view/discuss/edit links to work)
  | bg        = background colour (default = transparent)
  | fg        = foreground colour (default = inherit)
  | country   = country name used for flag template
  | flagvar   = flag variation (e.g. historical)
  | team link = link to team's article (default = "''country'' national football team")
  | title     = main title (default = "''country'' squad")
  | comp      = competition
  | comp link = link to competition page (default = ''comp'')
  | list      = free-form list of players and coaches.
  | note      = a free-form note placed on a separate line after the rest of the content (''optional'')
}}

Microformat ویرایش

کد اچ‌تی‌ام‌ال تولیدشده توسط این الگو محتوی یک میکروفرمت hCard است که جزئیات سازمان را برای رایانه‌ها قابل تجزیه می‌کند.

الگوهای زیرمجموعه ویرایش

  • اگر نهاد تاریخ بنیادگذاری یا آغاز یا گشایش یا ... دارد می‌توانید از {{تاریخ آغاز و سن}} استفاده کنید.
  • برای نشانی وبگاه نهاد از {{نشانی وب}} استفاده کنید.
  • اگر نهاد مختصات جغرافیایی دارد از {{Coord}} استفاده کنید برای نمایش ، که دستگاه مختصات جغرافیایی (طول و عرض) با تجزیهٔ دستور نمایش می‌دهد.parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit.

Please do not remove instances of these sub-templates.

Classes ویرایش

hCard از کلاس‌های اچ‌تی‌ام‌ال استفاده می‌کند ازجمله موارد زیر:

    • adr
    • agent
    • category
    • country-name
    • extended-address
    • fn
    • geo
    • label
    • latitude
    • locality
    • longitude
    • nickname
    • note
    • org
    • region
    • street-address
    • url
    • vcard

لطفا این کلاس‌ها یا تغییر نام یا حذف نکنید؛ nor collapse nested elements which use them.