Difference between revisions of "Template:Infobox lacrosse player"

From blackwiki
Jump to navigation Jump to search
imported>Mnnlaxer
(changed MSL to CLA, broader category.)
imported>Mnnlaxer
(added PLL and rearranged league/team order)
Line 36: Line 36:
 
|data8    = {{#if:{{{ncaa_team|}}}|{{{ncaa_team}}} {{#if: {{{class|}}}|({{{class}}})}}}}
 
|data8    = {{#if:{{{ncaa_team|}}}|{{{ncaa_team}}} {{#if: {{{class|}}}|({{{class}}})}}}}
  
|label9  = <!-- Misc Teams:    --> {{{league}}} team{{#if: {{{former_teams|}}}|<br>Former teams}}
+
|label9 = NLL draft
|data9    = {{br separated entries|{{{team|}}}|{{{former_teams|}}}}}
+
|data9   = {{br separated entries|{{comma separated entries|{{{nll_draft|}}}|{{{nll_draft_year|}}}}}|{{{nll_draft_team|}}}}}
  
|label10  = NLL draft
+
|label10  = <!-- NLL Teams: -->{{#if: {{{nll_team|}}}|[[National Lacrosse League|NLL]] team{{#if: {{{former_nll_teams|}}}|<br>Former teams}}|{{#if: {{{former_nll_teams|}}}|[[National Lacrosse League|NLL]] teams}}}}
|data10   = {{br separated entries|{{comma separated entries|{{{nll_draft|}}}|{{{nll_draft_year|}}}}}|{{{nll_draft_team|}}}}}
+
|data10 = {{#if: {{{nll_team|}}}|{{{nll_team}}}{{#if: {{{former_nll_teams|}}}|<br>{{{former_nll_teams|}}}}}|{{#if: {{{former_nll_teams|}}}|{{{former_nll_teams}}}}}}}
  
|label11  = <!-- NLL Teams: -->{{#if: {{{nll_team|}}}|[[National Lacrosse League|NLL]] team{{#if: {{{former_nll_teams|}}}|<br>Former teams}}|{{#if: {{{former_nll_teams|}}}|[[National Lacrosse League|NLL]] teams}}}}
+
|label11  = MLL draft
|data11   = {{#if: {{{nll_team|}}}|{{{nll_team}}}{{#if: {{{former_nll_teams|}}}|<br>{{{former_nll_teams|}}}}}|{{#if: {{{former_nll_teams|}}}|{{{former_nll_teams}}}}}}}
+
|data11 = {{br separated entries|{{comma separated entries|{{{mll_draft|}}}|{{{mll_draft_year|}}}}}|{{{mll_draft_team|}}}}}
  
|label12  = <!-- CLA Teams: -->{{#if: {{{cla_team|}}}|[[Canadian Lacrosse Association|CLA]] team{{#if: {{{former_cla_teams|}}}|<br>Former teams}}|{{#if: {{{former_cla_teams|}}}|[[Canadian Lacrosse Association|CLA]] teams}}}}
+
|label12  = <!-- MLL Teams: -->{{#if: {{{mll_team|}}}|[[Major League Lacrosse|MLL]] team{{#if: {{{former_mll_teams|}}}|<br>Former teams}}|{{#if: {{{former_mll_teams|}}}|[[Major League Lacrosse|MLL]] teams}}}}
|data12   = {{#if: {{{cla_team|}}}|{{{cla_team}}}{{#if: {{{former_cla_teams|}}}|<br>{{{former_cla_teams|}}}}}|{{#if: {{{former_cla_teams|}}}|{{{former_cla_teams}}}}}}}
+
|data12 = {{#if: {{{mll_team|}}}|{{{mll_team}}}{{#if: {{{former_mll_teams|}}}|<br>{{{former_mll_teams|}}}}}|{{#if: {{{former_mll_teams|}}}|{{{former_mll_teams}}}}}}}
  
|label13 = MLL draft
+
|label13   = <!-- PLL Teams: --> [[Premier Lacrosse League|PLL]] team
|data13   = {{br separated entries|{{comma separated entries|{{{mll_draft|}}}|{{{mll_draft_year|}}}}}|{{{mll_draft_team|}}}}}
+
|data13 = {{#if:{{{pll_team|}}}|{{{pll_team}}}  
  
|label14  = <!-- MLL Teams: -->{{#if: {{{mll_team|}}}|[[Major League Lacrosse|MLL]] team{{#if: {{{former_mll_teams|}}}|<br>Former teams}}|{{#if: {{{former_mll_teams|}}}|[[Major League Lacrosse|MLL]] teams}}}}
+
|labe14  = <!-- Misc Teams:   --> {{{league}}} team{{#if: {{{former_teams|}}}|<br>Former teams}}
|data14   = {{#if: {{{mll_team|}}}|{{{mll_team}}}{{#if: {{{former_mll_teams|}}}|<br>{{{former_mll_teams|}}}}}|{{#if: {{{former_mll_teams|}}}|{{{former_mll_teams}}}}}}}
+
|data14   = {{br separated entries|{{{team|}}}|{{{former_teams|}}}}}
  
|label15 = Pro career
+
|label115  = <!-- CLA Teams: -->{{#if: {{{cla_team|}}}|[[Canadian Lacrosse Association|CLA]] team{{#if: {{{former_cla_teams|}}}|<br>Former teams}}|{{#if: {{{former_cla_teams|}}}|[[Canadian Lacrosse Association|CLA]] teams}}}}
|data15  = {{#if: {{{career_start|}}}|{{{career_start}}}{{#if:{{{career_end|}}}
+
|data15 = {{#if: {{{cla_team|}}}|{{{cla_team}}}{{#if: {{{former_cla_teams|}}}|<br>{{{former_cla_teams|}}}}}|{{#if: {{{former_cla_teams|}}}|{{{former_cla_teams}}}}}}}
 +
 
 +
|label16 = Pro career
 +
|data16  = {{#if: {{{career_start|}}}|{{{career_start}}}{{#if:{{{career_end|}}}
 
   | {{#ifeq: {{{career_start}}}|{{{career_end}}}||–{{{career_end}}} }}
 
   | {{#ifeq: {{{career_start}}}|{{{career_end}}}||–{{{career_end}}} }}
 
   | –
 
   | –
Line 61: Line 64:
 
}}
 
}}
  
|label16 = Coach
+
|label17 = Coach
|data16  = {{{coach|}}}
+
|data17  = {{{coach|}}}
  
 
|label19  = Nickname
 
|label19  = Nickname

Revision as of 15:33, 11 July 2019

{{Infobox |bodyclass = vcard | title = Template:PAGENAMEBASE | titleclass = fn

|image = Script error: No such module "Wikidata". |caption = Script error: No such module "Wikidata".

|headerstyle = background: #D0E7FF |labelstyle = white-space: nowrap |datastyle = text-align: left

|label1 = Born |data1 =

|label2 = Died |data2 =

|label3 = Nationality |data3 =

|label4 = Height |data4 =

|label5 = Weight |data5 =

|label6 = Shoots |data6 =

|label7 = Position |data7 = |class7 = role

|label8 = NCAA team |data8 =

|label9 = NLL draft |data9 =

|label10 = |data10 =

|label11 = MLL draft |data11 =

|label12 = |data12 =

|label13 = PLL team

|data13 = labe14 = {{{league}}} team

Template documentation[view] [edit] [history] [purge]

Template:Person infobox header

Template:Uses Wikidata

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!).

Template:Parameter names example

{{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

Template:UF-hcard-person