Template:Bandy squad player/doc
This is a documentation subpage for Template:Bandy squad player. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template is used to display a bandy player squad in a standard format. It has been derived from the Football squad template.
Syntax
[edit]Most squads are split into two vertical columns. For these, you can use the {{Bandy squad start}}, {{Bandy squad mid}} and {{Bandy squad end}} templates to help with the layouting, and then use this template repeatedly within them:
{{Bandy squad start}} <!-- For help using the below template, please see [[Template talk:Bandy squad player]] --> {{Bandy squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} {{Bandy squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME|other=#OTHER_RELATED_INFO}} ... {{Bandy squad mid}} {{Bandy squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{Bandy squad end}}
Alternatively, if you just want a single column, you can use {{Bandy squad blank column}} to fill in a blank right hand column.
{{Bandy squad start}} {{Bandy squad player|no=#SHIRT_NUMBER|nat=#NATIONALITY|pos=#POS_OR_ROLE|name=#PLAYER_NAME}} ... {{Bandy squad blank column}} {{Bandy squad end}}
Parameters
[edit]- 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 usually the country of the player's birth; however, if a player has dual nationality then use the country that he represents in international bandy.
- pos: The position in which the player plays. You can use any of the four options below:
- GK for Goalkeeper;
- DF for Defender;
- MF for Midfielder;
- FW for Striker or Forward;
- name: The player's name.
- other: This is an optional parameter. You can add any related info to this parameter, like specifying captain, vice-captain, whether the player is on loan, etc. It will show additional info in the brackets after the player name. You do not have to specify it if neither applies.
See also
[edit]Microformat
[edit]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
[edit]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
[edit]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.