Template:Country topics: Difference between revisions

From WikiMD's Medical Encyclopedia

en>Fayenatic london
populate temporary tracking category
 
CSV import
Line 1: Line 1:
{{#invoke:navbox|navbox
{{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 9: Line 9:
|titleclass = {{{titleclass|}}}
|titleclass = {{{titleclass|}}}
|title = <includeonly>{{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}}
|title = <includeonly>{{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}}
     | [[{{#invoke:redirect|main|{{{country|{{{territory|{{{region}}}}}}}}}}}{{#if:{{{titlename|}}}|{{!}}{{{titlename}}}}}]]&nbsp;|{{{titlename|{{{country|{{{territory|{{{region|<span style="white-space:nowrap;color:red;">[Required parameter missing!]</span>}}}}}}}}}}}}&nbsp;<!--(space between Name and "articles" word (if not suppressed))
     | [[{{{country|{{{territory|{{{region}}}}}}}}}{{#if:{{{titlename|}}}|{{!}}{{{titlename}}}}}]]&nbsp;|{{{titlename|{{{country|{{{territory|{{{region|<span style="white-space:nowrap;color:red;">[Required parameter missing!]</span>}}}}}}}}}}}}&nbsp;<!--(space between Name and "articles" word (if not suppressed))
  -->}}<!---- "topics" ----
  -->}}<!---- "topics" ----
  -->{{#if:{{{_notopicsword|}}} | |{{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles|[[{{#invoke:redirect|main|Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles}}|articles]]|articles}}}}</includeonly>
  -->{{#if:{{{_notopicsword|}}} | |{{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles|[[Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|articles]]|articles}}}}</includeonly>


  <!------------------ Image (optional) ------------------->
  <!------------------ Image (optional) ------------------->
Line 29: Line 29:
</noinclude>
</noinclude>
|group2 = {{#ifexist:History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
|group2 = {{#ifexist:History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
     | [[{{#invoke:redirect|main|fulltext=y|History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|History]]
     | [[History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|History]]
     | History
     | History
     }}
     }}
Line 42: Line 42:
</noinclude>
</noinclude>
|group4 = {{#ifexist:Geography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
|group4 = {{#ifexist:Geography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
       | [[{{#invoke:redirect|main|fulltext=y|Geography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Geography]]
       | [[Geography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Geography]]
       | Geography
       | Geography
     }}
     }}
|list4 = {{#if:{{{geography|}}}{{{subdivisions|}}}
|list4 = {{#if:{{{geography|}}}{{{subdivisions|}}}
     | {{#invoke:navbox|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|}}}
Line 71: Line 71:
|group6 = {{#if:{{{politics_link|}}} |[[{{{politics_link}}}|Politics]]
|group6 = {{#if:{{{politics_link|}}} |[[{{{politics_link}}}|Politics]]
       | {{#ifexist:Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
       | {{#ifexist:Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
         | [[{{#invoke:redirect|main|fulltext=y|Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Politics]]
         | [[Politics of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Politics]]
         | Politics
         | Politics
         }}
         }}
     }}
     }}
|list6 = {{#if:{{{politics|}}}{{{governance|}}}{{{government|}}}{{{military|}}}
|list6 = {{#if:{{{politics|}}}{{{governance|}}}{{{government|}}}{{{military|}}}
     | {{#invoke:navbox|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|}}}
Line 112: Line 112:
</noinclude>
</noinclude>
|group8 = {{#ifexist:Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
|group8 = {{#ifexist:Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
       | [[{{#invoke:redirect|main|fulltext=y|Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Economy]]
       | [[Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Economy]]
       | Economy
       | Economy
     }}
     }}
|list8 = {{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}
|list8 = {{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}
     | {{#invoke:navbox|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|}}}
Line 148: Line 148:
     | {{#if:{{{society_link|}}}
     | {{#if:{{{society_link|}}}
         | [[{{{society_link}}}|Society]]
         | [[{{{society_link}}}|Society]]
         <!----...else try "Category:Society of (place's name)",---->
         <!----...else try "Category:(adjective) or (place's name) society",---->
         | {{#ifexist:Category:Society of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}
         | {{#ifexist:Category:{{{adjective|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}} society
           | [[:Category:Society of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Society]]
           | [[:Category:{{{adjective|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}} society|Society]]
             <!----...else default to plain "Society":---->
             <!----...else default to plain "Society":---->
           | Society
           | Society
Line 158: Line 158:
     | {{#if:{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}
     | {{#if:{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}
         | {{#ifexist:Culture of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
         | {{#ifexist:Culture of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
           | [[{{#invoke:redirect|main|fulltext=y|Culture of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Culture]]
           | [[Culture of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Culture]]
           | Culture
           | Culture
           }}
           }}
Line 164: Line 164:
     }}
     }}
|list10 = {{#if:{{{society|}}}{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}|
|list10 = {{#if:{{{society|}}}{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}|
     {{#invoke:navbox|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|}}}
Line 224: Line 224:
   -->{{bulleted list|style=margin-bottom:-0.4em;
   -->{{bulleted list|style=margin-bottom:-0.4em;
  |1= {{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
  |1= {{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
   | {{nobold|[[{{#invoke:redirect|main|fulltext=y|Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Outline]]}}
   | {{nobold|[[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]]}}
}}
}}
  |2= {{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
  |2= {{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
   | {{nobold|[[{{#invoke:redirect|main|fulltext=y|Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles}}|Index]]}}
   | {{nobold|[[Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]}}
   | <!-- Else to capture instances where place is or can be "the [placename]" but its adjective is
   | <!---else to capture instances where place is or can be "the [placename]" but its adjective is
           "[placename]-related", i.e. with no "the" prefix.
           "[placename]-related", i.e. with no "the" prefix:
          First we try a hyphen-minus for single-word countries:
          -->{{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
      --> {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
              | {{nobold|[[Index of {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]}}
            | {{nobold|[[{{#invoke:redirect|main|fulltext=y|Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles}}|Index]]}}
              }}
            | <!-- If that doesn't exist, try an en dash (for multi-word countries):
          --> {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}–related articles
                | {{nobold|[[{{#invoke:redirect|main|fulltext=y|Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}–related articles}}|Index]]}}
              }}
          }}
}}
}}
  |3= {{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
  |3= {{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
   | {{nobold|[[{{#invoke:redirect|main|fulltext=y|Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Bibliography]]}}
   | {{nobold|[[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]]}}
}}<!--
}}<!--
   -->}}<!----------------------------------------------
   -->}}<!----------------------------------------------
Line 251: Line 246:
     "noportal" has not been specified
     "noportal" has not been specified
   -->{{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}<!--
   -->{{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}<!--
           -->|* <!--{{icon|Portal}}--> [[{{#invoke:redirect|main|fulltext=y|Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}}}|Portal]]<!--
           -->|* <!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]]<!--
     -->}}<!--(end #ifexist:Portal)
     -->}}<!--(end #ifexist:Portal)
-->}}<!-- (end #ifeq: {{yesno-no|{{{noportal}}}}})
-->}}<!-- (end #ifeq: {{yesno-no|{{{noportal}}}}})
Line 257: Line 252:
       -->}}<!--(end #if:below)
       -->}}<!--(end #if:below)
   -->}}<!--(end #if:_nobelow)
   -->}}<!--(end #if:_nobelow)
-->}}<!-- Temporary tracking category
-->}}{{#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 other |{{#if:{{{prefix|}}}|[[Category:Template Country topics with prefix parameter]] |}} |}}<!--
-->{{#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  
Line 267: Line 260:
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
{{no-index-template}}

Revision as of 08:17, 30 April 2024