Template:Country topics: Difference between revisions

From Chalo Chatu, Zambia online encyclopedia
(Created page with "{{Navbox with striping |name = {{if empty|{{{template_name|}}}| {{#if:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}| {{{country|{{{territory|{{{region|{{{titlena...")
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Navbox with striping
{{Navbox
|name = {{if empty|{{{template_name|}}}| {{#if:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}| {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}} | {{FULLPAGENAME}} }}
|name = {{if empty|{{{template_name|}}}| {{#if:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}| {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}} | {{FULLPAGENAME}} }}
|state = {{{state|{{{1|}}}}}}
|state = {{{state|{{{1|}}}}}}
Line 46: Line 46:
     }}
     }}
|list4 = {{#if:{{{geography|}}}{{{subdivisions|}}}
|list4 = {{#if:{{{geography|}}}{{{subdivisions|}}}
     | {{Navbox with striping|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|}}}
        |evenodd = {{country topics/evenodd|{{{list1|}}}|{{{history|}}}|{{{list2|}}}}}
         |list1 = {{{geography|}}}
         |list1 = {{{geography|}}}
         |group2 = <!--(only shown if subdivisions provided)-->
         |group2 = <!--(only shown if subdivisions provided)-->
Line 77: Line 76:
     }}
     }}
|list6 = {{#if:{{{politics|}}}{{{governance|}}}{{{government|}}}{{{military|}}}
|list6 = {{#if:{{{politics|}}}{{{governance|}}}{{{government|}}}{{{military|}}}
     | {{Navbox with striping|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|}}}
        |evenodd = {{country topics/evenodd|{{{list1|}}}|{{{history|}}}|{{{list2|}}}|{{{geography|}}}{{{subdivisions|}}}|{{{list3|}}}}}
         |list1 = {{{politics|}}}
         |list1 = {{{politics|}}}
         |group2 = <!--(only shown if governance provided)-->
         |group2 = <!--(only shown if governance provided)-->
Line 118: Line 116:
     }}
     }}
|list8 = {{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}
|list8 = {{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}
     | {{Navbox with striping|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|}}}
        |evenodd = {{country topics/evenodd|{{{list1|}}}|{{{history|}}}|{{{list2|}}}|{{{geography|}}}{{{subdivisions|}}}|{{{list3|}}}|{{{politics|}}}{{{government|}}}{{{military|}}}|{{{list4|}}}}}
         |list1 = {{{economy|}}}
         |list1 = {{{economy|}}}
         |group2 = <!--(Only shown if infrastructure provided)-->
         |group2 = <!--(Only shown if infrastructure provided)-->
Line 167: Line 164:
     }}
     }}
|list10 = {{#if:{{{society|}}}{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}|
|list10 = {{#if:{{{society|}}}{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}|
     {{Navbox with striping|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|}}}
    |evenodd = {{country topics/evenodd|{{{list1|}}}|{{{history|}}}|{{{list2|}}}|{{{geography|}}}{{{subdivisions|}}}|{{{list3|}}}|{{{politics|}}}{{{government|}}}{{{military|}}}|{{{list4|}}}|{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}|{{{list5|}}}}}
     |list1 = {{{society|}}}
     |list1 = {{{society|}}}
     |group2 = <!----Groupname only needed for culture if society has also been provided:---->
     |group2 = <!----Groupname only needed for culture if society has also been provided:---->
Line 255: Line 251:
   -->}}<!--(end #if:_nobelow)
   -->}}<!--(end #if:_nobelow)
-->
-->
}}{{<includeonly>safesubst:</includeonly>#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using country topics with unknown parameters|_VALUE_{{PAGENAME}}]]
}}{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using country topics with unknown parameters|_VALUE_{{PAGENAME}}]]|preview={{main other||Page using [[Template:Country topics]] with unknown parameter "_VALUE_"}}
| template_name | country | territory | region | titlename | titleclass | state | 1 | border | basestyle | _notopicsword | prefix | imagestyle | image | abovestyle | above | addtoabove  
| template_name | country | territory | region | titlename | titleclass | state | 1 | border | basestyle | _notopicsword | prefix | imagestyle | image | abovestyle | above | addtoabove  
| custom1 | list1 | custom2 | list2 | custom3 | list3 | custom4 | list4 | custom5 | list5 | custom6 | list6 | custom7 | list7 | custom8 | list8  
| custom1 | list1 | custom2 | list2 | custom3 | list3 | custom4 | list4 | custom5 | list5 | custom6 | list6 | custom7 | list7 | custom8 | list8  

Latest revision as of 06:41, 18 October 2018

<templatestyles src="Module:Documentation/styles.css"></templatestyles>

Template documentation[create]