Template:Politics sidebar title

2016年7月19日 (火) 15:36; Doraemonplus (会話 | 投稿記録) による版 (表示の不具合を修正。)(日時は個人設定で未設定ならUTC

(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
テンプレートの解説

This template is used to generate the above/title section in a politics sidebar

使用方法

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

パラメーター

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

国でない場合

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

リンク修正

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"

セパレーター除去

separator-width
by default, the horizontal rule at the bottom of the box has width 1px, to remove the separator, set |separator-width=0.

関連項目