Template:Infobox lacrosse player/doc

From IxWiki
Revision as of 09:45, 12 August 2019 by >Mnnlaxer (→‎Optional parameters)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This infobox is for lacrosse players. Suggestions on changes can be made on the talk page. This infobox is based on Template:Infobox ice hockey player.

You must enter fields exactly as shown below (i.e.: letter case matters!).

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|upright=1]]
Lua error in Module:Wikidata at line 800: attempt to index field 'wikibase' (a nil value).
Born{{{birth_date}}}
{{{birth_place}}}
Died{{{death_date}}}
{{{death_place}}}
Nationality{{{nationality}}}
Height6 ft 3 in (1.91 m)
Weight220 pounds (100 kg)
Shoots{{{shoots}}}
Position{{{position}}}
NCAA team{{{ncaa_team}}} ({{{class}}})
NLL draft{{{nll_draft}}}, {{{nll_draft_year}}}
{{{nll_draft_team}}}
NLL team
Former teams
{{{nll_team}}}
{{{former_nll_teams}}}
MLL draft{{{mll_draft_year}}}
{{{mll_draft_team}}}
MLL team
Former teams
{{{mll_team}}}
{{{former_mll_teams}}}
PLL team
Former teams
{{{pll_team}}}
{{{former_pll_teams}}}
Pro career{{{career_start}}}–{{{career_end}}}
Coach{{{coach}}}
Nickname{{{nickname}}}
Website{{{website}}}
Career highlights

{{{career_highlights}}}

U.S. Lacrosse Hall of Fame, {{{uslaxhof_year}}}
Canadian Lacrosse Hall of Fame, {{{canlaxhof}}}
NLL Hall of Fame, {{{nllhof}}}
{{Infobox lacrosse player
| name =
| image =
| image_size = 
| birth_date = <!-- {{Birth date and age|YYYY|MM|DD}} -->
| birth_place = 
| death_date = <!-- {{Death date and age|YYYY|MM|DD}} -->
| death_place = 
| nationality =
| nationality_2 =
| height_ft =
| height_in = 
| weight_lbs =
| shoots =
| position =
| ncaa_team =
| class = 
| nll_draft = 
| nll_draft_year = 
| nll_draft_team = 
| nll_team =
| former_nll_teams =
| mll_draft = 
| mll_draft_year = 
| mll_draft_team = 
| mll_team =
| former_mll_teams =
| pll_team = 
| former_pll_teams =
| cla_team = 
| former_cla_teams =
| league =
| team =
| former teams =
| career_start =
| career_end =
| coach =
| nickname =
| website =
| career_highlights =
| medal_templates = 
| medal_templates-expand = 
| uslaxhof_year =
| canlaxhof =
| nllhof =
}}

Parameters

Required parameters

All parameters are optional

Optional parameters

name
defaults to the pagename
image
filename; e.g. "Example.jpg"
image_size
width in px, e.g. "200px"
birth_date
use {{Birth date and age|YYYY|MM|DD}}
birth_place
city, state/province
death_date
use {{Death date and age|YYYY|MM|DD}}
death_place
city, state/province
nationality
nationality_2
if a player has dual citizenship
height_ft
height_in
both height_ft and height_in required for either to work
weight_lbs
shoots
position
ncaa_team
class
graduation year
nll_draft
draft position, e.g. "23rd overall"
nll_draft_year
nll_draft_team
nll_team
current NLL team, only for active players
former_nll_teams
former NLL teams, whether active or retired, separate multiple teams with <br/>
mll_draft
draft position, e.g. "23rd overall"
mll_draft_year
mll_draft_team
mll_team
current MLL team, only for active players
former_mll_teams
former MLL teams, whether active or retired, separate multiple teams with <br/>
pll_team
current PLL team, only for active players
former_pll_teams
former PLL teams, whether active or retired, separate multiple teams with <br/>
cla_team
current CLA team, only for active players
former_cla_teams
former CLA teams, whether active or retired, separate multiple teams with <br/>
league
NOTE: only use for leagues besides NCAA, NLL, MLL, PLL, or CLA; can wikilink, displays as: "league" team
team
team from "league"
former_teams
former teams from "league", separate multiple teams with <br/>
career_start
first pro year
career_end
last pro year
coach
teams coached, separate multiple teams with <br/>; if more known as coach than player, can use {{Infobox college coach}} instead
nickname
website
the player's official website
career_highlights
highlights of the player's career, separate multiple highlights with <br/>
medal_templates
Use {{Medal|Country|{{country code}} }}, {{Medal|Sport|Box lacrosse or Field lacrosse or Women's lacrosse}}, {{Medal|Competiton|competition name}}, and {{Medal|Gold or Silver or Bronze|event date and location}} For more information, see Template: Medal templates documentation, for an example, see Tim Soudan.
medal_templates-expand
if "yes", the medal table is expanded, by default it is collapsed
uslaxhof_year
year inducted
canlaxhof
year inducted
nllhof
year inducted

Microformat

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

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

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.