Jump to content

Template:Player/doc

From Wikipedia, the free encyclopedia

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 United States Tim Byrdak
  • 27 Dominican Republic Vladimir Guerrero Injured
  • 01 Canada Tim Template (C)
  • 02 Australia 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]