Difference between revisions of "Template:Country topics/sandbox"
Jump to navigation
Jump to search
imported>Sardanaphalus (flatlist rather than hlist) |
imported>Sardanaphalus (back to Navbox) |
||
| Line 10: | Line 10: | ||
|title = <!--- Name ---- | |title = <!--- Name ---- | ||
-->{{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}} | -->{{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}} | ||
| − | | [[{{{country|{{{territory|{{{region}}}}}}}}}{{#if:{{{titlename|}}}|{{!}}{{{titlename}}}}}]] |{{{titlename|{{{country|{{{territory|{{{region|<span style="white-space:nowrap;color:red;">[Required parameter missing!]</span>}}}}}}}}}}}} <!--(space between Name and "topics" word (if not suppressed)) | + | | [[{{{country|{{{territory|{{{region}}}}}}}}}{{#if:{{{titlename|}}}|{{!}}{{{titlename}}}}}]] |{{{titlename|{{{country|{{{territory|{{{region|<span style="white-space:nowrap;color:red;">[Required parameter missing!]</span>}}}}}}}}}}}}<!-- <!--(space between Name and "topics" word (if not suppressed)) |
-->}}<!---- "topics" ---- | -->}}<!---- "topics" ---- | ||
-->{{#if:{{{_notopicsword|}}} | |{{#ifexist:List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related topics|[[List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related topics|topics]]|topics}}}} | -->{{#if:{{{_notopicsword|}}} | |{{#ifexist:List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related topics|[[List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related topics|topics]]|topics}}}} | ||
| Line 31: | Line 31: | ||
HISTORY | HISTORY | ||
===================================================--> | ===================================================--> | ||
| − | |group{{#if:{{{list1|}}}|2|1}} = <!---(#if: | + | |group{{#if:{{{list1|}}}|2|1}} = <!---(#if: required to ensure there's a list1 so that any image included is displayed (see {{Navbox}})---> |
<!---(groupname not displayed unless history provided)---> | <!---(groupname not displayed unless history provided)---> | ||
{{#ifexist:History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | {{#ifexist:History of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | ||
| Line 242: | Line 242: | ||
{{#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; |liststyle=padding:0;line-height:1.25em; |
| − | + | |list1style = padding-top:0.15em; | |
| − | + | |list1 = <!-- | |
| + | --------------------------------------------- | ||
| + | Outline / Index / Bibliography links | ||
| + | --------------------------------------------- | ||
-->{{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | -->{{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | ||
|* [[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]] | |* [[Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Outline]] | ||
| Line 258: | Line 261: | ||
-->{{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | -->{{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | ||
|* [[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]] | |* [[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]] | ||
| − | }}<!-- | + | }} |
| − | + | |list2style = padding-bottom:0.15em; | |
| − | + | |list2 = <!-- | |
| − | + | --------------------------------------------- | |
| − | + | Book / Cat / Commons / Portal / WikiProj | |
| − | + | --------------------------------------------- | |
| − | * <!--{{icon|Book}}--> [[Book:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Book]] | + | -->{{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} |
| − | + | |* <!--{{icon|Book}}--> [[Book:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Book]] | |
| − | + | }}<!-- | |
| − | * <!--{{icon|Category}}--> [[:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Category]] | + | -->{{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} |
| − | + | |* <!--{{icon|Category}}--> [[:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Category]] | |
| − | + | }}<!-- | |
| − | * <!--[[File:Commons-logo.svg|15x15px|alt=|link=]]--> [[commons:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Commons]] | + | -->{{#ifeq:{{{_commonslink|}}}|yes |
| − | + | |* <!--[[File:Commons-logo.svg|15x15px|alt=|link=]]--> [[commons:Category:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Commons]] | |
| − | + | }}<!-- | |
| − | * <!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]] | + | -->{{#ifexist:Portal:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} |
| − | + | |* <!--{{icon|Portal}}--> [[Portal:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Portal]] | |
| − | + | }}<!-- | |
| − | * <!--{{icon|WikiProject}}--> [[Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}|WikiProject]] | + | -->{{#ifexist:Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} |
| − | + | |* <!--{{icon|WikiProject}}--> [[Wikipedia:WikiProject {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}|WikiProject]] | |
| − | + | }}<!-- | |
| − | + | ----------- addtobelow (optional) ----------- | |
| − | + | -->{{#if:{{{addtobelow|}}} |{{{addtobelow}}} }} | |
| + | }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
Revision as of 14:28, 16 March 2014
Lua error in Module:Navbar at line 62: Invalid title {{{titlename}}} topics.