Template:Region history sidebar title/doc: Difference between revisions
Appearance
Remove unused Wikipedia category assignments |
Remove unsupported imported template links from documentation |
||
| Line 3: | Line 3: | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) --> | ||
This template is used to generate the above/title section in a region history sidebar. Place it in the {{para|title}} parameter of a template that uses | This template is used to generate the above/title section in a region history sidebar. Place it in the {{para|title}} parameter of a template that uses <code>Template:Sidebar</code>. | ||
== Example syntax == | == Example syntax == | ||
| Line 49: | Line 49: | ||
== See also == | == See also == | ||
* | * <code>Template:Politics sidebar title</code> | ||
* | * <code>Template:Politics sidebar below</code> | ||
* | * <code>Template:Sidebar</code> | ||
* {{tl|Sidebar with collapsible lists}} | * {{tl|Sidebar with collapsible lists}} | ||
Latest revision as of 23:37, 26 September 2026
| icon | This is a documentation subpage for Template:Region history sidebar title It may contain usage information, categories and other content that is not part of the original template page. |
| Warning | This template is used on approximately 5,900 pages and changes may be widely noticed. Test changes in the your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is used to generate the above/title section in a region history sidebar. Place it in the |title= parameter of a template that uses Template:Sidebar.
Example syntax
[edit source]{{Sidebar with collapsible lists
| name = {{subst:PAGENAME}}
| bodyclass = vcard <!--plainlist / hlist-->
| wraplinks = true
| title = {{Region history sidebar title |country= <!-- or: |region= --> |image=[[File:(filename)|frameless]]}}
| expanded = {{{expanded|{{{1|}}}}}}
| list1name =
| list1title =
| list1 =
| list2name =
| list2title =
| list2 =
<!-- (etc) -->
| below = {{portal-inline|''region or country''|size=tiny}}
}}
Parameters
[edit source]- country
- The name of the country, which should be the same as the name used in the article about the history of the country.
- Example:
|country=the Netherlandsto link to History of the Netherlands. - image
- Filename of a representative image.
- Example:
|image=[[File:Albania state emblem.svg|75px|State emblem of Albania]]
For regions that are not countries
[edit source]- region
- The name of the region, which should correspond with the title of the article about the region.
- Example:
|region=North Dakota
Modifying links
[edit source]- linkoverride
- Optional parameter to override the default
History of regionlink - series
- Optional parameter to override the default
Category:History of regioncategory link
Removing the separator
[edit source]- separator-width
- By default, the horizontal rule at the bottom of the box has width 1px, to remove the separator, set
|separator-width=0.
See also
[edit source]Template:Politics sidebar titleTemplate:Politics sidebar belowTemplate:Sidebar- {{Sidebar with collapsible lists}}