پرش به محتوا
منوی اصلی
منوی اصلی
انتقال به نوار کناری
نهفتن
ناوبری
صفحهٔ اصلی
تغییرات اخیر
مقالهٔ تصادفی
راهنما دربارهٔ مدیاویکی
صفحههای ویژه
ویکیهزاره
جستجو
جستجو
ظاهر
ساخت حساب
ورود
ابزارهای شخصی
ساخت حساب
ورود
صفحههایی برای ویرایشگرانی که از سامانه خارج شدند
بیشتر بدانید
مشارکتها
بحث
در حال ویرایش
الگو:Country showdata/توضیحات
(بخش)
الگو
بحث
فارسی
خواندن
ویرایش مبدأ
نمایش تاریخچه
ابزارها
ابزارها
انتقال به نوار کناری
نهفتن
کنشها
خواندن
ویرایش مبدأ
نمایش تاریخچه
عمومی
پیوندها به این صفحه
تغییرات مرتبط
اطلاعات صفحه
ظاهر
انتقال به نوار کناری
نهفتن
هشدار:
شما وارد نشدهاید. نشانی آیپی شما برای عموم قابل مشاهده خواهد بود اگر هر تغییری ایجاد کنید. اگر
وارد شوید
یا
یک حساب کاربری بسازید
، ویرایشهایتان به نام کاربریتان نسبت داده خواهد شد، همراه با مزایای دیگر.
بررسی ضدهرزنگاری. این قسمت را پر
نکنید
!
==Additional parameters== Many country data templates require additional documentation beyond the standard mandatory <tt>alias</tt> and <tt>flag alias</tt> parameters. This template will automatically document standard optional parameters (such as <tt>shortname alias</tt>) if present, and can document unique optional parameters (such as flag variants) if instructed to. This latter method uses documentation-specific parameters in the country data template to activate the additional output from this template. These documentation parameters are set off from the rest of the parameters in the country data template by a <tt><nowiki><noinclude></nowiki></tt> section: <pre> <noinclude> | var1 = ... | redir1 = ... | related1 = ... </noinclude> </pre> ===Flag variants=== Flag variants are added to a country data template by the inclusion of one or more <tt>flag alias-''label''</tt> parameters, where each <tt>''label''</tt> is a unique identifier that is subsequently used as an input parameter to <tt><nowiki>{{flag|...}}</nowiki></tt>, <tt><nowiki>{{flagicon|...}}</nowiki></tt>, etc. To document these flag variants, use the <tt>var''N''</tt> documentation parameters to identify each label. For example, [[Template:Country data Seychelles]] identifies three flag variants (in addition to the current flag) with the following code: <pre> | flag alias-1976 = Flag of the Seychelles 1976.svg | flag alias-1977 = Flag of the Seychelles 1977.svg | flag alias-colonial = Government Ensign of the United Kingdom.svg </pre> These three variants are documented by the following code segment later in the template: <pre> <noinclude> | var1 = 1976 | var2 = 1977 | var3 = colonial ... </noinclude> </pre> Up to nine flag variants can be documented by this method (using <tt>var1</tt> to <tt>var9</tt>). If more are present (and currently, only [[Template:Country data United States]] has more than nine flag variants), these can be listed on a separate documentation subpage as described below. Note that you do ''not'' have to use a <tt>var''N''</tt> parameter for the standard optional variant label <tt>naval</tt> (used for the country's naval ensign). If present, it will automatically be documented. ===Redirect aliases=== Many country data templates have ''alias'' names that can be used instead of the usual country name with all of the main flag templates. These are usually, but not exclusively, standard country code abbreviations such as those specifed in [[ISO 3166-1 alpha-3]] or by the [[List of IOC country codes|IOC]] or [[List of FIFA country codes|FIFA]]. These are implemented as redirects, and are listed in [[:Category:Country data redirects]]. For example, [[الگو:Country data Germany|Template:Country data DEU]] and [[الگو:Country data Germany|Template:Country data GER]] both redirect to [[Template:Country data Germany]], because ''DEU'' is the ISO code and ''GER'' is the IOC and FIFA code for Germany. Therefore, <tt><nowiki>{{flagicon|DEU}}</nowiki></tt>, <tt><nowiki>{{flagicon|GER}}</nowiki></tt>, and <tt><nowiki>{{flagicon|Germany}}</nowiki></tt> all have the same result. These redirect aliases are documented by the following template code fragment: <pre> <noinclude> ... | redir1 = DEU | redir2 = GER ... </noinclude> </pre> ===Related templates=== Several country data templates are used for alternate forms to the common country data template for the nation, usually but not exclusively for historic nations. Pointers to these alternate templates are useful additions to the template documentation so that editors can use the correct template for their specific purposes. For example, [[Template:Country data Serbia and Montenegro]] includes the following code to document three other related country data templates: <pre> <noinclude> ... | related1 = Serbia | related2 = Montenegro | related3 = FR Yugoslavia ... </noinclude> </pre> ===Additional documentation=== For situations where the automatic documentation method is not completely adequate, additional documentation can be displayed by <tt>country showdata</tt>. Simply create a documentation subpage (named as <tt>Template:Country data Countryname/doc</tt>) with the additional material, and it will be transcluded after all other output sections. For example: *[[Template:Country data Ireland/doc]] is used to explain why that template is distinct from [[Template:Country data Republic of Ireland]] *[[Template:Country data France/doc]] is used to document the list of country data templates available for each of the regions of France *[[Template:Country data United States/doc]] is used to document the full set of flag variants (for each number of stars), and to list all of the country data templates available for state and territory flags
خلاصه:
لطفاً توجه داشته باشید که همهٔ مشارکتها در ویکیهزاره ممکن است توسط دیگر مشارکتکنندگان تغییر یابند، ویرایش یا حذف شوند. اگر نمیخواهید نوشتههایتان بیرحمانه ویرایش شوند؛ بنابراین، آنها را اینجا ارائه نکنید.
شما همچنین به ما تعهد میکنید که خودتان این را نوشتهاید یا آن را از یک منبع با مالکیت عمومی یا مشابه آزاد آن برداشتهاید (
ویکیهزاره:حق تکثیر
را برای جزئیات بیشتر ببینید).
کارهای دارای حق تکثیر را بدون اجازه ارائه نکنید!
لغو
راهنمای ویرایش
(در پنجرهٔ تازه باز میشود)
جستجو
جستجو
در حال ویرایش
الگو:Country showdata/توضیحات
(بخش)
افزودن مبحث