This is a documentation subpage for Template:Baseballhof. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Baseballhof displays an external link to a Baseball Hall of Fame member's biography at the official website baseballhall.org (formerly baseballhalloffame.org). It is intended for use in the external links section of an article.
Usage
edit- Unnamed parameters
{{Baseballhof | ID }}
{{Baseballhof | ID | NAME }}
- Named parameters
{{Baseballhof | id= ID }}
{{Baseballhof | id= ID | name= NAME }}
- Using Wikidata property
{{Baseballhof}}
{{Baseballhof | name= NAME }}
Examples
editUnnamed parameters
edit- Usage
* {{Baseballhof | bell-cool-papa | Cool Papa Bell }}
- Output
- Former URL (redirect to current URL)
- https://baseballhall.org/hof/bell-cool-papa
Named parameters
edit- Usage
* {{Baseballhof | id= guerrero-vladimir | name= Vladimir Guerrero }}
- Output
- Former URL (redirect to current URL)
- https://baseballhall.org/node/16061
No parameters
edit- Usage
* {{Baseballhof}}
- Output
-
- {{Baseballhof}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for Baseballhof
This template displays an external link to a Baseball Hall of Fame member's biography at the official website baseballhall.org (formerly baseballhalloffame.org). It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as guerrero-vladimir in https://baseballhall.org/hall-of-famers/guerrero-vladimir. This parameter is optional if Wikidata property P4164 exists, but required if not.
| String | optional |
Name | name 2 | The link text, which should be the name of the Baseball Hall of Fame member. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(baseball)".
| String | optional |
External links
edit