Jump to content

Template:FJC Bio/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

{{FJC Bio}} 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

[edit]
  • {{{nid}}} (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.
  • {{{id}}} or {{{1}}} (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.
  • {{{name}}} (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)".
  • {{{inline}}} (optional) = 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 the template in an inline citation.
  • {{{access-date}}} (optional) = Adds a retrieval date to the citation. Format unfortunately does not respect {{Use mdy dates}} tags and must be specified using |date-format=mdy.

Format

[edit]

Current ID number in Wikidata or template

[edit]
  • {{FJC Bio}} or
  • {{FJC Bio | nid= 1234567 | name= John Smith }}

Former ID number number in template (archived link)

[edit]
  • {{FJC Bio | 1234 | John Smith }} or
  • {{FJC Bio | id= 1234 | name= John Smith }}

Examples

[edit]

Current ID number in Wikidata or template

[edit]
URL
https://www.fjc.gov/node/1381166
Usage in the article John Joseph Gibbons
* {{FJC Bio}}
* {{FJC Bio | nid= 1381166 }}
{{FJC Bio | nid= 1381166 | access-date= 2024-12-3 }}
{{FJC Bio | nid= 1381166 | access-date= 2024-12-3 | date-format= mdy }}
{{FJC Bio | nid= 1381166 | access-date= 2024-12-3 | date-format= iso }}
Output
John Joseph Gibbons at the Biographical Directory of Federal Judges, a publication of the Federal Judicial Center. Retrieved 3 December 2024.
John Joseph Gibbons at the Biographical Directory of Federal Judges, a publication of the Federal Judicial Center. Retrieved December 3, 2024.
John Joseph Gibbons at the Biographical Directory of Federal Judges, a publication of the Federal Judicial Center. Retrieved 2024-12-03.

Former ID number in template (archived link)

[edit]
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
{{FJC Bio | 844 }}
{{FJC Bio | id= 844 | inline= yes | access-date= 2024-12-3 }}
{{FJC Bio | id= 844 | inline= yes | access-date= 2024-12-3 | date-format= mdy }}
{{FJC Bio | id= 844 | inline= yes | access-date= 2024-12-3 | date-format= iso }}
Output
John Joseph Gibbons at the Biographical Directory of Federal Judges, a publication of the Federal Judicial Center. Retrieved 3 December 2024.
John Joseph Gibbons at the Biographical Directory of Federal Judges, a publication of the Federal Judicial Center. Retrieved December 3, 2024.
John Joseph Gibbons at the Biographical Directory of Federal Judges, a publication of the Federal Judicial Center. Retrieved 2024-12-03.

No parameters and Wikidata property not defined

[edit]
Usage
{{FJC Bio}}
Output
  • {{FJC Bio}} template missing ID and not present in Wikidata.

Tracking categories

[edit]

TemplateData

[edit]

This template displays an external link to a judge's biography from the Biographical Directory of Federal Judges of the Federal Judicial Center.

Template parameters

ParameterDescriptionTypeStatus
Current ID numbernid

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
Numberoptional
Former ID numberid 1

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.

Numberoptional
Namename 2

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
{{PAGENAMEBASE}}
Stringoptional
Inlineinline

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.

Example
yes
Stringoptional
Access Dateaccess-date

The date when the FJC BIO was accessed. It allows the template to be used as a reference, rather than as an external link.

Dateoptional
Date Formatdate-format

The date format used when displaying the "access-date" parameter. This defaults to dmy, so "2023-12-11" displays as "11 December 2023".

Default
dmy
Example
mdy
Stringoptional