Jump to content

Template:Region history sidebar title/doc: Difference between revisions

From the Vrienden Universe, a fictional wiki
wiki>JJMC89 bot III
 
Remove unused Wikipedia category assignments
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
{{High-use}}
{{High-use}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia: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 {{tl|Sidebar}}.
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}}.
Line 56: Line 56:
<includeonly>{{Sandbox other|
<includeonly>{{Sandbox other|
| <!-- Categories below this line, please; interwikis at Wikidata -->
| <!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:History sidebar templates by country| ]]
 
[[Category:History of religion templates]]
 
[[Category:Sidebar metatemplates]]
 
}}</includeonly>
}}</includeonly>

Latest revision as of 14:41, 16 September 2026

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 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 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 source]
region
The name of the region, which should correspond with the title of the article about the region.
Example: |region=North Dakota
[edit source]
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 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]