Template:Historical affiliations/doc

From Wikipedia, the free encyclopedia

{{Historical affiliations}} is used to create a timeline of affiliations for a place in a standardized and accessible manner. See this search result for instances of historical affiliations quote boxes this template should replace.

Parameters[edit]

  • |1=, |2=, ... (all unnamed parameters): Entries in the affiliation list. Generally in the format {{flag|...}} (xxxx–xxxx).
  • |float=: The float of the element (either left, right, or none). Defaults to right.
  • |title=: The title to show at the top of the table. Defaults to Historical affiliations.
  • |width=: Custom width for the box. Defaults to 25em.

Example[edit]

Markup Renders as
{{Historical affiliations
| {{flag|Moldavia}} (1388–1775)
| {{flag|Habsburg Monarchy}} (1775–1804)
| {{flag|Austrian Empire}} (804–1867)
| {{flagdeco|Austria-Hungary}} [[Austria-Hungary]], [[Cisleithania]] (1793–1917)
| {{flag|Kingdom of Romania}} (1918–1947)
| {{flag|Romanian People's Republic}} (1947–1965)
| {{flagicon image|Coat of arms of Romania (1965–1989).svg}} [[Socialist Republic of Romania]] (1965–1989)
| {{flag|Romania}} (1989–present)
}}
Historical affiliations

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Historical affiliations in articles based on its TemplateData.

TemplateData for Historical affiliations

Create a timeline of affiliations for a place.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Entry 11

The first entry in the list. Generally in the format {{flag|...}} (xxxx–xxxx).

Example
{{flag|Moldavia}} (1388–1775)
Contentoptional
Entry 22

The second entry in the list. Generally in the format {{flag|...}} (xxxx–xxxx).

Example
{{flag|Moldavia}} (1388–1775)
Contentoptional
Floatfloat

The float of the containing element.

Suggested values
left none right
Default
right
Stringoptional
Titletitle

The title to show at the top of the table.

Default
Historical affiliations
Stringoptional
Widthwidth

Custom width to apply to the list container.

Default
25em
Stringoptional