ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Template:Navigation with columns - Wikipedia, the free encyclopedia

Template:Navigation with columns

From Wikipedia, the free encyclopedia



The template {{Navigation with columns}} is deprecated. Please use {{Navigation with columns}} instead.
This usage is deprecated. Please replace it with {{tdeprecated|Navigation with columns|Navigation with columns}}.
The template {{Navigation with columns}} is deprecated. Please use {{Navbox with columns}} instead.

A navigation box that presents its content in columns. Originally intended to provide a relatively straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.

[edit] Basic syntax

Only required parameters and width included.

{{Navigation with columns
|name  = {{subst:PAGENAME}}
|title = 
|cols  = (number of columns)
|width = (width of each column, preferably in a proportional unit such as 'em'*)
|col1  = 
|col2  = 
}}

* See Em (typography). Using proportional units means the template should still be displayed correctly across a range of browser font-sizes. If width not specified, a default 10em is used.

[edit] Parameters

Required parameters in bold.

name The name of the template. The name of this template, for example, is "Navigation with columns".
titlestyle CSS style/s to apply to titlebar; usually background:color (background defaults to NavHead default).
title The title of the template, displayed centered in the titlebar at the top of the template.
bodystyle CSS style/s to apply to the template's body (i.e. including space not used by columns)
abovestyle CSS style/s to apply to the above parameter.
above Text or other elements to appear above the columns.
cols The number of columns to be used (maximum 10, minimum 2).
width Width, preferably in a proportional unit such as 'em', used for each column whose width not specified by colNwidth below. Defaults to 10em.
padding Padding before first column, preferably in a proportional unit. Defaults to 5em.
colstyle CSS style/s to apply across all columns; if used, usually background:color per titlestyle above.
oddcolstyle CSS style/s to apply to all odd-numbered columns (again, if used, usually background:color).
evencolstyle CSS style/s to apply to all even-numbered columns (ditto).
col1width First column's width (overrides width above).
col1style CSS style/s to apply to the first column.
col1 First column's content.
col2width Second column's width (overrides width above).
col2style CSS style/s to apply to the second column.
col2 Second column's content.
col3width Third column's width (overrides width above).
col3style CSS style/s to apply to the third column.
col3 Third column's content.
...... ......
col10width Tenth and final column's width (overrides width above).
col10style CSS style/s to apply to the tenth and final column.
col10 Tenth and final column's content.
belowstyle CSS style/s to apply to the below parameter.
below Text or other elements to appear below the columns.
category The category or categories to which a page including the template will become a member. Avoid using, as such categories not shown in the code of a page transcluding the template.

[edit] Example

[edit] Code

{{Navigation with columns
|name    = East Asia Summit (EAS)
|title   = Member states of the [[East Asia Summit|East Asia Summit (EAS)]]
|cols    = 4
|width   = 18.25em
|padding = 10em

|above = ''This is where the {{{above}}} would appear.''

|col1 = {{AUS}}<br/> {{BRU}}<br/> {{CAM}}<br/> {{IND}}
|col2 = {{IDN}}<br/> {{JPN}}<br/> {{LAO}}<br/> {{MAS}}
|col3 = {{MYA}}<br/> {{NZL}}<br/> {{CHN-PRC}}<br/> {{PHI}}
|col4width=17em
|col4 = {{SIN}}<br/> {{KOR}}<br/> {{THA}}<br/> {{VIE}}

|belowstyle = padding-top:0.5em;
|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}{{RUS}}
}}

[edit] Result

[edit] See also

Navigation template comparison
view  talk  edit
collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes {{USCongress}}, {{Solar System}}
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes {{Current U.S. Senators}}, {{Czech lands}}
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes {{University of Michigan}}, {{Scouting}}
Collapsible attributes
Type CSS classes Javascript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes
Languages


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -