قالب:Flex columns/شرح: الفرق بين النسختين
المزيد من اللغات
المزيد من الإجراءات
عبد العزيز (نقاش | مساهمات) ط ←بيانات القالب: تنسيق ويكي - إزالة الفراغات الزائدة من القوالب |
عبد العزيز (نقاش | مساهمات) ط ←بيانات القالب: تنسيق ويكي - إزالة الفراغات الزائدة من القوالب |
(لا فرق)
| |
النسخة الحالية 14:55، 13 سبتمبر 2023
| هذه صفحة توثيق قالب:Flex columns الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
| هذا القالب يستعمل لوا: |
This template creates a two-column layout, where contents within the columns will have the same height, with any extra whitespace distributed throughout the shorter columns contents. It is mainly intended for use in portals.
This sort of layout requires browsers to support CSS flexbox . For those that don't there is a fallback that will show a two column view, but without the heights being the same (a layout many portals used as at July 2018).
For narrow screens, e.g. mobile devices, the display reverts to a single column.
الاستعمال
{{Flex columns
|1 = (...first column contents...)
|2 = (...second column contents...)
}}Only contents which are in <div></div> tags will have extra whitespace distributed to them – except for those with class flex-columns-noflex (or otherwise override the flex: property)
مثال
| توصيف | يظهر |
|---|---|
<!-- هنا المثال --> |
|
بيانات القالب
بيانات قالب: «Flex columns»
لا وصف.
| وسيط | وصف | نوع | حالة | |||
|---|---|---|---|---|---|---|
| لا معاملات محددة | ||||||