Template:Historical affiliations/doc
| 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. |
| File:Lua-Logo.svg | This template uses Lua: |
Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
{{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 source]|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
[edit source]| Markup | Renders as |
|---|---|
{{Historical affiliations
| {{flag|Moldavia}} (1388–1775)
| {{flag|Habsburg Monarchy}} (1775–1804)
| {{flag|Austrian Empire}} (1804–1867)
| {{flag decoration|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 source]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 |