Template:Player/doc
Appearance
![]() | This is a documentation subpage for Template:Player. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage[edit]
- To use:
{{player|number|Country|name}}
If the player is on the disabled list:
{{player|number|Country|name|DL}}
Example[edit]
{{player|40|USA|[[Tim Byrdak]]}}
{{player|27|DOM|[[Vladimir Guerrero]]|DL}}
{{player|01|CAN|Tim Template|captain=1}}
{{player|02|AUS|Tara Template|alternate=1}}
- 40
Tim Byrdak
- 27
Vladimir Guerrero
- 01
Tim Template (C)
- 02
Tara Template (A)
Microformat[edit]
The HTML markup produced by this template includes an hCard microformat, which makes the person's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
To include a URL, use {{URL}}.
Classes[edit]
The hCard in this template uses at least some of these HTML classes:
- agent
- family-name
- fn (required)
- given-name
- honorific-prefix
- honorific-suffix
- n
- nickname
- org
- url
- vcard
Please do not rename or remove these classes nor collapse nested elements which use them.
See also[edit]
- {{Playern}}
- {{Aflplayer}}
- {{CFL player}}
- {{MLBplayer}}
- {{NCAAplayer}}
- {{NFLplayer}}
- {{Rls player}}