موضيل:Navbox with columns

شرح د لقالب[شوف] [عدل] [تاريخ] [تحديت]
موضيل ؤلا شرح د لموضيل مامطرجمش. عافاك عاون ف طّرجامة ديالو.

أمتيلا

بدل

أساسي

بدل
{{شريط بأعمدة
| name = East Asia Summit (EAS)
| title = [[قمة شرق آسيا]]
| listclass = plainlist
| width = 18.25em
| padding = 10em
| aboveclass = hlist
| abovestyle = font-weight: bold;

| above =
* [[First East Asia Summit|First]]
* [[Second East Asia Summit|Second]]
* [[Third East Asia Summit|Third]]
* [[Fourth East Asia Summit|Fourth]]
* [[Fifth East Asia Summit|Fifth]]
* [[Sixth East Asia Summit|Sixth]]
* [[Seventh East Asia Summit|Seventh]]

| col1 =
* {{أستراليا}}
* {{بروناي}}
* {{بورما}}

| col2 =
* {{علم كمبوديا}}
* {{الصين}}
* {{الهند}}

| col3 =
* {{إندونيسيا}}
* {{علم اليابان}}
* {{لاوس}}

| col4 =
* {{ماليزيا}}
* {{نيوزيلندا}}
* {{الفلبين}}

| col5 =
* {{روسيا}}
* {{سنغافورة}}
* {{كوريا الجنوبية}}

| col6width = 17em
| col6 =
* {{تايلاند}}
* {{علم الولايات المتحدة}}
* {{VIE}}

}}

موضيل:شريط بأعمدة

مع تحديد العرض

بدل
{{شريط بأعمدة
| name = Transit visibility table
| titlestyle = background:silver;
| title = [[عبور فلكي]] visibility from [[inferior and superior planets|planets superior]] to the transiting body
| listclass = plainlist
| colwidth = 14.2857%
| colstyle = text-align:center;

| col1header = Venus
| col1 = 
* [[Transit of Mercury from Venus|Mercury]]

| col2header = Earth
| col2 = 
* [[عبور عطارد]]
* [[عبور الزهرة]]

| col3header = Mars
| col3 = 
* [[Transit of Mercury from Mars|Mercury]]
* [[Transit of Venus from Mars|Venus]]
* [[Transit of Earth from Mars|Earth]]

| col4header = Jupiter
| col4 =
* [[Transit of Mercury from Jupiter|Mercury]]
* [[Transit of Venus from Jupiter|Venus]]
* [[Transit of Earth from Jupiter|Earth]]
* [[Transit of Mars from Jupiter|Mars]]

| col5header = Saturn
| col5 = 
* [[Transit of Mercury from Saturn|Mercury]]
* [[Transit of Venus from Saturn|Venus]]
* [[Transit of Earth from Saturn|Earth]]
* [[Transit of Mars from Saturn|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]

| col6header = Uranus
| col6 = 
* [[Transit of Mercury from Uranus|Mercury]]
* [[Transit of Venus from Uranus|Venus]]
* [[Transit of Earth from Uranus|Earth]]
* [[Transit of Mars from Uranus|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]

| col7header = Neptune
| col7 = 
* [[Transit of Mercury from Neptune|Mercury]]
* [[Transit of Venus from Neptune|Venus]]
* [[Transit of Earth from Neptune|Earth]]
* [[Transit of Mars from Neptune|Mars]]
* [[Transit of Jupiter from outer planets|Jupiter]]
* [[Transit of Saturn from outer planets|Saturn]]
* [[Transit of Uranus from Neptune|Uranus]]

}}

موضيل:شريط بأعمدة

Example with colnheader and colnfooter

بدل

The gray background for the columns is added for illustration only. موضيل:شريط بأعمدة

Example with colnheader using colnheadercolspan

بدل

The gray background for the columns is added for illustration only. This example shows the colnheadercolspan parameter being used, but you may also use colnfootercolspan to adjust the span of the footer cells. موضيل:شريط بأعمدة

Example to illustrate most fields

بدل

The gray background and centered text for the columns is for illustration only. The columns default to an off-white background and left text alignment. This example shows how you can use up to six additional groups/lists after the columns.

موضيل:شريط بأعمدة

Using child navboxes

بدل

All three types of navbox templates, namely {{شريط}}, {{شريط بأعمدة}}, and {{شريط مركب}}, can be nested inside of one another using the border parameter (which is common to all three). For complex templates, it may be necessary to use nesting to achieve a desired look.

Nesting Navbox with columns in itself

بدل

This example shows how one can nest multiple {{شريط بأعمدة}} templates to get the right look. Edit this page to see the code. There is a main {{شريط بأعمدة}} and two additional {{شريط بأعمدة}} templates, with the "child" option set (see code). موضيل:شريط بأعمدة

Nesting other Navbox forms

بدل

This example shows {{شريط}}, {{شريط مركب}} and {{شريط بأعمدة}} all working together. Edit this page to see the code. Note that each of the child navboxes has the first parameter set to child. موضيل:شريط مركب

Footnotes

بدل