Template:FJC Bio/doc

Usage
  allows linking to the Biographical Directory of Federal Judges of the Federal Judicial Center, using parameter of subject.

This template adds articles to Category:Wikipedia articles incorporating text from the Biographical Directory of Federal Judges.

Parameters

 * (optional; will fetch value from Wikidata property P12000 if possible) = The 4-digit, 7-digit or 8-digit ID number in the current URL, such as 1381166 in https://www.fjc.gov/node/1381166.
 * or (optional; use the current ID number if possible) = The 2-digit, 3-digit or 4-digit ID number in the former URL, such as 844 in http://www.fjc.gov/servlet/nGetInfo?jid=844. This generates an archived link, such as https://web.archive.org/web/*/http://www.fjc.gov/servlet/nGetInfo?jid=844&cid=999&ctype=na&instate=na.
 * (optional) = The link text, which should be the name of the judge. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "… (judge)" or "… (politician)".
 * (optional) = When using the "id" parameter or unnamed parameter 1, setting "inline" to any value such as  or   prevents the template from displaying a leading bullet before the text; this is necessary when using the template in an inline citation.
 * (optional) = Adds a retrieval date to the citation. Format unfortunately does not respect Use mdy dates tags and must be specified using mdy.

Current ID number in Wikidata or template

 * or

Former ID number number in template (archived link)

 * or

Current ID number in Wikidata or template

 * URL
 * https://www.fjc.gov/node/1381166


 * Usage in the article John Joseph Gibbons


 * Output
 * OOjs UI icon edit-ltr-progressive.svg

Former ID number in template (archived link)

 * URL
 * https://web.archive.org/web/*/http://www.fjc.gov/servlet/nGetInfo?jid=844&cid=999&ctype=na&instate=na


 * Usage in the article John Joseph Gibbons


 * Output

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{	"description": "This template displays an external link to a judge's biography from the Biographical Directory of Federal Judges of the Federal Judicial Center.", "params": { "nid": { "label": "Current ID number", "description": "The 4-digit, 7-digit or 8-digit ID number in the current URL, such as 1381166 in https://www.fjc.gov/node/1381166.", "default": "Wikidata property P12000", "type": "number", "required": false },		"id": { "label": "Former ID number", "aliases": ["1"], "description": "The 2-digit, 3-digit or 4-digit ID number in the former URL, such as 844 in http://www.fjc.gov/servlet/nGetInfo?jid=844. This generates an archived link, such as https://web.archive.org/web/*/http://www.fjc.gov/servlet/nGetInfo?jid=844&cid=999&ctype=na&instate=na.", "type": "number", "required": false },		"name": { "label": "Name", "aliases": ["2"], "description": "The link text, which should be the name of the judge. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as \"(judge)\" or \"(politician)\".", "default": "", "type": "string", "required": false },		"inline": { "label": "Inline", "description": "When using the \"id\" parameter or unnamed parameter 1, setting \"inline\" to any value such as \"yes\" or \"1\" prevents the template from displaying a leading bullet before the text; this is necessary when using this template for an inline citation.", "type": "string", "example": "yes", "required": false },		"access-date": { "label": "Access Date", "description": "The date when the FJC BIO was accessed. It allows the template to be used as a reference, rather than as an external link.", "type": "date", "required": false },		"date-format": { "label": "Date Format", "description": "The date format used when displaying the \"access-date\" parameter. This defaults to dmy, so \"2023-12-11\" displays as \"11 December 2023\".", "type": "string", "default": "dmy", "example": "mdy", "required": false }	} }