ഫലകം:Navbox with columns

[തിരുത്തുക] [പുതുക്കുക] ഫലകത്തിന്റെ വിവരണം

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.

Basic syntax

Only required parameters and colwidth included.

{{Navbox with columns|name  = {{subst:PAGENAME}}|title = |colwidth =  <!--(to set a default width for 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 colwidth not specified, a default 10em is used.

Parameters

Required parameters in bold.

nameThe name of the template. The name of this template, for example, is "Navigation with columns".
statePossible values are collapsed, uncollapsed, and the default autocollapse.
titlestyleCSS style/s to apply to titlebar; usually background:color (background defaults to NavHead default).
titleThe title of the template, displayed centered in the titlebar at the top of the template.
bodystyleCSS style/s to apply to the template's body (i.e. including space not used by columns)
abovestyleCSS style/s to apply to the above parameter.
aboveText or other elements to appear above the columns.
imageImage to the right of all of the columns.
imageleftImage to the left of all of the columns.
colwidthWidth, preferably in a proportional unit such as 'em', used for each column whose width not specified by colNwidth below. Defaults to 10em.
paddingPadding before first column, preferably in a proportional unit. Defaults to 5em.
colsstyleCSS style/s to apply across all columns; if used, usually background:color per titlestyle above.
oddcolstyleCSS style/s to apply to all odd-numbered columns (again, if used, usually background:color).
evencolstyleCSS style/s to apply to all even-numbered columns (ditto).
col1widthFirst column's width (overrides colwidth above).
col1styleCSS style/s to apply to the first column.
col1First column's content.
col2widthSecond column's width (overrides colwidth above).
col2styleCSS style/s to apply to the second column.
col2Second column's content.
col3widthThird column's width (overrides colwidth above).
col3styleCSS style/s to apply to the third column.
col3Third column's content.
............
col20widthTwentieth and final column's width (overrides colwidth above).
col20styleCSS style/s to apply to the twentieth and final column.
col20Twentieth and final column's content.
belowstyleCSS style/s to apply to the below parameter.
belowText or other elements to appear below the columns.
categoryThe 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.

Example

Code

{{Navbox with columns|name    = East Asia Summit (EAS)|title   = Member states of the [[East Asia Summit|East Asia Summit (EAS)]]|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}}|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}{{RUS}}}}

Result

See also

Navigation templates comparison
CollapsibleHeader colorImageGroupsStyle (body)
parameter/s
Examples
{{Navbox}}collapsiblenavboxLeft/right of bodyYesYes
{{Navbox with collapsible groups}}collapsiblenavboxLeft/right of body and/or in each listYesYes
{{Navbox with columns}}collapsiblenavboxLeft/right of columnsNoYes
  • {{Current U.S. Senators}}
  • {{Historical regions of the Czech Republic}}
Collapsible attributes
TypeCSS classesJavaScriptCollapses whenCustom
initial state
Nesting
Collapsible tablescollapsibleDefined in Common.js2 or more autocollapse on pageYesYes


"https:https://www.search.com.vn/wiki/index.php?lang=ml&q=ഫലകം:Navbox_with_columns&oldid=3576552" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്
🔥 Top keywords: പി.എൻ. പണിക്കർവായനദിനംതുഞ്ചത്തെഴുത്തച്ഛൻബിഗ് ബോസ് (മലയാളം സീസൺ 6)കുമാരനാശാൻഈദുൽ അദ്‌ഹവള്ളത്തോൾ നാരായണമേനോൻപ്രധാന താൾപ്രത്യേകം:അന്വേഷണംഉള്ളൂർ എസ്. പരമേശ്വരയ്യർചെറുശ്ശേരിവൈക്കം മുഹമ്മദ് ബഷീർസുഗതകുമാരിമലയാളം അക്ഷരമാലആധുനിക കവിത്രയംചങ്ങമ്പുഴ കൃഷ്ണപിള്ളപാത്തുമ്മായുടെ ആട്ആടുജീവിതംബാബർകുഞ്ചൻ നമ്പ്യാർമലയാളംഒ.എൻ.വി. കുറുപ്പ്പ്രാചീനകവിത്രയംമധുസൂദനൻ നായർഅക്‌ബർകുഞ്ഞുണ്ണിമാഷ്ഇന്ത്യൻ പാർലമെന്റ്കഥകളിഹുമായൂൺമുഗൾ സാമ്രാജ്യംഎസ്.കെ. പൊറ്റെക്കാട്ട്കേരളംജഹാംഗീർഷാജഹാൻചണ്ഡാലഭിക്ഷുകികമല സുറയ്യതകഴി ശിവശങ്കരപ്പിള്ളഔറംഗസേബ്എം.ടി. വാസുദേവൻ നായർ