模板:US state navigation box/doc

使用方法

{{US state navigation box
| template_name = {{subst:PAGENAME}} <!-- 必填 -->
| title         = <!-- 必填 -->
| flag_image    = <!-- 必填 -->
| state         =
| color         =
| text_color    =
| capital       =
| seat          =
| subtitle      =
| image         =
| group1        = <!-- 必填,最多可設定至 |group8= -->
| body1         = <!-- 必填,最多可設定至 |body8= -->
}}

范例

原始代码

{{US state navigation box
| template_name = {{subst:PAGENAME}}
| title = [[纽约州|纽约]][[美国州份|州]]
| flag_image = Flag of New York.svg
| state = {{{state<includeonly>|uncollapsed</includeonly>}}}
| capital = [[奥尔巴尼_(纽约州)|奥巴尼]]
| listclass = hlist

| group1 = [[:Category:纽约州|主题]]
| body1  =
*[[纽约州历史|历史]]
*[[纽约州地理|地理]]
*[[纽约州政府|政府]]
* ...

| group2 = [[纽约州城市列表|都会区]]
| body2  =
* [[奥巴尼]] / [[斯克内克塔迪 (纽约州)|斯克内克塔迪]] / [[特洛伊 (纽约州)|特洛伊]]
* [[宾汉顿]]
* [[水牛城|布法罗]] / [[尼亚加拉瀑布城 (纽约州)|尼亚加拉瀑布城]]
* ...

| group3 = [[纽约州行政区划|郡]]
| body3  =
* [[奥尔巴尼县 (纽约州)|奥尔巴尼县]]
* [[阿勒格尼县 (纽约州)|阿勒格尼县]]
* [[布朗克斯|布朗克斯县]]
* ...
}}

效果