قالب:Flag
[[|]]
| التعديلات في القالب محمية حاليَّا. طالع ويكيبيديا:سياسة الحمايه وسجل الحماية لمعلومات أكثر. يرجى مناقشة أي تغييرات على صفحة النقاش؛ أو يمكنك تقديم طلباً بذلك ويكيبيديا:اداريين لإجراء التعديلات إذا كانت غير خلافية أو خاضعة لتوافق سابق. يمكنك أيضا تقديم طلباً لحمايتها. |
| هذا القالب يستعمل لوا: |
استعمال
{{Flag|رمز البلد}}
أو:
{{Flag|رمز البلد|بديل اختياري|اسم=نص بديل اختياري|حجم=أقصى عرض و/أو ارتفاع لصورة الFlag}}
Examples
| Wiki markup | Displays | Notes |
|---|---|---|
| rowspan=3 | Note that all instances link to United States. | |
| ||
| ||
| ||
| rowspan=3 | All three instances link to Germany. In addition to the ISO country codes, those used by FIFA, IOC, etc. are also supported. | |
| ||
| ||
| rowspan=2 | Flag variations can be used with either country names or country codes. | |
| ||
| ||
| The name parameter can be used to change the display string but keep the link to the correct article. | |
| The name parameter can also be used when flag variants are specified. | |
| rowspan=3 | Flags are also available for several sub-national and multi-national entities such as US states, Canadian provinces, and the European Union. A complete list can be found at Category:Country data templates. | |
| ||
| ||
| rowspan=2 | The size parameter can be used to control the image dimensions. 23×15px is the default size for most countries (some entities have a different default size). | |
|
TemplateData
بيانات قالب: «Flag»
This template displays a small flag icon next to a wikilinked country name
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| Country identifier | 1 | Common name of the country (e.g. 'United States'), a common alias (e.g. 'US'), or a standard country code | نص | مطلوب |
| Variant | 2 | Identifies a flag variant to be used instead of the standard flag, e.g. 1815 | نص | اختياري |
| Alternative text | name | Display alternative text instead of the standard country name | نص | اختياري |
| Maximum dimension | size | The maximum width or height, specified via standard 'extended image syntax' (e.g. x30px) | نص | اختياري |
شوف كمان
| الترميز | يعرض | ملاحظات |
|---|---|---|
| {{Coat of arms}} | displays coat of arms image | |
| {{Flagcountry}} | always expands the link text to the full country name | |
| {{Flagu}} | does not link the country name | |
| {{Flagicon}} | displays the flag only, linked to the country name | |
| {{Flagdeco}} | displays an unlinked flag icon only | |
| {{Flagc}} | links the flag image to its description page | |
| {{Flaglist}} | aligns country names correctly in vertical lists (see that template's documentation) | |
| {{Flagteam}} | adds country code in parentheses after linked country name | |
| {{Flagathlete}} | displays the flag and another name, followed country name or code | |
| {{Flagmedalist}} | displays the flag and a name, above linked country name and code | Dirk Nowitzki |
بيانات القالب
بيانات قالب: «Flag»
يعرض ده القالب أيقونة Flag صغير بجوار اسم البلد.
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| معرف البلد | 1 | الاسم الشائع للبلد (مثل "الولايات المتحدة") أو اسم مستعار شائع (مثل "الولايات المتحدة") أو رمز بلد قياسي | نص | مطلوب |
| Variant | 2 | يحدد متغير الFlag المراد استخدامه بدل الFlag المعتمد، على سبيل المثال الFlag فى سنة 1815 | نص | اختياري |
| نص بديل | name | نص بديل يعرض بدل اسم البلد القياسي | نص | اختياري |
| أقصى بعد | size | الحد الأقصى للعرض أو الارتفاع، المحدد عبر "صيغة الصورة الموسعة" القياسية
| نص | اختياري |
شوف باردوه
قوالب وصلة قالب
| الألعاب الأولمبية | {{FlagIOC}} | {{FlagIOCteam}} | {{FlagIOCathlete}} | {{FlagIOCmedalist}} |
|---|---|---|---|---|
| ألعاب أخرى | {{FlagIOC2}} | {{FlagIOC2team}} | {{FlagIOC2athlete}} | {{FlagIOC2medalist}} |
| ألعاب البارالمبية | {{FlagIPC}} | {{FlagIPCteam}} | {{FlagIPCathlete}} | {{FlagIPCmedalist}} |
| للبلدان الأمريكية | {{FlagPASO}} | {{FlagPASOteam}} | {{FlagPASOathlete}} | {{FlagPASOmedalist}} |
| ألعاب أمريكا الوسطى والكاريبي | {{FlagCAC}} | |||
| الكومنولث | {{FlagCGF}} | {{FlagCGFteam}} | {{FlagCGFathlete}} | {{FlagCGFmedalist}} |
| جنوب شرق آسيا | {{FlagSEAGF}} | {{FlagSEAGFteam}} | {{FlagSEAGFathlete}} | {{FlagSEAGFmedalist}} |
| "منتخب وطني في بطولة" الطراز | {{FlagATHCH}} | {{FlagATHCHathlete}} | {{FlagATHCHmedalist}} | |
| عام | {{علم}} | {{Flagteam}} | {{علم رياضي}} | {{Flagmedalist}} |
| عام (متغير variant) | {{رابط علم}} | {{Flaglinkmedalist}} |