Template:Country topics/sandbox2

{{hatnote|Template:Territory topics and Template:Region topics redirect here.}}{{Navbox

|name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}}

|state = {{{state|{{{1|}}}}}}

|border = {{{border|}}}

|bodyclass = hlist

|basestyle = {{{basestyle|}}}

|liststyle = background:transparent;

|title = {{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}}

| {{{country |{{{titlename|{{{country|{{{territory|{{{region|[Required parameter missing!]}}}}}}}}}}}} }}{{#if:{{{_notopicsword|}}} | |{{#ifexist:List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related topics|List of {{{prefix|topics}}}}

|imagestyle = {{{imagestyle|}}}

|image = {{{image|}}}

|abovestyle = {{{abovestyle|}}}

|above = {{{above|}}}{{{addtoabove|}}}

|group{{#if:{{{list1|}}}|1|0}}style = {{{custom1style|}}}

|group{{#if:{{{list1|}}}|1|0}} = {{{custom1|}}}

|list{{#if:{{{list1|}}}|1|0}}style = {{{list1style|}}}

|list{{#if:{{{list1|}}}|1|0}} = {{{list1|}}}

|group{{#if:{{{list1|}}}|2|1}} =

{{#ifexist:History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| History of {{{prefix

| History

}}

|list{{#if:{{{list1|}}}|2|1}}style = background:transparent;

|list{{#if:{{{list1|}}}|2|1}} = {{{history|}}}

|group{{#if:{{{history|}}}{{{list1|}}}|3|1}}style = {{{custom2style|}}}

|group{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{custom2|}}}

|list{{#if:{{{history|}}}{{{list1|}}}|3|1}}style = {{{list2style|}}}

|list{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{list2|}}}

|group{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} =

{{#ifexist:Geography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Geography of {{{prefix

| Geography

}}

|list{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} =

{{#if:{{{geography|}}}{{{subdivisions|}}}

| {{Navbox |child

|basestyle = {{{basestyle|}}}

|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}

|evenodd = swap

|list1 = {{{geography|}}}

|group2 =

{{#if:{{{subdivisions_link|}}}

| Subdivisions

| {{#ifexist:Administrative divisions of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Administrative divisions of {{{prefix

| Subdivisions

}}

}}

|list2 = {{{subdivisions|}}}

}}

}}

|group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}}style = {{{custom3style|}}}

|group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{custom3|}}}

|list{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}}style = {{{list3style|}}}

|list{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{list3|}}}

|group{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} =

{{#if:{{{politics_link|}}} |Politics

| {{#ifexist:Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Politics of {{{prefix

| Politics

}}

}}

|list{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} =

{{#if:{{{politics|}}}{{{government|}}}{{{military|}}}

| {{Navbox |child

|basestyle = {{{basestyle|}}}

|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}

|list1 = {{{politics|}}}

|group2 =

{{#ifexist:Government of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Government of {{{prefix

| Government

}}

|list2 = {{{government|}}}

|group3 =

{{#ifexist:Military of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Military of {{{prefix

| Military

}}

|list3 = {{{military|}}}

}}

}}

|group7style = {{{custom4style|}}}

|group7 = {{{custom4|}}}

|list7style = {{{list4style|}}}

|list7 = {{{list4|}}}

|group8 =

{{#ifexist:Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Economy of {{{prefix

| Economy

}}

|list8 =

{{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}

| {{Navbox |child

|basestyle = {{{basestyle|}}}

|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}

|evenodd = swap

|list1 = {{{economy|}}}

|group2 =

{{#ifexist:Infrastructure of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Infrastructure of {{{prefix

| Infrastructure

}}

|list2 = {{{infrastructure|}}}

|group3 =

{{#ifexist:Transport in {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Transport in {{{prefix

| Transport

}}

|list3 = {{{transport|}}}

}}

}}

|group9style = {{{custom5style|}}}

|group9 = {{{custom5|}}}

|list9style = {{{list5style|}}}

|list9 = {{{list5|}}}

|group10 =

{{#if:{{{society|}}}

| {{#if:{{{society_link|}}}

| Society

| {{#ifexist:Category:{{{adjective|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}} society

| :Category:{{{adjective

| Society

}}

}}

| {{#if:{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}

| {{#ifexist:Culture of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Culture of {{{prefix

| Culture

}}

}}

}}

|list10 =

{{Navbox |child

|basestyle = {{{basestyle|}}}

|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}

|list1 = {{{society|}}}

|group2 =

{{#if:{{{society|}}}

| {{#if:{{{culture|}}}

| Culture of {{{prefix

| Culture

}}

}}

|list2 = {{{culture|}}}

|group3 =

{{#ifexist:Demographics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Demographics of {{{prefix

| Demographics

}}

|list3 = {{{demographics|}}}

|group4 =

{{#ifexist:Religion in {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Religion in {{{prefix

| Religion

}}

|list4 = {{{religion|}}}

|group5 =

{{#if:{{{symbols_link|}}}

| Symbols

| {{#ifexist:National symbols of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| National symbols of {{{prefix

| {{#ifexist:Symbols of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Symbols of {{{prefix

| Symbols

}}

}}

}}

|list5 = {{{symbols|}}}

}}

|group11style = {{{custom6style|}}}

|group11 = {{{custom6|}}}

|list11style = {{{list6style|}}}

|list11 = {{{list6|}}}

|group12style = {{{custom7style|}}}

|group12 = {{{custom7|}}}

|list12style = {{{list7style|}}}

|list12 = {{{list7|}}}

|group13style = {{{custom8style|}}}

|group13 = {{{custom8|}}}

|list13style = {{{list8style|}}}

|list13 = {{{list8|}}}

|belowstyle = padding:0.25em;{{{belowstyle|}}}

|below =

{{#if:{{{_nobelow|}}} |

| {{#if:{{{below|}}} |{{{below}}}

|

  • {{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Outline of {{{prefix

}}

  • {{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles

| Index of {{{prefix

| {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles

| Index of {{{country

}}

}}

  • {{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Bibliography of {{{prefix

}}

  • {{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Book:{{{country

}}

  • {{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| :Category:{{{country

}}

  • {{#ifeq:{{{_commonslink|}}}|yes

| commons:Category:{{{country

}}

  • {{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

| Portal:{{{country

}}

  • {{#ifexist:Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}

| Wikipedia:WikiProject {{{country

}}{{#if:{{{addtobelow|}}} |{{{addtobelow}}} }}

}}}}

}}

{{documentation}}