模板: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 即可。

参见

上述文档内容由模板本身直接提供,请查看页面源代码。
编者可以在本模板的沙盒创建 | 镜像和测试样例创建页面进行实验。
请将模板自身所属的分类添加在文档中。本模板的子页面