Template:Infobox clergy/doc: Difference between revisions

From The Global Wiki
Jump to navigation Jump to search
en>Archer1234
(move misplaced comment from 'honorific_prefix' to 'image'; remove 'ethnicity' as no longer supported by {{infobox person}}.)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 01:11, 18 January 2023

{{Infobox clergy}} may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

See {{Infobox person}} for the documentation of most parameters.

Usage

Script error: No such module "Parameter names example".

{{Infobox clergy
| child            = 
| honorific_prefix = 
| name             = <!-- use common name/article title -->
| native_name      = 
| native_name_lang = 
| honorific_suffix = 
| image            = <!-- filename only, no "File:" or "Image:" prefix, and no enclosing [[brackets]] -->
| image_size       = 
| alt              = <!-- descriptive text for use by speech synthesis (text-to-speech) software -->
| caption          = 
| nationality      = <!-- use only when necessary per [[WP:INFONAT]] -->
| citizenship      = <!-- use only when necessary per [[WP:INFONAT]] -->
| pronunciation    = 
| birth_name       = <!-- only use if different from name -->
| birth_date       = <!-- {{Birth date and age|YYYY|MM|DD}} for living people supply only the year with {{Birth year and age|YYYY}} unless the exact date is already widely published, as per [[WP:DOB]]. For people who have died, use {{Birth date|YYYY|MM|DD}}. -->
| birth_place      = 
| burial_place     = 
| death_date       = <!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (enter DEATH date then BIRTH date (e.g., ...|1967|8|31|1908|2|28}} use both this parameter and |birth_date to display the person's date of birth, date of death, and age at death) -->
| death_place      = 
| death_cause      = <!--should only be included when the cause of death has significance for the subject's notability-->
| other_names      = 
| years_active     = 
| occupation       = 
| education        = 
| alma_mater       = 
| known_for        = 
| spouse           = <!-- Use article title or common name -->
| partner          = <!-- (unmarried long-term partner) -->
| parents          = <!-- overrides mother and father parameters -->
| children         = 
| relatives        = 
| website          = <!-- {{URL|example.com}} -->
| footnotes        = 
| signature        = 
| signature_alt    = 
| nocat_wdimage    = 
| religion         = 
| church           = 
| ordained         = 
| laicised         = 
| writings         = 
| congregations    = 
| offices_held     = 
| title            = 
| module           =  
}}

Embedding other templates

The |module= parameter may used to embed other templates into this infobox (see Wikipedia:Infobox modules).

Use as a child template

The child parameter is used when embedding this infobox into another.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox clergy | child=yes
  | parameter-1 = 
  | parameter-2 = 
  | parameter-3 = 
  | parameter-4 = 
  | <!-- etc. -->
  }}
}}

Microformats

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking categories

See also