Difference between revisions of "Template:FJC Bio/doc"
Jump to navigation
Jump to search
Using
imported>Bob Burkhardt m (→Usage) |
imported>Pigsonthewing (update) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{Uses Wikidata|P2736}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| Line 8: | Line 9: | ||
==Parameters== | ==Parameters== | ||
| − | * {{{1}}} ( | + | * {{{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 <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 | ||
==Format== | ==Format== | ||
| − | < | + | |
| + | * <code><nowiki>{{FJC Bio}}</nowiki></code> or | ||
| + | * <code><nowiki>{{FJC Bio | 1234 | John Smith }}</nowiki></code> | ||
==Examples== | ==Examples== | ||
===Typical=== | ===Typical=== | ||
[[John Joseph Gibbons]]'s biography is at http://www.fjc.gov/servlet/tGetInfo?jid=844,<br> | [[John Joseph Gibbons]]'s biography is at http://www.fjc.gov/servlet/tGetInfo?jid=844,<br> | ||
| − | So < | + | So <code><nowiki>{{FJC Bio|844}}</nowiki></code> will display an itemized external link to that biography: |
{{FJC Bio|844|name=John Joseph Gibbons}}<!-- name needed for this example, since {{PAGENAME}} is not appropriate --> | {{FJC Bio|844|name=John Joseph Gibbons}}<!-- name needed for this example, since {{PAGENAME}} is not appropriate --> | ||
| + | |||
===Using '''<code>inline</code>'''=== | ===Using '''<code>inline</code>'''=== | ||
| − | To use the template without the itemizing bullet, type < | + | To use the template without the itemizing bullet, type <code><nowiki>{{FJC Bio|844|inline=1}}</nowiki></code>: |
{{FJC Bio|844|inline=1|name=John Joseph Gibbons}}<!-- see previous comment --> | {{FJC Bio|844|inline=1|name=John Joseph Gibbons}}<!-- see previous comment --> | ||
Revision as of 18:55, 27 July 2016
| 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. |
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
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