Difference between revisions of "Template:Country topics/sandbox"

From blackwiki
Jump to navigation Jump to search
(reset)
(Replaced with current version's code)
Line 103: Line 103:
  
 
  <!--===================================================--
 
  <!--===================================================--
       GOVERNANCE
+
       Politics
           (Politics)
+
           (Government)
 
           (Military)
 
           (Military)
 
   ---===================================================-->
 
   ---===================================================-->
  
|group{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} = <!---(not displayed unless governance and/or politics and/or military provided)--->
+
|group{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} = <!---(not displayed unless politics and/or government and/or military provided)--->
     {{#if:{{{governance_link|}}} |[[{{{governance_link}}}|Governance]]
+
     {{#if:{{{politics_link|}}} |[[{{{politics_link}}}|Politics]]
       | {{#ifexist:Governance of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
       | {{#ifexist:Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
         | [[Governance of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Governance]]
+
         | [[Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Politics]]
         | Governance
+
         | Politics
 
         }}
 
         }}
 
     }}
 
     }}
  
 
|list{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} =
 
|list{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} =
     {{#if:{{{governance|}}}{{{politics|}}}{{{military|}}}
+
     {{#if:{{{politics|}}}{{{government|}}}{{{military|}}}
 
     | {{Navbox |child
 
     | {{Navbox |child
 
         |basestyle = {{{basestyle|}}}
 
         |basestyle = {{{basestyle|}}}
 
         |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
 
         |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
         |list1 = {{{governance|}}}
+
         |list1 = {{{politics|}}}
         |group2 = <!--(only shown if politics provided)-->
+
         |group2 = <!--(only shown if government provided)-->
             {{#ifexist:Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
             {{#ifexist:Government of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
             | [[Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Politics]]
+
             | [[Government of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Government]]
             | Politics
+
             | Government
 
             }}
 
             }}
         |list2 = {{{politics|}}}
+
         |list2 = {{{government|}}}
 
         |group3 = <!--(only shown if military provided)-->
 
         |group3 = <!--(only shown if military provided)-->
 
             {{#ifexist:Military of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
 
             {{#ifexist:Military of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}

Revision as of 11:50, 26 January 2014

Lua error in Module:Navbar at line 62: Invalid title {{{titlename}}} topics.