Template:Historical affiliations/doc
Appearance
![]() | This is a documentation subpage for Template:Historical affiliations. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
![]() | This template uses TemplateStyles: |
{{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
|1=
,|2=
,...
(all unnamed parameters): Entries in the affiliation list. Generally in the format{{flag|...}} (xxxx–xxxx)
.|float=
: The float of the element (eitherleft
,right
, ornone
). Defaults toright
.|title=
: The title to show at the top of the table. Defaults toHistorical affiliations
.|width=
: Custom width for the box. Defaults to25em
.
Example
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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Entry 1 | 1 | The first entry in the list. Generally in the format {{flag|...}} (xxxx–xxxx).
| Content | optional |
Entry 2 | 2 | The second entry in the list. Generally in the format {{flag|...}} (xxxx–xxxx).
| Content | optional |
Float | float | The float of the containing element.
| String | optional |
Title | title | The title to show at the top of the table.
| String | optional |
Width | width | Custom width to apply to the list container.
| String | optional |