Template:Extended football squad player/doc

From Simple English Wikipedia, the free encyclopedia

Parameters[change source]

  • no: The shirt number for the player, if they have one. If the player's number is not known, or unassigned, then you can use the character instead.
  • nat: The player's nationality. Use the name of the country, or its 3-letter IOC country code, rather than an adjective (e.g. "Spain" instead of "Spanish"). This is for the country that the player represents in international football (regardless of nationality of birth or citizenship, or non-FIFA sporting nationalities the player may use in other contexts). If this template is used in a non-FIFA context, then some other nationality might apply; however, this parameter is never for indication of birthplace as such, which has nothing to do with football.
  • natvar: If the relevant flag of the country is other that its current one, e.g. |natvar=1931. (see Template:Flagicon/doc for how to look up the available flag options for each country.)
  • pos: The position in which the player plays. You can use any of the four options below:
    1. GK for Goalkeeper;
    2. DF for Defender;
    3. MF for Midfielder;
    4. FW for Striker or Forward;
  • name: The player's name.
  • Up to 12 unnamed parameters for appearances (odd-numbered parameters) and goals (even-numbered parameters).

Microformat[change source]

The HTML markup produced by this template includes an hCard microformat, which makes the person's details 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 or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[change source]

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[change source]

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.