Template:Person-played-for

From SABR Encyclopedia

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
|-
|-
-
| {{#if: {{{club|}}} | {{#ifeq: {{{type|professional}}} | professional | [[person-played-for::{{#ask: [[{{{year}}} {{{club}}} ({{{league}}})]] | ?team-kjokID=}}]] | {{{year}}} {{{club}}} ({{{league}}}) }}  | [[person-played-for::{{#ask: [[{{{1}}}]] | ?team-kjokID=}}]] }}
+
| {{#if: {{{club|}}} | {{#ifeq: {{{type|professional}}} | professional | [[person-played-for::{{#ask: [[{{{year}}} {{{club}}} ({{{league}}})]] | ?team-kjokID=}}]] | {{{year}}} {{{club}}} ({{{league}}}) }}  | [[person-played-for::{{#ask: [[{{{1}}}]] | ?team-kjokID=}}| {{{year}}} {{{club}}} {{{league}}}]] }}
<noinclude>
<noinclude>
This template formally records that a person was a player on a particular club in a given year.
This template formally records that a person was a player on a particular club in a given year.

Revision as of 02:00, 17 July 2009

|-

| [[person-played-for::
!
"Cleveland, Ohio/Early game 1"
"The West"
"society for american baseball research"
't Hoen
't hoen
(2b)
(3-21-39 in Braves-61)
(Al)
(Canisius College 1994)
(Chili)
(Dick)
(Jack)
(L/R)
(Major)
(Pud)
(R/R)
(Ralph)
(Red)
(Rube)
(Shag)
(Tony)
(Vedie)
(c)
(inf)
(of)
(rhp)
/A Raymundo
/Jodie
/Or Clyde W
/Pat
/sabrlinks
03
041d4h8z2
0e7y2e2f1h
0fdu11slf3c
0l7m3d3q1e
0u0o6m7y4i
0v3n9c6x3h
1
10
10,001
10,003
10,004
10,005
10,006
10,007
10,008
10,009
10,010
… further results

warning.pngSome part "<nowiki></nowiki>" of the query was not understood. Some subquery has no valid condition. | {{{year}}} {{{club}}} {{{league}}}]]

This template formally records that a person was a player on a particular club in a given year.

In the most usual case of a person playing on a professional club in an organized league, this template is only used when the person is confirmed to have appeared in at least one official game in the league. In that case, the parameters year, club, and league specify the club in question, where club is the "short name" of the club, and league the "short name" of the league. Thus, a typical case might look like:

{{person-played-for | year=1982 | club=Columbus | league=International}}

This template can also be used to record playing engagements outside of professional leagues. The same syntax is used, but an additional parameter type specifies the nature of the playing engagement. Possible values for type include:

  • independent: A team unaffiliated with an organized league. (Note this specifies the team is independent, and should not be confused with a team in an independent league.)
  • semipro: A semi-professional team.
  • college: A college or college-based team, generally the varsity team in modern intercollegiate competition, but may include club teams in the 19th and early 20th centuries where no recognized varsity team existed.

Optional parameters may give more information about the engagement. They include:

  • start_month: The month in which the person appeared in his first game (1-12)
  • start_day: The day of month on which the person appeared in his first game (1-31)
  • end_month: The month in which the person appeared in his last game (1-12)
  • end_day: The day of month on which the person appeared in his last game (1-31)