• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.172
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Politics sidebar title

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 19,000 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 politics sidebar.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Regions that are not countries
  • 4 Modifying the linking
  • 5 Removing the separator
  • 6 See also

Usage

{{sidebar with collapsible lists
| name = {{subst:PAGENAME}}
| wraplinks = true
| bodyclass = vcard
| liststyle = text-align: left

| title = {{politics sidebar title
  | country = <!-- country -->
  | title = <!-- country or the country -->
  | image = Coat of arms of the Netherlands.svg
  | alt =
  }}

| list1title =
| list1 =

| below = {{politics sidebar below|<!-- country or the country -->}}
}}

Parameters

country
the name of the country, it should correspond to the title of the article about the country
Example: |country=Netherlands
title
the name of the country or region corresponding to the article named "Politics of title"
Example: |title=the Netherlands
image
the file name of a representative image
Example: |image=Coat of arms of the Netherlands.svg
size
the width of the image (default is frameless)
Example: |size=150px
alt
alternative text for the image
Example: |alt=The coat of arms for the Netherlands depicting ...
border
add a border around the image
Example: |border=y

Regions that are not countries

region
the name of the region, it should correspond to the title of the article about the region
Example: |region=North Dakota

Modifying the linking

link
by default, the title parameter is used for both the link text and the link. to use a different value for the link, set link to a value which corresponds to the article named "Politics of 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

  • {{politics sidebar below}}
  • {{sidebar}}
  • {{sidebar with collapsible lists}}
The above documentation is transcluded from Template:Politics sidebar title/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Politics_sidebar_title&oldid=27088"
Categories:
  • Politics by country sidebar templates
  • Sidebar meta-templates
Last edited on 13 March 2022, at 22:08

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 13 March 2022, at 22:08.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop