Difference between revisions of "Template:FJC Bio/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(update)
imported>Zyxw
(add links to tracking categories)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
{{Uses Wikidata|P2736}}
 
{{Uses Wikidata|P2736}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{Tracks Wikidata|P2736}}
  
 
==Usage==
 
==Usage==
Line 14: Line 15:
  
 
==Format==
 
==Format==
 
 
* <code><nowiki>{{FJC Bio}}</nowiki></code> or
 
* <code><nowiki>{{FJC Bio}}</nowiki></code> or
 
* <code><nowiki>{{FJC Bio | 1234 | John Smith }}</nowiki></code>
 
* <code><nowiki>{{FJC Bio | 1234 | John Smith }}</nowiki></code>
Line 29: Line 29:
 
{{FJC Bio|844|inline=1|name=John Joseph Gibbons}}<!-- see previous comment -->
 
{{FJC Bio|844|inline=1|name=John Joseph Gibbons}}<!-- see previous comment -->
  
<includeonly>
+
==Tracking categories==
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
+
* [[:Category:Biographical Directory of Federal Judges ID not in Wikidata]] ({{PAGESINCAT:Biographical Directory of Federal Judges ID not in Wikidata}} pages)
[[Category:United States government attribution templates|{{PAGENAME}}]]
+
* [[:Category:Biographical Directory of Federal Judges ID different from Wikidata]] ({{PAGESINCAT:Biographical Directory of Federal Judges ID different from Wikidata}} pages)
[[Category:Law external link templates|{{PAGENAME}}]]
+
* [[:Category:Biographical Directory of Federal Judges ID same as Wikidata]] ({{PAGESINCAT:Biographical Directory of Federal Judges ID same as Wikidata}} pages)
[[Category:People and person external link templates|{{PAGENAME}}]]
+
* [[:Category:Wikipedia articles incorporating text from the Biographical Directory of Federal Judges]] ({{PAGESINCAT:National Portrait Gallery (London) person ID same as Wikidata}} pages)
 +
 
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:United States government attribution templates]]
 +
[[Category:Law external link templates]]
 +
[[Category:People and person external link templates]]
 +
[[Category:Templates that add a tracking category]]
  
[[ja:Template:FJC Bio]]
+
}}</includeonly>
</includeonly>
 

Revision as of 17:56, 20 October 2016

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

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