வார்ப்புரு:Navigation with columns/doc
&lt;includeonly&gt;{{template doc page transcluded}}&lt;/includeonly&gt;&lt;noinclude&gt;{{template doc page viewed directly}}&lt;/noinclude&gt;
 &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;
 __NOTOC__
 Version of {{tl|Navigation}} that presents its content in columns. Originally intended to provide a straightforward means to align links prefixed by flag icons, e.g. in templates offering links to country articles.
 
 == Parameters ==
 Required parameters in '''bold'''; deprecated parameter names in parentheses.
 {| class=&quot;wikitable&quot; style=&quot;font-size:95%;&quot;
 |width=&quot;70px&quot;| '''''name''''' || The name of the template. The name of this template, for example, is &quot;Navigation with columns&quot;.&lt;/tr&gt;
 | ''titlestyle''  || [[Wikipedia:CSS|CSS]] style/s to apply to titlebar; usually &lt;code&gt;background:''color''&lt;/code&gt; (background defaults to [[Wikipedia:NavFrame|NavHead]] default).&lt;/tr&gt;
 | '''''title''''' || The title of the template, displayed centered in the titlebar at the top of the template.&lt;/tr&gt;
 | ''abovestyle''  || CSS style/s to apply to the ''above'' parameter.&lt;/tr&gt;
 | ''above''       || (or ''top'') Text or other elements to appear above the columns.&lt;/tr&gt;
 | '''''cols'''''  || The number of columns to be used (maximum 10, minimum 2).&lt;/tr&gt;
 | ''colstyle''    || CSS style/s to apply across all columns; per ''titlestyle'' above, usually &lt;code&gt;background:''color''&lt;/code&gt;.&lt;/tr&gt;
 | '''''width''''' || Width, in pixels without &quot;px&quot; suffix{{smallsup|1}}, used for each column whose width not specified by ''colNwidth'' below. Defaults to 100.&lt;/tr&gt;
 | ''padding''     || Padding before first column (default calculated per &quot;Calculations used&quot; section below).&lt;/tr&gt;
 | '''''col1'''''  || First column's content.&lt;/tr&gt;
 | ''col1width''   || First column's width (if not ''width'' above).&lt;/tr&gt;
 | '''''col2'''''  || Second column's content.&lt;/tr&gt;
 | ''col2width''   || Second column's width (if not ''width'' above).&lt;/tr&gt;
 | ''col3''        || Third column's content.&lt;/tr&gt;
 | ''col3width''   || Third column's width (if not ''width'' above).&lt;/tr&gt;
 | ......          || ......&lt;/tr&gt;
 | ''col10''       || Tenth and final column's content.&lt;/tr&gt;
 | ''col10width''  || Tenth and final column's width (if not ''width'' above).&lt;/tr&gt;
 | ''belowstyle''  || CSS style/s to apply to the ''below'' parameter.&lt;/tr&gt;
 | ''below''       || (or ''bottom'') Text or other elements to appear below the columns.&lt;/tr&gt;
 | ''category''    || (or ''cat'') 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.&lt;/tr&gt;
 |}
 {{smaller|&lt;sup&gt;1&lt;/sup&gt; Pixels without &quot;px&quot; suffix required as this parameter's value used to calculate padding before columns (in lieu of ''padding'' parameter).}}
 
 == Blank syntax ==
 Only required parameters included.
 &lt;pre&gt;
 {{Navigation with columns
 |name  = {{subst:PAGENAME}}
 |title = 
 |cols  = 
 |width = 
 |col1  = 
 |col2  = 
 }}
 &lt;/pre&gt;
 
 == Example ==
 ===Code===
 &lt;pre&gt;
 {{Navigation with columns
 |name  = (Countries bordering the Mediterranean Sea)
 |title = [[List of countries|Countries]] bordering the [[Mediterranean Sea]]
 |cols  = 4
 |width = 185  &lt;!--185 pixels--&gt;
 |above = ''(This is where the &lt;nowiki&gt;{{{above}}} or {{{top}}}&lt;/nowiki&gt; parameter would appear.)''
 
 |col1 = {{flagcountry|Albania}}&lt;br/&gt; {{flagcountry|Algeria}}&lt;br/&gt; 
 {{flagcountry|Bosnia and Herzegovina}}&lt;br/&gt; {{flagcountry|Croatia}}&lt;br/&gt; 
 {{flagcountry|Cyprus}}&lt;br/&gt; {{flagcountry|Egypt}}
 
 |col2 = {{flagcountry|France}}&lt;br/&gt; {{flagcountry|Greece}}&lt;br/&gt; 
 {{flagcountry|Israel}}&lt;br/&gt; {{flagcountry|Italy}}&lt;br/&gt; {{flagcountry|Lebanon}}
 
 |col3 = {{flagcountry|Libya}}&lt;br/&gt; {{flagcountry|Malta}}&lt;br/&gt; 
 {{flagcountry|Monaco}}&lt;br/&gt; {{flagcountry|Montenegro}}&lt;br/&gt; {{flagcountry|Morocco}}
 
 |col4 = {{flagcountry|Slovenia}}&lt;br/&gt; {{flagcountry|Spain}}&lt;br/&gt; 
 {{flagcountry|Syria}}&lt;br/&gt; {{flagcountry|Tunisia}}&lt;br/&gt; {{flagcountry|Turkey}}
 
 |below = Dependent and other territories not included.
 }}
 &lt;/pre&gt;
 
 ===Result===
 {{Navigation with columns
 |name  = (Countries bordering the Mediterranean Sea)
 |title = [[List of countries|Countries]] bordering the [[Mediterranean Sea]]
 |cols  = 4
 |width = 185  &lt;!--185 pixels--&gt;
 |above = ''(This is where the content of the &lt;nowiki&gt;{{{above}}} or {{{top}}}&lt;/nowiki&gt; parameter would appear.)''
 
 |col1 = {{flagcountry|அல்பேனியா}}&lt;br/&gt; {{flagcountry|அல்ஜீரியா}}&lt;br/&gt; {{flagcountry|பொசுனியாவும் எர்செகோவினாவும்}}&lt;br/&gt; {{flagcountry|Croatia}}&lt;br/&gt; {{flagcountry|சைப்ரஸ்}}&lt;br/&gt; {{flagcountry|எகிப்து}}
 
 |col2 = {{flagcountry|பிரான்ஸ்}}&lt;br/&gt; {{flagcountry|கிரீஸ்}}&lt;br/&gt; {{flagcountry|Israel}}&lt;br/&gt; {{flagcountry|இத்தாலி}}&lt;br/&gt; {{flagcountry|லெபனான்}}
 
 |col3 = {{flagcountry|லிபியா}}&lt;br/&gt; {{flagcountry|Malta}}&lt;br/&gt; {{flagcountry|மொனாகோ}}&lt;br/&gt; {{flagcountry|மொண்டெனேகுரோ}}&lt;br/&gt; {{flagcountry|மொரோக்கோ}}
 
 |col4 = {{flagcountry|Slovenia}}&lt;br/&gt; {{flagcountry|ஸ்பெயின்}}&lt;br/&gt; {{flagcountry|சிரியா}}&lt;br/&gt; {{flagcountry|துனீசியா}}&lt;br/&gt; {{flagcountry|துருக்கி}}
 
 |below = Dependent and other territories not included.
 }}
 
 == Calculations used ==
 &lt;pre&gt;
             ┌--------------------------------centered table-------------------------------┐
 
 columns:    |   (padding)   | ┌---------------|---------{{{cols}}}------|---------------┐ |
  widths:    | {{{width}}}/2 | {{{width}}} or  | {{{width}}} or  |  ...  | {{{width}}} or  |
                             | {{{col1width}}} | {{{col2width}}} |  ...  | {{{colNwidth}}} |
 &lt;/pre&gt;
 
 == See also ==
 {{Navigational templates}}
 
 
 &lt;includeonly&gt;
 &lt;!--Categories--&gt;
 [[Category:Navigational templates| ]]
 
 &lt;!--Other languages--&gt;