Template:Baseball-reference manager

This template uses the Wikidata property:
NO LABEL (P12331) (see uses)
![]() | This template uses Lua: |
Usage
- 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
To use this template, copy and paste of the following to a baseball manager's external links section:
<syntaxhighlight lang="wikitext">
- {{Baseball-reference manager}} template missing ID and not present in Wikidata.
- {{Baseball-reference manager}} template missing ID and not present in Wikidata.
</syntaxhighlight>
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
Unnamed parameters
Example for Gene Lamont:
- Usage
- <syntaxhighlight lang="wikitext">
- Baseball-reference manager managerial career statistics at Baseball-Reference.com</syntaxhighlight>
- Output
Named parameters
Example for Cy Young:
- Usage
- <syntaxhighlight lang="wikitext">
- Baseball-reference manager managerial career statistics at Baseball-Reference.com</syntaxhighlight>
- Output
No parameters and Wikidata property not defined
- Usage
{{Baseball-reference manager}}
- Output
- {{Baseball-reference manager}} template missing ID and not present in Wikidata.