Templat:Country topics: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
k Cleanup. |
k Melindungi "Templat:Country topics": 6. Templat berisiko tinggi ([Sunting=Hanya untuk pengurus] (selamanya) [Pindahkan=Hanya untuk pengurus] (selamanya)) |
||
(1 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1:
<noinclude>[[Kategori:Templat navigasi| ]]</noinclude><includeonly><!--
-->{{Navbox
|name = {{{template_name|Topik {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}} }}}
|state = {{{1|{{{state|}}}}}}
|border = {{{border|}}}
|navbar = {{{navbar|}}}
|bodyclass = hlist
|basestyle = {{{basestyle|}}}
|liststyle = background:transparent;
|title =
<!-------------------------------------------------------
---------- "topics" ----------
-->{{#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><!--
-->}}}<!------->}}}<!----->}}}<!------->}}}
-->}}<!--
<!-------------------------------------------------------
Image (optional)
-------------------------------------------------------->
|imagestyle = {{{imagestyle|}}}
|image = {{{image|}}}
<!-------------------------------------------------------
"above" line (optional)
-------------------------------------------------------->
|abovestyle = {{{abovestyle|}}}
|above = {{{above|}}}{{{addtoabove|}}}
<!------ Optional custom group 1 ------->
|group1style = {{{custom1style|}}}
|group1 = {{{custom1|}}}
|list1style = {{{list1style|}}}
|list1 = {{{list1|}}}
<!--===================================================--
HISTORY
---===================================================-->
|group{{#if:{{{list1|}}}|2|1}} = <!---(#if: is required to ensure there's a list1 so that any image included is displayed (see {{Navbox}})--->
<!---(groupname not displayed unless history provided)--->
{{#ifexist:Sejarah {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Sejarah {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Sejarah]]
| Sejarah
}}
|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)-->
<!------ Optional custom group 2 ------->
|group{{#if:{{{history|}}}{{{list1|}}}|3|1}}style = {{{custom2style|}}}
|group{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{custom2|}}}
|
|list{{#if:{{{history|}}}{{{list1|}}}|3|1}} = {{{list2|}}}
<!--===================================================--
GEOGRAPHY
(Subdivisions)
---===================================================-->
|group{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} = <!---(see #if: comment above (History))--->
<!---(groupname not displayed unless geography and/or subdivisions provided)--->
{{#ifexist:Geografi {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Geografi {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Geografi]]
| Geografi
}}
|list{{#if:{{{list2|}}}{{{history|}}}{{{list1|}}}|4|1}} = <!---(see #if: comment above (History))--->
{{#if:{{{geography|}}}{{{subdivisions|}}}
| {{Navbox |child
|basestyle = {{{basestyle|}}}
|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
|evenodd = swap <!--(for sake of accessibility, assume only the history group precedes this group, so contrast this group's list/s background accordingly)-->
|list1 = {{{geography|}}}
|group2 = <!--(only shown if subdivisions provided)-->
{{#if:{{{subdivisions_link|}}}
| [[{{{subdivisions_link}}}|
| {{#ifexist:Administrative divisions of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Pembagian administratif {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|
|
}}
}}
Baris 62 ⟶ 97:
}}
<!------ Optional custom group 3 ------->
|group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}}style = {{{custom3style|}}}
|group{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}} = {{{custom3|}}}
|list{{#if:{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|5|1}}style = {{{list3style|}}}
|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)--->
{{#if:{{{politics_link|}}} |[[{{{politics_link}}}|Politik]]
| {{#ifexist:Politik {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Politik {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Politik]]
| Politik
}}
}}
|list{{#if:{{{list3|}}}{{{geography|}}}{{{list2|}}}{{{history|}}}{{{list1|}}}|6|1}} =
{{#if:{{{politics|}}}{{{government|}}}{{{military|}}}
| {{Navbox |child
|basestyle = {{{basestyle|}}}
|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
|list1 = {{{politics|}}}
|group2 = <!--(only shown if
{{#
| [[Pemerintahan {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Pemerintahan]]
| Pemerintahan
|list2 = {{{
|group3 = <!--(only shown if
{{#ifexist:Military of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Militer {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Militer]]
| Militer
|
}}
}}
<!------ Optional custom group 4 ------->
|group7style = {{{custom4style|}}}
|group7 = {{{custom4|}}}
|list7style = {{{list4style|}}}
|list7 = {{{list4|}}}
<!--===================================================--
ECONOMY
(Infrastructure)
(Transport)
---===================================================-->
|group8 = <!---(not displayed unless economy, infrastructure and/or transport provided)--->
{{#ifexist:Ekonomi {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Ekonomi {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Ekonomi]]
| Ekonomi
}}
|list8 =
{{#if:{{{economy|}}}{{{infrastructure|}}}{{{transport|}}}
| {{Navbox |child
|basestyle = {{{basestyle|}}}
|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
|evenodd = swap <!--(for sake of accessibility, assume this group immediately preceded by governance group, so amend its background/s accordingly)-->
|list1 = {{{economy|}}}
|group2 = <!--(Only shown if infrastructure provided)-->
{{#ifexist:
| [[Infrastruktur {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Infrastruktur]]
| Infrastruktur
Baris 127 ⟶ 174:
|list2 = {{{infrastructure|}}}
|group3 = <!--(Only shown if transport provided)-->
{{#ifexist:
| [[Transportasi di {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Transportasi]]
| Transportasi
Baris 135 ⟶ 182:
}}
<!------ Optional custom group 5 ------->
|group9style = {{{custom5style|}}}
|group9 = {{{custom5|}}}
|list9style = {{{list5style|}}}
|list9 = {{{list5|}}}
<!--===================================================--
CULTURE or SOCIETY
(Demographics) (Culture)
(Religion) (Demographics)
(Symbols) (Religion)
(Symbols)
---===================================================-->
|group10 =
<!----If society provided, groupname is "Society":---->
Baris 149 ⟶ 205:
| [[{{{society_link}}}|Society]]
<!----...else try "Category:(adjective) or (place's name) society",---->
| {{#ifexist:
| [[:
<!----...else default to plain "Society":---->
| Masyarakat
Baris 157 ⟶ 213:
<!----...otherwise if culture/demographics/religion/symbols provided, groupname is "Culture":---->
| {{#if:{{{culture|}}}{{{demographics|}}}{{{religion|}}}{{{symbols|}}}
| {{#ifexist:
| [[Kebudayaan {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Kebudayaan]]
| Kebudayaan
Baris 163 ⟶ 219:
}}
}}
|list10 =
{{Navbox |child
|basestyle = {{{basestyle|}}}
|groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
Baris 177 ⟶ 234:
|list2 = {{{culture|}}}
|group3 = <!--(only shown if demographics provided)-->
{{#ifexist:
| [[
| Demografi
}}
Baris 190 ⟶ 247:
|group5 = <!--(only shown if symbols provided)-->
{{#if:{{{symbols_link|}}}
| [[{{{symbols_link}}}|
| {{#ifexist:National symbols of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[Simbol
| {{#ifexist:Symbols of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
| [[
| Simbol
}}
Baris 200 ⟶ 257:
}}
|list5 = {{{symbols|}}}
<!------ Optional custom group 6 ------->
|group11style = {{{custom6style|}}}
|group11 = {{{custom6|}}}
|list11style = {{{list6style|}}}
|list11 = {{{list6|}}}
<!------ Optional custom group 7 ------->
|group12style = {{{custom7style|}}}
|group12 = {{{custom7|}}}
|list12style = {{{list7style|}}}
|list12 = {{{list7|}}}
<!------ Optional custom group 8 ------->
|group13style = {{{custom8style|}}}
|group13 = {{{custom8|}}}
|list13style = {{{list8style|}}}
|list13 = {{{list8|}}}
<!-------------------------------------------------------
"below" section Outline, Index, Bibliography then
Book, Category, Commons, Portal,
WikiProject links (if available /
provided (Commons) / not suppressed)
-------------------------------------------------------->
|belowstyle = {{{belowstyle|}}}
|below =
{{#if:{{{_nobelow|}}} |<!--then omit "below" line, else:-->
| {{#if:{{{below|}}} |<!--then use-->{{{below}}}<!--line provided, else:-->
| {{Navbox |child |bodyclass=hlist |bodystyle=background:transparent;
|list1 = <!--
--------------------------------------
Outline, Index, Bibliography links
--------------------------------------
-->{{#ifexist:
|*
}}<!--
-->{{#ifexist:Index of {{{prefix|}}} {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
<!----To capture instances where place is or can be "the [placename]"
but adjective is "[placename]-related", i.e. with no "the" prefix:---->
| {{#ifexist:Index of {{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}-related articles
|* [[Indeks {{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}-related articles|Indeks]]
}}<!--
-->{{#ifexist:
|* [[Bibliografi
}}
|list2style = background:transparent;font-weight:bold;
|list2 = <!--
----------------------------------------------
Book, Category, Commons, Portal, WikiProject
----------------------------------------------
-->{{#ifexist:Book:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
|* <!--{{icon|Book}}--> [[Buku:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Buku]]
}}<!--
-->{{#ifexist:Category:{{{country|{{{territory|{{{region|{{{titlename|}}}}}}}}}}}}
|* <!--{{icon|Category}}--> [[:Kategori:{{{country|{{{territory|{{{region|{{{titlename}}}}}}}}}}}}|Kategori]]
}}<!--
-->{{#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]]
}}
<!-- |list3 = <!--
-----------------------
addtobelow (optional)
-----------------------
-->{{#if:{{{addtobelow|}}} |{{{addtobelow}}} }}
}}<!--
-->}}<!--(end #if:{{{below|}}})
-->}}<!--(end #if:{{{_nobelow|}}})-->
}}</includeonly><noinclude>
{{documentation}}
</noinclude>
|