Difference between revisions of "Template:FJC Bio"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(ce)
imported>JJMC89
(tracking categories, edit link)
Line 1: Line 1:
{{#if:{{{inline|}}}||*}}[http://www.fjc.gov/servlet/nGetInfo?jid={{{1|{{{id|{{#property:P2736|[[Category:FJC Bio template with no id set]]}}}}}}}}&cid=999&ctype=na&instate=na {{{2|{{{name|{{PAGENAMEBASE}}}}}}}}] at the ''[[Biographical Directory of Federal Judges]]'', a [[public domain]] publication of the [[Federal Judicial Center]].<includeonly>[[Category:Wikipedia articles incorporating text from the Biographical Directory of Federal Judges]]</includeonly><noinclude>
+
{{#if:{{{inline|}}}||*}}[http://www.fjc.gov/servlet/nGetInfo?jid={{Trim|{{{id|{{{1|{{#property:P2736|[[Category:FJC Bio template with no id set]]}}}}}}}}}}&cid=999&ctype=na&instate=na {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}] at the ''[[Biographical Directory of Federal Judges]]'', a [[public domain]] publication of the [[Federal Judicial Center]].<includeonly>{{EditAtWikidata|pid=P2736|{{{id|{{{1|}}}}}}}}{{#if:{{{id|}}}{{{1|}}}|{{WikidataCheck|property=P2736|value={{{id|{{{1|}}}}}}|category=Biographical Directory of Federal Judges ID}}}}[[Category:Wikipedia articles incorporating text from the Biographical Directory of Federal Judges]]</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 00:27, 18 September 2016

50px Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata

Usage

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

  • {{{1}}} (optional; will fetch value from Wikidata if possible) = ID number of the biography you are linking to (see below). NOTE: Some biographies use three-digit IDs, others may use two or four digits
  • {{{name}}} (optional) = Name, which should only be necessary if {{PAGENAME}} has a disambiguating name, such as "… (politician)"
  • {{{inline}}} (optional) = 1 or yes which is necessary to use it in a footnote reference
  • {{{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

  • {{FJC Bio}} or
  • {{FJC Bio | 1234 | John Smith }}

Examples

Typical

John Joseph Gibbons's biography is at http://www.fjc.gov/servlet/tGetInfo?jid=844,
So {{FJC Bio|844}} will display an itemized external link to that biography:

Using inline

To use the template without the itemizing bullet, type {{FJC Bio|844|inline=1}}:

John Joseph Gibbons at the Biographical Directory of Federal Judges, a public domain publication of the Federal Judicial Center.Script error: No such module "EditAtWikidata".Template:WikidataCheck

Tracking categories

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional
Namename

no description

Unknownoptional
Inlineinline

no description

Unknownoptional
Access-dateaccess-date

no description

Unknownoptional
Date-formatdate-format

no description

Default
dmy
Example
mdy
Unknownoptional