Template:Region history sidebar title/sandbox
Appearance
This is the template sandbox page for Template:Region history sidebar title (diff). See also the companion subpage for test cases. |
This template is used on approximately 5,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in 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 {{Sidebar}}.
Example syntax
[edit]{{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]- 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 Netherlands
to 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]- 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]- linkoverride
- Optional parameter to override the default
History of region
link - series
- Optional parameter to override the default
Category:History of region
category link
Removing the separator
[edit]- separator-width
- By default, the horizontal rule at the bottom of the box has width 1px, to remove the separator, set
|separator-width=0
.