Template:Baseball-reference manager/doc

From Wikipedia, the free encyclopedia

Usage[edit]

Unnamed parameters
{{Baseball-reference manager | ID }}
{{Baseball-reference manager | ID | NAME }}
Named parameters
{{Baseball-reference manager | id= ID }}
{{Baseball-reference manager | id= ID | name= NAME }}
Using Wikidata property
{{Baseball-reference manager}}
{{Baseball-reference manager | name= NAME }}

Instructions[edit]

To use this template, copy and paste of the following to a baseball manager's external links section:

{{Baseball-reference manager|}}
{{Baseball-reference manager|id=}}

Add the portion of the URL from Baseball-Reference.com as the ID parameter. Find the manager's page on baseball-reference.com/managers/ and locate the string of numbers and letters between https://www.baseball-reference.com/managers/ and .shtml. That is the manager's ID.

Examples[edit]

Unnamed parameters[edit]

Example for Gene Lamont:

URL
https://www.baseball-reference.com/managers/lamonge01.shtml
Usage
{{Baseball-reference manager|lamonge01}}
Output

Named parameters[edit]

Example for Cy Young:

URL
https://www.baseball-reference.com/managers/youngcy01.shtml
Usage
{{Baseball-reference manager|id=youngcy01}}
Output

No parameters and Wikidata property not defined[edit]

Usage
{{Baseball-reference manager}}
Output