Template:US state navigation box
外观
使用方法
{{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 = * [[奥尔巴尼县 (纽约州)|奥尔巴尼县]] * [[阿勒格尼县 (纽约州)|阿勒格尼县]] * [[布朗克斯|布朗克斯县]] * ... }}