Template:Baseball-reference manager/doc
Appearance
This is a documentation subpage for Template:Baseball-reference manager. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
This template uses Lua: |
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:
- Usage
{{Baseball-reference manager|lamonge01}}
- Output
Named parameters
[edit]Example for Cy Young:
- Usage
{{Baseball-reference manager|id=youngcy01}}
- Output
No parameters and Wikidata property not defined
[edit]- Usage
{{Baseball-reference manager}}
- Output
- {{Baseball-reference manager}} template missing ID and not present in Wikidata.