Difference between revisions of "Template:Basketball roster doc"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Zyxw m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB) |
||
| Line 23: | Line 23: | ||
| style="font-family:monospace;" | | dab = || e.g. "basketball" if the title of the player's bio ends with "...(basketball)". | | style="font-family:monospace;" | | dab = || e.g. "basketball" if the title of the player's bio ends with "...(basketball)". | ||
|- | |- | ||
| − | | style="font-family:monospace;" | | name = || Chinese names, for example, should use this parameter only.<br/>e.g. "< | + | | style="font-family:monospace;" | | name = || Chinese names, for example, should use this parameter only.<br/>e.g. "<kbd>name = Yao Ming</kbd>" |
|- | |- | ||
| − | | style="font-family:monospace;" | | link = <br/>| alt= || use in complex cases instead of the above,<br/>e.g. "< | + | | style="font-family:monospace;" | | link = <br/>| alt= || use in complex cases instead of the above,<br/>e.g. "<kbd>link = Mike Conley Jr.</kbd>" and "<kbd>alt=Conley, Mike Jr.</kbd>"<br/>links like this [[Mike Conley Jr.|Conley, Mike Jr.]] as it should |
|- | |- | ||
| style="font-family:monospace;" | | num = || number on player's uniform, e.g. "10" | | style="font-family:monospace;" | | num = || number on player's uniform, e.g. "10" | ||
| Line 47: | Line 47: | ||
| style="font-family:monospace;" | | roster_url= || URL where official roster can be found. | | style="font-family:monospace;" | | roster_url= || URL where official roster can be found. | ||
|- | |- | ||
| − | | style="font-family:monospace;" | | accessdate= || last date the team template is known to have been updated from above URLs<br/>ISO (< | + | | style="font-family:monospace;" | | accessdate= || last date the team template is known to have been updated from above URLs<br/>ISO (<kbd>DD-MM-YYYY</kbd>) format please or (<kbd>Month DD, YYYY</kbd>), just like "cite" templates. |
|- | |- | ||
| style="font-family:monospace;" | }} | | style="font-family:monospace;" | }} | ||
Revision as of 05:31, 5 August 2018
| click to view → | |
|---|---|
| Note: no parameters of these templates should be wiki-linked. | |
| {{Basketball roster header | |
| | template_name = | this should match the name of the template you are editing. |
| | teamlink = | The page link to the team, where the title links to |
| | team = | name of team. |
| | color1 = | bg1 = |
color scheme for the first header of the table. default is black-on-white. should match team colors. |
| | color2 = | bg2 = |
second-level headers, default is white-on-black. |
| }} {{player3 | |
| | first = | last = |
player's first and last name are all you'd need to enter in most cases |
| | dab = | e.g. "basketball" if the title of the player's bio ends with "...(basketball)". |
| | name = | Chinese names, for example, should use this parameter only. e.g. "name = Yao Ming" |
| | link = | alt= |
use in complex cases instead of the above, e.g. "link = Mike Conley Jr." and "alt=Conley, Mike Jr." links like this Conley, Mike Jr. as it should |
| | num = | number on player's uniform, e.g. "10" |
| | nat = | nationality, e.g. "United States", "Spain", "Russia", etc. or... the corresponding 3-letter abbr. (e.g. "USA", "ESP", "RUS") from the List of IOC country codes |
| | nat2 = | A second nationality with the same syntax as the |nat= parameter
|
| | pos = | See basketball positions. Acceptable values are (PG|G|SG|GF|SF|F|PF|FC|C). Column will sort in this order. |
| | m = | kgs = |
height and weight. Meters use like this example 2.10 and for kilograms just put number without anything else. |
| | inj = | If inj=yes, injury symbol appears by player's name. |
| | year/month/day = | To show a player's age, include all three of year/month/day as separate parameters. Invalid values or missing month/day will generate an error. |
| }} {{Basketball roster footer | |
| | head_coach = | asst_coach = |
coaching staff |
| | roster_url= | URL where official roster can be found. |
| | accessdate= | last date the team template is known to have been updated from above URLs ISO (DD-MM-YYYY) format please or (Month DD, YYYY), just like "cite" templates. |
| }} | |
See also
- {{Basketball roster header}}
- {{Basketball roster footer}}
- {{Player3}}
- {{NBA roster header}}
- {{NBA roster footer}}