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

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 1: Line 1:
<noinclude>{{hatnote|[[Template:Territory topics]] and [[Template:Region topics]] redirect here.}}</noinclude><!--
+
<noinclude>{{hatnote|[[Template:Territory topics]] and [[Template:Region topics]] redirect here.}}</noinclude><includeonly><!--
  
--><includeonly>{{Navbox
+
-->{{Navbox
 
|name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}}
 
|name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}}
|state = {{{state|{{{1|}}}}}}
+
|state = {{{1|{{{state|}}}}}}
 
|border = {{{border|}}}
 
|border = {{{border|}}}
 +
|bodyclass = hlist
 
|basestyle = {{{basestyle|}}}
 
|basestyle = {{{basestyle|}}}
|liststyle = background:transparent
+
|liststyle = background:transparent;
|listclass = hlist
 
  
 
|title =
 
|title =
Line 288: Line 288:
 
   -------------------------------------------------------->
 
   -------------------------------------------------------->
 
|belowstyle = {{{belowstyle|}}}
 
|belowstyle = {{{belowstyle|}}}
|below = <div>
+
|below =
 
     {{#if:{{{_nobelow|}}} |<!--then omit "below" line, else:-->
 
     {{#if:{{{_nobelow|}}} |<!--then omit "below" line, else:-->
  
 
     | {{#if:{{{below|}}} |<!--then use-->{{{below}}}<!--line provided, else:-->
 
     | {{#if:{{{below|}}} |<!--then use-->{{{below}}}<!--line provided, else:-->
  
         | <!--
+
         | {{Navbox |child |bodyclass=hlist |bodystyle=background:transparent;
 +
          |list1 = <!--
 
             --------------------------------------
 
             --------------------------------------
 
             Outline, Index, Bibliography links
 
             Outline, Index, Bibliography links
 
             --------------------------------------
 
             --------------------------------------
             -->{{flatlist
+
             -->{{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
  |1= {{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                 |* [[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]]
                 | [[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]]
+
               }}<!--
               }}
+
            -->{{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
  |2= {{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
+
                 |* [[Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
                 | [[Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
 
 
                 <!----To capture instances where place is or can be "the [placename]"
 
                 <!----To capture instances where place is or can be "the [placename]"
 
                       but adjective is "[placename]-related", i.e. with no "the" prefix:---->
 
                       but adjective is "[placename]-related", i.e. with no "the" prefix:---->
 
                 | {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
 
                 | {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
                   | [[Index of {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
+
                   |* [[Index of {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
 
                   }}
 
                   }}
 +
              }}<!--
 +
            -->{{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
 +
                |* [[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]]
 
               }}
 
               }}
  |3= {{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
          |list2style = background:transparent;font-weight:bold;
                | [[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]]
+
          |list2 = <!--
              }}
 
          }}<!--
 
 
             ----------------------------------------------
 
             ----------------------------------------------
 
             Book, Category, Commons, Portal, WikiProject
 
             Book, Category, Commons, Portal, WikiProject
 
             ----------------------------------------------
 
             ----------------------------------------------
             -->{{hlist|style=font-weight:bold
+
             -->{{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
  |1= {{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                |* <!--{{icon|Book}}--> [[Book:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Book]]
                 |<!--{{icon|Book}}--> [[Book:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Book]]
+
              }}<!--
 +
            -->{{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
 +
                |* <!--{{icon|Category}}--> [[:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Category]]
 +
              }}<!--
 +
            -->{{#ifeq:{{{_commonslink|}}}|yes
 +
                |* <!--[[File:Commons-logo.svg|15x15px|alt=|link=]]--> [[commons:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Commons]]
 +
              }}<!--
 +
            -->{{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
 +
                |* <!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]]
 +
              }}<!--
 +
            -->{{#ifexist:Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}
 +
                 |* <!--{{icon|WikiProject}}--> [[Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}|WikiProject]]
 
               }}
 
               }}
  |2= {{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
      <!-- |list3 = <!--
                |<!--{{icon|Category}}--> [[:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Category]]
+
            -----------------------
              }}
+
            addtobelow (optional)
  |3= {{#ifeq:{{{_commonslink|}}}|yes
+
            -----------------------
                |<!--{{icon|Commons}}--> [[commons:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Commons]]
+
            -->{{#if:{{{addtobelow|}}} |{{{addtobelow}}} }}
              }}
+
          }}<!--
  |4= {{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
 
                |<!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]]
 
              }}
 
  |5= {{#ifexist:Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}
 
                |<!--{{icon|WikiProject}}--> [[Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}|WikiProject]]
 
              }}
 
  }}<!--
 
          ------------ addtobelow (optional) ------------
 
            -->{{flatlist|
 
{{#if:{{{addtobelow|}}} |{{{addtobelow}}} }}
 
            }}<!--
 
  
 
     -->}}<!--(end #if:{{{below|}}})
 
     -->}}<!--(end #if:{{{below|}}})

Revision as of 00:23, 18 March 2014