Difference between revisions of "Template:Country topics/sandbox2"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes (test) |
||
| Line 3: | Line 3: | ||
-->{{Navbox | -->{{Navbox | ||
|name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}} | |name = {{{template_name|{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} topics}}} | ||
| − | |state = {{{ | + | |state = {{{state|{{{1|}}}}}} |
|border = {{{border|}}} | |border = {{{border|}}} | ||
|bodyclass = hlist | |bodyclass = hlist | ||
| Line 9: | Line 9: | ||
|liststyle = background:transparent; | |liststyle = background:transparent; | ||
| − | + | <!---------------------- Titlebar -----------------------> | |
| − | <!--------------------------------------------- | + | |title = <!--- Name ---- |
| − | |||
-->{{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}} | -->{{#ifexist:{{{country|{{{territory|{{{region|}}}}}}}}} | ||
| − | |[[{{{country|{{{territory|{{{region}}}}}}}}}{{#if:{{{titlename|}}}|{{!}}{{{titlename}}}}}]] | + | | [[{{{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" ---- | |
| − | + | -->{{#if:{{{_notopicsword|}}} | |{{#ifexist:List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related topics|[[List of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related topics|topics]]|topics}}}} | |
| − | |||
| − | -->}}<!-- | ||
| − | + | <!------------------ Image (optional) -------------------> | |
| − | |||
| − | |||
| − | <!------------------ | ||
| − | |||
| − | |||
|imagestyle = {{{imagestyle|}}} | |imagestyle = {{{imagestyle|}}} | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
| − | + | <!-------------- "above" line (optional) ----------------> | |
| − | <!-------------- | ||
| − | |||
| − | |||
|abovestyle = {{{abovestyle|}}} | |abovestyle = {{{abovestyle|}}} | ||
|above = {{{above|}}}{{{addtoabove|}}} | |above = {{{above|}}}{{{addtoabove|}}} | ||
| − | + | <!------(optional custom group 1)-------> | |
| − | <!------ | ||
|group1style = {{{custom1style|}}} | |group1style = {{{custom1style|}}} | ||
|group1 = {{{custom1|}}} | |group1 = {{{custom1|}}} | ||
| Line 42: | Line 30: | ||
|list1 = {{{list1|}}} | |list1 = {{{list1|}}} | ||
| − | + | <!--=================================================== | |
| − | <!--=================================================== | + | HISTORY |
| − | + | ===================================================--> | |
| − | + | |group{{#if:{{{list1|}}}|2|1}} = <!---(#if: required to ensure there's a list1 so that any image included is displayed (see {{Navbox}})---> | |
| − | |||
| − | |group{{#if:{{{list1|}}}|2|1}} = <!---(#if: | ||
<!---(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 53: | Line 39: | ||
| History | | History | ||
}} | }} | ||
| − | |||
|list{{#if:{{{list1|}}}|2|1}}style = background:transparent;<!--(for the sake of accessibility, ensure list's background is transparent regardless of whether it's an odd or even-numbered list)--> | |list{{#if:{{{list1|}}}|2|1}}style = background:transparent;<!--(for the sake of accessibility, ensure list's background is transparent regardless of whether it's an odd or even-numbered list)--> | ||
|list{{#if:{{{list1|}}}|2|1}} = {{{history|}}}<!--(see group# comment above)--> | |list{{#if:{{{list1|}}}|2|1}} = {{{history|}}}<!--(see group# comment above)--> | ||
| − | + | <!------(optional custom group 2)-------> | |
| − | <!------ | ||
|group{{#if:{{{history|}}}{{{list1|}}}|3|1}}style = {{{custom2style|}}} | |group{{#if:{{{history|}}}{{{list1|}}}|3|1}}style = {{{custom2style|}}} | ||
|group{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{custom2|}}} | |group{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{custom2|}}} | ||
| Line 64: | Line 48: | ||
|list{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{list2|}}} | |list{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{list2|}}} | ||
| − | + | <!--=================================================== | |
| − | <!--=================================================== | + | GEOGRAPHY / Subdivisions |
| − | + | ===================================================--> | |
| − | |||
| − | |||
| − | |||
|group{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} = <!---(see #if: comment above (History))---> | |group{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} = <!---(see #if: comment above (History))---> | ||
<!---(groupname not displayed unless geography and/or subdivisions provided)---> | <!---(groupname not displayed unless geography and/or subdivisions provided)---> | ||
| Line 76: | Line 57: | ||
| Geography | | Geography | ||
}} | }} | ||
| − | |||
|list{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} = <!---(see #if: comment above (History))---> | |list{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} = <!---(see #if: comment above (History))---> | ||
{{#if:{{{geography|}}}{{{subdivisions|}}} | {{#if:{{{geography|}}}{{{subdivisions|}}} | ||
| Line 96: | Line 76: | ||
}} | }} | ||
| − | + | <!------(optional custom group 3)-------> | |
| − | <!------ | ||
|group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}}style = {{{custom3style|}}} | |group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}}style = {{{custom3style|}}} | ||
|group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{custom3|}}} | |group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{custom3|}}} | ||
| Line 103: | Line 82: | ||
|list{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{list3|}}} | |list{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{list3|}}} | ||
| − | + | <!--=================================================== | |
| − | <!--=================================================== | + | POLITICS / Government / Military |
| − | + | ===================================================--> | |
| − | |||
| − | |||
| − | |||
| − | |||
|group{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} = <!---(not displayed unless politics and/or government and/or military provided)---> | |group{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} = <!---(not displayed unless politics and/or government and/or military provided)---> | ||
{{#if:{{{politics_link|}}} |[[{{{politics_link}}}|Politics]] | {{#if:{{{politics_link|}}} |[[{{{politics_link}}}|Politics]] | ||
| Line 117: | Line 92: | ||
}} | }} | ||
}} | }} | ||
| − | |||
|list{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} = | |list{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} = | ||
{{#if:{{{politics|}}}{{{government|}}}{{{military|}}} | {{#if:{{{politics|}}}{{{government|}}}{{{military|}}} | ||
| Line 139: | Line 113: | ||
}} | }} | ||
| − | + | <!------(optional custom group 4)-------> | |
| − | <!------ | ||
|group7style = {{{custom4style|}}} | |group7style = {{{custom4style|}}} | ||
|group7 = {{{custom4|}}} | |group7 = {{{custom4|}}} | ||
| Line 146: | Line 119: | ||
|list7 = {{{list4|}}} | |list7 = {{{list4|}}} | ||
| − | + | <!--=================================================== | |
| − | <!--=================================================== | + | ECONOMY / Infrastructure / Transport |
| − | + | ===================================================--> | |
| − | |||
| − | |||
| − | |||
| − | |||
|group8 = <!---(not displayed unless economy, infrastructure and/or transport provided)---> | |group8 = <!---(not displayed unless economy, infrastructure and/or transport provided)---> | ||
{{#ifexist:Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | {{#ifexist:Economy of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | ||
| Line 158: | Line 127: | ||
| Economy | | Economy | ||
}} | }} | ||
| − | |||
|list8 = | |list8 = | ||
{{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}} | {{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}} | ||
| Line 181: | Line 149: | ||
}} | }} | ||
| − | + | <!------(optional custom group 5)-------> | |
| − | <!------ | ||
|group9style = {{{custom5style|}}} | |group9style = {{{custom5style|}}} | ||
|group9 = {{{custom5|}}} | |group9 = {{{custom5|}}} | ||
| Line 188: | Line 155: | ||
|list9 = {{{list5|}}} | |list9 = {{{list5|}}} | ||
| − | + | <!--=================================================== | |
| − | <!--=================================================== | + | SOCIETY/CULTURE / Demographics / Religion / Symbols |
| − | + | ===================================================--> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|group10 = | |group10 = | ||
<!----If society provided, groupname is "Society":----> | <!----If society provided, groupname is "Society":----> | ||
| Line 218: | Line 179: | ||
}} | }} | ||
}} | }} | ||
| − | |||
|list10 = | |list10 = | ||
{{Navbox |child | {{Navbox |child | ||
| Line 258: | Line 218: | ||
}} | }} | ||
| − | + | <!------(optional custom group 6)-------> | |
| − | <!------ | ||
|group11style = {{{custom6style|}}} | |group11style = {{{custom6style|}}} | ||
|group11 = {{{custom6|}}} | |group11 = {{{custom6|}}} | ||
| Line 265: | Line 224: | ||
|list11 = {{{list6|}}} | |list11 = {{{list6|}}} | ||
| − | + | <!------(optional custom group 7)-------> | |
| − | <!------ | ||
|group12style = {{{custom7style|}}} | |group12style = {{{custom7style|}}} | ||
|group12 = {{{custom7|}}} | |group12 = {{{custom7|}}} | ||
| Line 273: | Line 231: | ||
| − | <!------ | + | <!------(optional custom group 8)-------> |
|group13style = {{{custom8style|}}} | |group13style = {{{custom8style|}}} | ||
|group13 = {{{custom8|}}} | |group13 = {{{custom8|}}} | ||
| Line 279: | Line 237: | ||
|list13 = {{{list8|}}} | |list13 = {{{list8|}}} | ||
| − | + | <!--=================================================== | |
| − | + | "below" line/s | |
| − | <!-- | + | ===================================================--> |
| − | + | |belowstyle = padding:0.25em;{{{belowstyle|}}} | |
| − | + | |below = | |
| − | |||
| − | |||
| − | |||
| − | |belowstyle = {{{belowstyle|}}} | ||
| − | |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:--> | ||
| − | | | + | |<!-- |
| − | |||
-------------------------------------- | -------------------------------------- | ||
Outline, Index, Bibliography links | Outline, Index, Bibliography links | ||
-------------------------------------- | -------------------------------------- | ||
| − | -->{{#ifexist:Outline of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | + | --><div style="line-height:1.4em; margin-top:0; margin-bottom:0"> |
| − | | | + | * {{#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]] | ||
<!----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]] |
}} | }} | ||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | + | * {{#ifexist:Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | |
| − | + | | [[Bibliography of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Bibliography]] | |
| + | }} | ||
| + | </div><!-- | ||
---------------------------------------------- | ---------------------------------------------- | ||
Book, Category, Commons, Portal, WikiProject | Book, Category, Commons, Portal, WikiProject | ||
---------------------------------------------- | ---------------------------------------------- | ||
| − | -->{{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} | + | --><div style="font-weight:bold; line-height:1.4em; margin-top:0; margin-bottom:0"> |
| − | | | + | * {{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}} |
| − | }} | + | |<!--{{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 |
| − | }} | + | |<!--{{icon|Commons}}--> [[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]] | |
| − | + | }}{{#if:{{{addtobelow|}}} |<nowiki /> | |
| − | + | {{{addtobelow}}}<!---- addtobelow (optional) ------>}} | |
| − | + | </div><!-- | |
| − | |||
| − | |||
-->}}<!--(end #if:{{{below|}}}) | -->}}<!--(end #if:{{{below|}}}) | ||
-->}}<!--(end #if:{{{_nobelow|}}})--> | -->}}<!--(end #if:{{{_nobelow|}}})--> | ||
| − | |||
| − | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||