ਸਮੱਗਰੀ 'ਤੇ ਜਾਓ

ਫਰਮਾ:Biographical Directory of Congress/doc

ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਆਜ਼ਾਦ ਵਿਸ਼ਵਕੋਸ਼ ਤੋਂ

{{Biographical Directory of Congress}} displays an external link to a specified article at the Biographical Directory of the United States Congress website (bioguide.congress.gov).

In the following, {{Biographical Directory of Congress can be used instead of {{CongBio.

Unnamed parameters

[ਸੋਧੋ]
  • {{CongBio|ID}}
  • {{CongBio|ID|NAME}}

Named parameters

[ਸੋਧੋ]
  • {{CongBio|id=ID}}
  • {{CongBio|id=ID|name=NAME}}
  • {{CongBio|id=ID|name=NAME|date=DATE}}
  • {{CongBio|id=ID|name=NAME|date=DATE|inline=YES}}
  • {{CongBio|id=ID|name=NAME|date=DATE|findagrave=GRID}}

There are some other additional parameters that carry default values:

author=author — defaults to United States Congress, but it can be overwritten
mode  =mode   — defaults to cs1 but can be set to cs2 (see WP:CS1)
ref   =ref    — for use with the {{harv}} templates for inline citations 
                    defaults to:{{harv|United States Congress|ID}}
                    If the author is set to something other than United States Congress
                    then it is also changed here. The ref parameter can be assigned another
                    value including none to unset the parameter.
accessdate=date — the usual name for the "Retrieved" parameter

TemplateData

[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Biographical Directory of Congress

This template displays an external link to a specified article at the Biographical Directory of the United States Congress website (bioguide.congress.gov).

ਫਰਮੇ ਦੇ ਮਾਪਦੰਡ

ਮਾਪਦੰਡਵੇਰਵਾਕਿਸਮਦਰਜਾ
ID1 id

ID portion of the URL. Example: C000482 is the ID portion of http://bioguide.congress.gov/scripts/biodisplay.pl?index=C000482

Stringrequired
Name2 name

Name of subject. If not given it defaults to the Wikipedia article name, without any disambiguation such as (politician).

ਮੂਲ ਰੂਪ
{{PAGENAME}}
Stringoptional
Access dateaccess-date accessdate date

Date the web page was accessed/retrieved.

Dateoptional
Authorauthor

Value assigned to the "author" parameter of the {{cite web}} template.

ਮੂਲ ਰੂਪ
United States Congress
Stringoptional
Refref

Value assigned to the "ref" parameter of the {{cite web}} template.

Stringoptional
Modemode

Value assigned to the "mode" parameter of the {{cite web}} template.

Stringoptional
No IDnoid

If this parameter is assigned a value (yes, 1, or anything) then the "id" parameter will not be displayed in parentheses after the "name" parameter.

Stringoptional
Inlineinline

If this parameter is assigned a value (yes, 1, or anything) then the leading asterisk/bullet is not displayed.

Stringoptional
Findagravefindagrave

If this parameter is assigned a value, then the template will display an external link to the associated page at the Find a Grave website.

Stringoptional

Examples

[ਸੋਧੋ]

In the following, {{Biographical Directory of Congress can be used instead of {{CongBio.

These examples all link to Henry Clay's biography, which is located at:

Unnamed parameters

[ਸੋਧੋ]

Usage:

{{CongBio | C000482 | Henry Clay }}

Output:

  • United States Congress. "Henry Clay (id: C000482)". Biographical Directory of the United States Congress.

Named parameters

[ਸੋਧੋ]

Usage:

{{CongBio |id= C000482 |name= Henry Clay }}

Output:

Access date

[ਸੋਧੋ]

Usage:

{{CongBio |id= C000482 |name= Henry Clay |accessdate= ਨਵੰਬਰ 21, 2024 }}

Output:

Usage:

{{CongBio |id= C000482 |name= Henry Clay |date= ਨਵੰਬਰ 21, 2024 }}

Output:

Author

[ਸੋਧੋ]

Usage:

{{CongBio |id= C000482 |name= Henry Clay |author= }}

Output:

Usage:

{{CongBio |id= C000482 |name= Henry Clay |noid= y }}

Output:

Inline

[ਸੋਧੋ]

Usage:

{{CongBio |id= C000482 |name= Henry Clay |inline= yes }}

Output:

United States Congress. "Henry Clay (id: C000482)". Biographical Directory of the United States Congress.

Findagrave

[ਸੋਧੋ]

Usage:

{{CongBio |id= C000482 |name= Henry Clay |findagrave= 203 }}

Output:

Findagrave and access date

[ਸੋਧੋ]

Usage:

{{CongBio |id= C000482 |name= Henry Clay |findagrave= 203 |date= January 26, 2010 }}

Output:

Usage:

{{CongBio |id= C000482 |name= Henry Clay |findagrave= 203 |accessdate= January 26, 2010 }}

Output:

See also

[ਸੋਧੋ]