Template:Region history sidebar title/doc

From IxWiki
Revision as of 14:28, 23 August 2023 by Insui (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia: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 {{tl|Sidebar}}. == Example syntax == <pre style="overflow:auto;"> {{Sidebar with collapsible lists | name = {{subst:PAGENAME}} | bodyclass = vcard <!--plainlist /...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

{{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

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

region
The name of the region, which should correspond with the title of the article about the region.
Example: |region=North Dakota

Modifying links

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

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