模板:Politics sidebar title

文件圖示 模板文件

本模板用來為政治相關模板生成標題或者頂欄。

用法

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

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

| list1title =
| list1 =

| below = {{politics sidebar below|<!-- 國家名 -->}}
}}

參數

country
國家名,需要與條目的標題相對應
示例:|country=Netherlands
title
條目標題相對應的國家或地區名
示例:|title=the Netherlands
image
文件名
示例:|image=Coat of arms of the Netherlands.svg
size
圖像寬度(默認為frameless)
示例:|size=150px
alt
圖像替換文本
示例:|alt=The coat of arms for the Netherlands depicting ...
border
添加邊框
示例:|border=yes

主題是地區而不是國家

region
地區名稱,需要與條目的標題相對應
示例:|region=North Dakota

修飾連結

link
默認對應 title 參數。為了連結到不同條目,可以用這個連結到以「政府與政治」為題的條目。

刪除分段

separator-width
底部水平線默認為1px寬,為刪除分段,輸入 |separator-width=0 即可。

參見