Àdàkọ:Columns
{{{col1}}} | {{{col2}}} | {{{col3}}} | {{{col4}}} | {{{col5}}} | {{{col6}}} | {{{col7}}} | {{{col8}}} | {{{col9}}} | {{{col10}}} |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
Syntax
Examples
Sandbox
A sandbox has been set up so modifications to the template may be tested before being implemented in the template proper:
Template:Infobox Country/sandbox
If possible, please try to view any modifications using a variety of web browsers and on different types of computer (PC, Macintosh, etc). Thank you!
Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "vcard"
Please do not rename or remove these classes.
Template in the vein of navbox templates such as {{Navbox}} to aid the creation of (up to seven) columns across a page.
Syntax
{{columns|bgcol = <!--Background colo/ur (default none)-->|colwidth = <!--Width of each column (default 15em)-->|gap = <!--Gap between each column (default 1.25em)-->|col1width = <!--use to set a different width for col1-->|col1 = <!--mandatory-->|col2width = <!--use to set a different width for col2 (etc)-->|col2 = <!--mandatory-->|col3width = |col3 = ...|col7width = |col7 = }}
Examples
- Code
{{columns|col1 = Simplest<br/>instantiation<br/>of|col2 = this<br/>template}}
- Result
Simplest instantiation of | this template |
- Code
{{columns |bgcol=beige |width=8.5em |gap=3.25em|col1 =* These* columns* are* more* complex|col2 =The<br/>background<br/>is<br/>beige|col3 =; Each : column; is : 8.5[[Em (typography)|em]]; wide|col4 ={{{!}}!colspan="2"{{!}} and{{!-}}{{!}} the {{!!}} gap{{!-}}{{!}}colspan="2"{{!}} between{{!-}}{{!}} each {{!!}} is{{!-}}!colspan="2" align="center"{{!}} 3.25em{{!}}}}}
- Result
| The background is beige |
|
|
See also
- {{Columns-list}}
- {{Col-begin}} ({{Col-start}}), {{Col-begin-small}} Àdàkọ:Lts/
- {{Col-break}}
- {{Col-2}} ({{Col-1-of-2}}, {{Col-2-of-2}})
- {{Col-3}} ({{Col-1-of-3}}, {{Col-2-of-3}}, {{Col-3-of-3}})
- {{Col-4}} ({{Col-1-of-4}}, {{Col-2-of-4}}, {{Col-3-of-4}}, {{Col-4-of-4}})
- {{Col-5}} ({{Col-1-of-5}}, {{Col-2-of-5}}, {{Col-3-of-5}}, {{Col-4-of-5}}, {{Col-5-of-5}})
- {{Col-end}} ({{End}})
- {{Top}}, {{top2}}, {{Mid}}, {{Bottom}}
- {{Columns-start}}, {{Column}}, {{Columns-end}} Àdàkọ:Lts/
- {{Multicol}}, {{Multicol-break}}, {{Multicol-end}} Àdàkọ:Lts/
- {{Div col}}, {{Div col end}} Àdàkọ:Lts/