قالب:موضوعات بلد

Template documentation[view] [edit] [history] [purge]


Note: In the following, the word "place" is used in place of "country / territory / region [/...]" to keep the text's density manageable. "place", however, is not one of the parameters that can be used to specify the template's subject (see below).

الاستعمال

This is a metatemplate for templates in categories such as Category:Country and territory topics templates. It provides the layout that appears to have evolved for the majority of these templates, viz.

  • A titlebar featuring a flag icon followed by the place's name followed by the word "topics";
  • A line between the template's titlebar and main body (the "above" line) that carries a link or links to an outline and/or index article;
  • Five fundamental topic areas: History, Governance, Geography, Economy, Culture;
  • A line below the template's main body (the "below" line) that carries a link or links to a Wikibook، وتصنيف المعرفة، تصنيف المشاع، البوابة and/or WikiProject.

Although standardized, much of the above can be customized via the template's parameters.

المتغيرات

Most common parameters shown in bold italics.

Order of
appearance
in template
code
Parameter name Description and example/s
1 template_name Occasionally, the template's name won't necessarily match its title, e.g. the name "Burma (Myanmar) topics" for a template whose title is "Burma topics". In these cases, use template_name to ensure the "V•T•E" links on the lefthand side of the template's titlebar operate correctly.
 |template_name = Burma (Myanmar) topics
(|country = Burma)
2 country
territory

region
Required

Use one of these to identify the place to which the topics refer.

|country = Belgium
|territory = Anhui
|region = Caribbean
3 [unnamed]
state
Use when calling the template to set its initial state (expanded, collapsed, autocollapse).
{{Belgium topics |expanded}}
{{Anhui topics |state=collapsed}}
4 (basestyle) Use to set a non-standard basestyle (a non-standard colo/ur scheme – see {{Navbox}} – so use sparingly, if at all!)
5 _notitleflag Set to anything (usually "yes") to suppress the appearance of a flag icon in the titlebar.
6 flagname Use to provide the name of the place's flag if it doesn't match the default "Flag of [place]". This is usually due to prefixes/suffixes in the place's name such as "T/the" ("the Bahamas", "The Gambia", etc).
|flagname = Flag of the Bahamas
7 prefix If the place's name is (sometimes) prefixed by a word such as "the" (e.g. "...of the British Virgin Islands"), set prefix to this word.
|prefix = the
8 flagsize
flagvariant
Use to alter the size or variant of the flag icon from the default settings (see {{flagicon}}).
9 titlename Provided for those occasions where a place carries disambiguation within Wikipedia (e.g. "Galicia (Spain)") but that disambiguation not desired in the template's title.
|region = Galicia (Spain)
|titlename = Galicia
10 _notopicsword Set to anything (usually "yes") to suppress the appearance of the word "topics" in the titlebar.
11 imagestyle Optional further CSS styling for image (if used).
12 image To include an image on the righthand side of template (usually the place's coat of arms). Use Wikipedia's standard syntax, e.g.
[[File:Image's filename.svg|120px|alt=This is a brief description of the image|link=Name of article to which image links]]
13 abovestyle Optional further CSS styling for the template's "above" line (between the template's titlebar and main body).
14 _noabove Set to anything (usually "yes") to suppress the appearance of the "above" line.
15 above For a custom "above" line, i.e. carrying something other than an outline and/or index link.
|above = Capital: [[Hefei]]
16 addtoabove To add (further) links to the "above" line, especially if there's only one or two articles on a particular topic area.
|addtoabove =
 * [[History of Place|History]]
   (if e.g. not enough links to merit a history entry)
 * [[Territorial dispute over Place|Territorial dispute]]
17 history For a list or listsa of links addressing the place's history. See where this template occurs in Wikipedia for examples.
18 custom1
list1
For a custom-named (custom1) list (list1) after the list of history topics (if provided) and before anything else.
19 geography
(subdivisions
(subdivisions_link))
For a list or listsa of links addressing the place's geography. See where this template occurs in Wikipedia for examples.
subdivisions can be used for a separate list of topics about the place's administrative divisions. If, for the name "Subdivisions" preceding this list, the link "Administrative divisions of [place]" doesn't exist or an alternative is desired, it can be given using subdivisions_link.
|subdivisions_link = Bhutan#Administrative divisions
20 custom2
list2
For a custom-named (custom2) list (list2) after the list of geography (and/or subdivision) topics (if provided) and before anything else.
21 governance
(governance_link)
(politics
military)
For a list or listsa of links addressing the place's governance (politics, government, etc). See where this template occurs in Wikipedia for examples.
As links named "Governance of [place]" don't tend to exist, governance_link can be used to provide a link for the name "Governance" that precedes the list.
|governance_link = Politics of Afghanistan

politics and military are provided if a separate list or lists of topics about the place's politics and/or military (armed forces) are desired.

22 custom3
list3
For a custom-named (custom3) list (list3) after the list of governance (and/or politics/military) topics (if provided) and before anything else.
23 economy
(infrastructure)
For a list or listsa of links addressing the place's economy. See where this template occurs in Wikipedia for examples.
infrastructure is provided if a separate list of topics about the place's infrastructure is desired.
24 custom4
list4
For a custom-named (custom4) list (list4) after the list of economy (and/or infrastructure) topics (if provided) and before anything else.
25 culture
(society
(demonym,
society_link)
demographics
religion
symbols
(symbols_link))
For a list or listsa of links addressing the place's culture. See where this template occurs in Wikipedia for examples.
society, demographics, religion and symbols are provided if a separate list or lists of topics about the place's social structure, demographics, religion and/or symbols are desired.
If society is used, then, if the place has a society category at Wikipedia that's named using a demonym (e.g. "Category:Italian society"), demonym can be used to link the group's name "Society" to that category.
|demonym = Italian     (producing the link [[Category:Italian society|Society]])

Alternatively, society_link can be used to generate a relevant link, e.g.

|society_link = Social history of England     (producing the link [[Social history of England|Society]])

Similarly, if symbols is used and the template is unable to link its group name "Symbols" to the relevant place – or, if an alternative link is desired – then symbols_link can be used to generate a link.

|symbols_link = Symbols of the United Kingdom, the Channel Islands and the Isle of Man#Bailiwick of Guernsey
26 custom5
list5
For a custom-named (custom5) list (list5) after the list of culture/society/etc topics (if provided) and before anything else.
27 custom6
list6
For a custom-named (custom6) list (list6) after custom list5 (if provided) and before custom list7 (if provided) or the template's "below" line (if not suppressed).
28 custom7
list7
For a custom-named (custom7) list (list7) after custom list6 (if provided) and before the template's "below" line (if not suppressed).
29 belowstyle Optional further CSS styling for the template's "below" line (below the template's main body).
30 _nobelow Set to anything (usually "yes") to suppress the appearance of the "below" line.
31 _commonslink Set to "yes" (without speechmarks) to include a link in the "below" line to the Commons category with the same name as the place. This assumes that such a category exists.
|_commonslink = yes
32 addtobelow To add (further) links to the "below" line that aren't already handled by the template buit (ideally) follow the same pattern of "[icon] [[link]]".
|addto below =
 * {{icon|Book}} [[Place by years]]
 * {{icon|Category}} [[:Category:Place templates|Place templates]]
a Using e.g. {{Navbox |subgroup ...}}.