Template:Esports roster doc

参数

编辑
点击查看 →
{{Esports roster header
| team = 俱乐部名称
| subteam = (可选)
俱乐部分部名称(如AG超玩会)
| game = (可选)
如果俱乐部(team)参加多种比赛,请在此处写入具体比赛名称。如此参数不应用于《使命召唤联赛》或《守望先锋联赛》队伍。
| nav = (可选)
if nav=yes, inserts 'v - d - e' for rosters templates that will be used over multiple articles.
| season = (可选)
season. this parameter is used for seasonal articles, adding the season in the title, and disables the 'v - d - e' links, regardless if nav=yes.
| role = (可选)
insert role = yes if you want the "Role" column to appear.
| num = (可选)
insert Num = yes if you want the "No." column to appear.
| bg1 =
| color1 =
| bg2 =
| color2 =
(optional)
for manual colors.
if team's name appears in {{Esports color}}, colors are automatically applied but are overwritten by the bg1, color1, etc parameters.
}}
{{Esports player
| handle = handle of the player.
For links: Template will autolink [[{{{handle}}} (gamer)|{{{handle}}}]] if the page exists; otherwise, you may manually link [[{{{handle}}}]]. If autolink occurs and is undesirable, include nolink = yes as a parameter.
| dab = use if {{{handle}}} (gamer) exists but is a disambiguation page. example: Karma (gamer) is a disambiguation page, so if you wanted to link the Halo player, use dab = Halo player.
| first =
| last =
player's first and last name are all you'd need to enter in most cases.
| name = Korean names, for example, should use this parameter only.
e.g. name = Bang Sung-hyeon
| num = (optional)
if num = no or omitted in header: leave blank or omit parameter altogether.
If num = yes in header: do not leave blank. Use number on player's uniform (e.g. num = 23) or if no number is known yet, use num =  .
| role = (optional)
if role = no or omitted in header: leave blank or omit parameter altogether.
If role = yes in header: do not leave blank. If no role is known, use role =  .
| nat = nationality of the player. Text is automatically composed in {{country name}}, so IOC abbreviation or full-text will automatically give the full text.
| note = I, S, etc. appears in parentheses after player's name.
| inj = If inj=yes, injury symbol appears by player's name.
| sub = If sub=yes, substitute symbol appears by player's name.
}}
{{Esports roster footer
| head_coach = use a bulleted list. If left empty, *Vacant will appear.
| asst_coach = (optional)
use a bulleted list.
| roster_url= URL where official roster can be found.
| transaction_date= last date a roster transaction took place from above URL.
| access_date= last date the roster was updated (cannot use with transaction_date
| otherlegend= An extra item to be added to the legend.
| otherlegend2= A second extra item to be added to the legend.
}}

模板样式

编辑

完整版

编辑
{{Esports roster header
| team = 
| game = 
| num = 
| role = 
| bg1 = 
| color1 = 
| bg2 = 
| color2 = 
}}
<!-- list of players -->
{{Esports player | num =  | role =  | handle =  | name =  | nat =  | inj =  | sub =  | note = }}
{{Esports player | num =  | role =  | handle =  | first =  | last =  | nat = | inj =  | sub =  | note = }}
<!-- end of list players -->
{{Esports roster footer
| head_coach = 
| asst_coach = 
| otherlegend =
| roster_url = 
| transaction_date = 
| access_date = 
}}

简易版

编辑
{{Esports roster header
| team =  | game =  | num =  | role =  | bg1 =  | color1 =  | bg2 =  | color2 = 
}}
<!-- list of players -->
{{Esports player | num =  | role =  | handle =  | name =  | nat = | inj =  | sub =  | note = }}
{{Esports player | num =  | role =  | handle =  | first =  | last =  | nat =  | inj =  | sub =  | note = }}
<!-- end of list players -->
{{Esports roster footer
| head_coach =  | asst_coach =  | otherlegend =  | roster_url =  | transaction_date = | access_date = 
}}

参见

编辑