Difference between revisions of "Template:FJC Bio/doc"
imported>Zyxw m (module note) |
imported>Sdkb (Updating documentation) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
* {{{name}}} (optional) = Name, which should only be necessary if <nowiki>{{PAGENAME}}</nowiki> has a disambiguating name, such as "… (politician)" | * {{{name}}} (optional) = Name, which should only be necessary if <nowiki>{{PAGENAME}}</nowiki> has a disambiguating name, such as "… (politician)" | ||
* {{{inline}}} (optional) = <code>1</code> or <code>yes</code> which is necessary to use it in a footnote reference | * {{{inline}}} (optional) = <code>1</code> or <code>yes</code> 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 {{tl|Use mdy dates}} tags and must be specified using {{para|date-format|mdy}}. | ||
==Format== | ==Format== | ||
| Line 44: | Line 45: | ||
[[Category:Templates that add a tracking category]] | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": {}, | ||
| + | "name": {}, | ||
| + | "inline": {}, | ||
| + | "access-date": {}, | ||
| + | "date-format": { | ||
| + | "example": "mdy", | ||
| + | "default": "dmy" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
Latest revision as of 09:19, 5 November 2020
| This is a documentation subpage for Template:FJC Bio. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Wikidata Template:Tracks Wikidata
Contents
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) =
1oryeswhich 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:
- 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
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
- Category:Wikipedia articles incorporating text from the Biographical Directory of Federal Judges (0)
- Category:Biographical Directory of Federal Judges ID not in Wikidata (0)
- Category:Biographical Directory of Federal Judges ID different from Wikidata (0)
- Category:Biographical Directory of Federal Judges ID same as Wikidata (0)
- Category:FJC Bio template missing ID (0)
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | no description | Unknown | optional |
| Name | name | no description | Unknown | optional |
| Inline | inline | no description | Unknown | optional |
| Access-date | access-date | no description | Unknown | optional |
| Date-format | date-format | no description
| Unknown | optional |