قالب:قوالب مواضيع عن مناطق وقارات

من ويكيبيديا، الموسوعة الحرة

توثيق عام لقوالب موضوع القارات[عدل]

هذا التوثيق مضمن من قالب: قوالب مواضيع عن مناطق وقارات.

قالب:قوالب مواضيع عن مناطق وقارات يسمح بإنشاء سريع لقوالب تصفح لمجموعات من المقالات حول موضوع مشترك في مختلف دول قارة/ منطقة. وهو يستخدم قالب: شريط لإنشاء صندوق تصفح.

وقوائم البلدان المدرجة في قوالب "موضوع قارة" هي تلك التي وجدت على نطاق واسع في قوالب "بلدان" . ومن الأفضل إجراء مناقشات على أي البلدان يجب أن تضمن في صفحات نقاش هذه القوالب الأخيرة.

على سبيل المثال، أوقيانوسيا تشمل عموماً أستراليا ودول المحيط الهادئ وجزر المحيط الهادئ التي لديها علاقات أوثق مع آسيا أو أمريكتان وعادة ما يتم تجميعها وفقاً لذلك.

الاستخدام[عدل]

الإحداثي الأول (البادئة)[عدل]

معظم استخدام الأساسية من القالب مع معلمة واحدة لم يسمها في شكل {{قارة/ منطقة موضوع|موضوع [من/ في]}}, مستبدلاً قارة/ منطقة باسم قارة أو منطقة وموضوع باسم الموضوع متبوعاً ب "من" أو "في". مثال: {{موضوع أفريقيا|جغرافيا}} ينشأ صندوق تصفح بعنوان "جغرافيا أفريقيا" بقائمة من أسماء الدول موصلاً للمقالات مثل جغرافيا أنغولا، إلخ.

الشفرة
{{موضوع أفريقيا|جغرافيا}}
النتيجة


يمكن استخدام الإحداثي المسمى بادئة مكان الإحداثي الأول الغير مسمى.

الشفرة
{{آسيا|قبل=جغرافيا}}
النتيجة


الإحداثي الثاني (اللاحقة)[عدل]

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 Spain-related topics.
This element is absent of : {{Topic (Africa)}}, {{موضوع (آسيا)}}, {{Topic (Europe)}}, {{Topic (Oceania)}}, {{Topic (Americas)}} , {{Topic (North America)}}, {{Topic (South America)}}

الشفرة
{{أوروبا|List of |-related topics}}
Result


An underscore can be used to place a space between the country name and the text:

الشفرة
{{الإسلام في أمريكا الشمالية|List of basic |_topics}}
Result


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 "Flag of Oceania" with the specified title "أعلام دول أوقيانوسيا".

الشفرة
{{أوقيانوسيا|علم |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.

الشفرة
{{موضوع أفريقيا|prefix=جغرافيا |state=expand}}
النتيجة


تعطيل التبعيات والمناطق الأخرى[عدل]

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 ويكيبيديا:وصلة حمراءs), include the parameter "countries_only=yes".

الشفرة
{{أوروبا|prefix=الإسلام في |state=expanded |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 · T · E" links to work properly. The following example shows code that could be used to create قالب:أعلام دول أوروبا.

{{أوروبا
|name = Flags of Europe
|state = {{{state|{{{1|}}}}}}
|title = [[أعلام أوروبا]]
|prefix = Flag of
}}<noinclude>
[[تصنيف:قوالب توثيق انظر أيضا]]

[[تصنيف:قوالب أوروبا]]
</noinclude>

The template can then be added to articles using {{أعلام دول أوروبا}} or {{أعلام دول أوروبا|state=expand}}.


متى تستخدم القوالب[عدل]

  1. قبل تنفيذ هذه القوالب في الموضوع، تحقق من الروابط الحمراء. إذا كان هناك عدة وصلات حمراء، والنظر في ما إذا كان هناك ما يبرر وجود مادة مستقلة في هذا الموضوع لكل بلد.
  2. بعض الموضوعات قد تستخدم نظام ملاحي مختلف. بشكل عام لا تستخدم هذا القالب إذا كان هناك بالفعل نماذج ملاحية في العديد من المواد من الموضوع.

Examples of appropriate articles for these templates are {{موضوع أفريقيا|Culture of}} or {{الإسلام في أمريكا الشمالية|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 {{الإسلام في أمريكا الشمالية|Maya in}}, 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.

تحويلات[عدل]

عندما يكون هناك عدد قليل من الوصلات بحيث لا تستقيم المقالة في هذه الحالة، فمن الممكن تحويلها إلأى مقالة أسوع نطاقاً. على سبيل المثال: الهندوسية في كمبوديا ممكن أن تحول إلى الهندوسية في جنوب شرق آسيا. وجغرافيا جزيرة عيد الميلاد تحول إلى جزيرة عيد الميلاد.

ملاحظات[عدل]

عادة ما توضع قوالب التصفح في أسفل المقالة.