این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود.
بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید.
الگوهای موضوع قاره/منطقه توانایی ساخت الگوهای ناوبری برای نوشتارهایی درباره یک موضوع مشترک در کشورهای گوناگونِ یک قاره/سرزمین را در کمترین زمان ممکن فراهم میکنند. این الگو الگو:جعبه ناوبری را برای ساخت جعبهٔ ناوبری به کار میگیرد.
فهرست کشورهایی که در الگوهای «موضوع قاره» به کار گرفته شده، همان فهرستی است که در الگوهای «کشورهای قاره» نیز به کار برده میشود.
برای نمونه، روش رایج دربارهٔ اقیانوسیه این است که قاره اقیانوسیه در بر گیرندهٔ استرالیا و کشورهای اقیانوس آرام است ولی جزیرههایی که رابطهٔ نزدیکتری با آسیا یا آمریکا دارند در آن قارهها جای میگیرند.
The most basic usage of template is with a single unnamed parameter in the format {{Continent/region topic|Topic [of/in]}}، replacing Continent/region with the name of a continent or region and Topic with the name of a topic followed by "of" or "in". برای مثال، {{موضوع آفریقا|جغرافیای}} generates a navigation box titled "جغرافیای آفریقا" with a list of country names linked to articles such as جغرافیای آنگولا، غیره.
The template accepts a second unnamed parameter for text to be placed after the country name. There is no space between the country name and the suffix، to allow for links to articles such as List of اسپانیا-related topics.
Note that in the above example the links work but the underscore is displayed in the title. This can be fixed by specifying a title (see next section) or by using the named parameter suffix which always places a space between the country name and text.
کد
{{موضوع آمریکای جنوبی|prefix=List of basic|suffix=topics}}
The title parameter is used to specify text which appears in the title bar at the top of the navigation box. This is optional because the use of prefix، suffix or both will automatically generate a title، as shown in the previous examples. This title is not automatically ویکیمتنed، so add brackets as needed.
The following shows a navigation box with links to articles such as پرچم استرالیا، but replaces the default title "پرچمهای قاره اقیانوسیه" with the specified title "پرچمهای قاره اقیانوسیه".
These navigation boxes are set to autocollapse when there is more than one on a page. To force it into collapsed or expanded mode use the state parameter. If set to collapsed، the navbox will always start out in a collapsed state. If set to blank or anything other than autocollapse or collapsed، the navbox will always start out in an expanded state.
Disabling dependencies and other territories[ویرایش]
Not all قلمروی وابسته or similar territories have their own articles on particular topics. To disable the inclusion of such territories in a template (that would otherwise appear as Wikipedia:Red links)، include the parameter "countries_only=yes".
Although these templates can be used in an article، they can also be used to create a new template. The name parameter is mandatory when creating a new template، because it allows the "v · d · e" links to work properly. The following example shows code that could be used to create الگو:پرچمهای اروپا.
{{موضوع اروپا
|name = پرچمهای اروپا
|state = {{{state|}}}
|title = [[پرچمهای اروپا]]
|prefix = پرچم
}}<noinclude>
[[رده:الگو:اروپا]]
</noinclude>
The template can then be added to articles using {{پرچم اتحادیه اروپا}} یا {{پرچمهای اروپا|state=expand}}.
Before implementing these templates in a topic، check for red links. If there are several red links، consider whether a separate article in the topic for each country is warranted.
Some topics می use a different navigational scheme. In general، don't use this template if there are already navigational templates in several of the articles of a topic.
Examples of appropriate articles for these templates are {{موضوع آفریقا|فرهنگ}} یا {{موضوع آمریکای شمالی|List of airports in}}، both of which have a number of blue links، and where the majority of red links could have a reasonable article written about them.
Examples of inappropriate articles for these templates are {{موضوع آمریکای شمالی|مایا در}}، where articles could only be written for a small number of nations and {{موضوع اقیانوسیه|Music of}}، where articles already have templates which use a different navigational scheme.