Template:Baseball-reference manager/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Script error: No such module "Message box". Template:Uses Wikidata Template: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:

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

Unnamed parameters

Example for Gene Lamont:

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

Named parameters

Example for Cy Young:

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

No parameters and Wikidata property not defined

Usage
{{Baseball-reference manager}}
Output