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

From blackwiki
Jump to navigation Jump to search
imported>CsDix
m (background:transparent)
Line 1: Line 1:
<noinclude>{{hatnote|[[Template:Territory topics]] and [[Template:Region topics]] redirect here.}}</noinclude><includeonly><!--
+
{{Navbox
 
 
-->{{Navbox
 
 
|name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}}
 
|name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}}
 
|state = {{{1|{{{state|}}}}}}
 
|state = {{{1|{{{state|}}}}}}
Line 287: Line 285:
 
                     provided (Commons) / not suppressed)
 
                     provided (Commons) / not suppressed)
 
   -------------------------------------------------------->
 
   -------------------------------------------------------->
|belowstyle = background:transparent;{{{belowstyle|}}}
+
|belowstyle = {{{belowstyle|}}}
 
|below =
 
|below =
 
     {{#if:{{{_nobelow|}}} |<!--then omit "below" line, else:-->
 
     {{#if:{{{_nobelow|}}} |<!--then omit "below" line, else:-->
  
     | {{#if:{{{below|}}} |<!--then use-->{{{below}}}<!--provided, else:-->
+
     | {{#if:{{{below|}}} |<!--then use-->{{{below}}}<!--line provided, else:-->
  
         | {{Navbox |child |bodyclass=hlist |bodystyle=background:transparent;
+
         | {{unbulleted list
          |listclass = navbox-title
+
           |<!-----------------------------------
           |list1 = <!--
+
              Outline, Index, Bibliography links
            --------------------------------------
+
            ------------------------------------
            Outline, Index, Bibliography links
+
              -->{{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
            --------------------------------------
+
                  |* [[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]]
            -->{{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                }}<!--
                |* [[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]]
+
              -->{{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
              }}<!--
+
                  |* [[Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
            -->{{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
+
                  <!----To capture instances where place is or can be "the [placename]"
                |* [[Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
+
                        but adjective is "[placename]-related", i.e. with no "the" prefix:---->
                <!----To capture instances where place is or can be "the [placename]"
+
                  | {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
                      but adjective is "[placename]-related", i.e. with no "the" prefix:---->
+
                    |* [[Index of {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Index]]
                | {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
+
                    }}
                  |* [[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]]
            -->{{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                }}
                |* [[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]]
+
           |<!---------------------------------------------
              }}
+
              Book, Category, Commons, Portal, WikiProject
           |belowstyle = background:transparent;font-weight:bold;
+
            ----------------------------------------------
          |below = <div class="navbox-title"><!--
+
            -->{{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
            ----------------------------------------------
+
                |* <!--{{icon|Book}}--> [[Book:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Book]]
            Book, Category, Commons, Portal, WikiProject
+
                }}<!--
            ----------------------------------------------
+
            -->{{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
            -->{{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                |* <!--{{icon|Category}}--> [[:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Category]]
                |* <!--{{icon|Book}}--> [[Book:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Book]]
+
                }}<!--
              }}<!--
+
            -->{{#ifeq:{{{_commonslink|}}}|yes
            -->{{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                |* <!--[[File:Commons-logo.svg|15x15px|alt=|link=]]--> [[commons:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Commons]]
                |* <!--{{icon|Category}}--> [[:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Category]]
+
                }}<!--
              }}<!--
+
            -->{{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
            -->{{#ifeq:{{{_commonslink|}}}|yes
+
                |* <!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]]
                |* <!--[[File:Commons-logo.svg|15x15px|alt=|link=]]--> [[commons:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Commons]]
+
                }}<!--
              }}<!--
+
            -->{{#ifexist:Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}
            -->{{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
+
                |* <!--{{icon|WikiProject}}--> [[Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}|WikiProject]]
                |* <!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]]
+
                }}
              }}<!--
+
      <!-- |<!----------------------
            -->{{#ifexist:Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}
+
              addtobelow (optional)
                |* <!--{{icon|WikiProject}}--> [[Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}|WikiProject]]
+
            -----------------------
              }}<!--
+
            -->{{#if:{{{addtobelow|}}} |{{{addtobelow}}} }}
            -----------------------
+
          }}<!--
            addtobelow (optional)
 
            -----------------------
 
(disabled:)-- {{#if:{{{addtobelow|}}} |{{{addtobelow}}} }}<!--
 
                --></div><!--
 
      -->}}<!--
 
  
 
     -->}}<!--(end #if:{{{below|}}})
 
     -->}}<!--(end #if:{{{below|}}})
Line 345: Line 338:
  
  
}}</includeonly><noinclude>
+
}}
 
 
{{documentation}}
 
</noinclude>
 

Revision as of 12:21, 1 December 2013

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