Template:Columns: Difference between revisions

mNo edit summary
Line 71: Line 71:
}}
}}
|-
|-
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Style Parameter</span><br><span style="font-weight: normal;">You can specify the number of columns in the output through use of the <code>|style=</code> parameter.</span>
! colspan="2" style="text-align: center;" | <span style="font-size: 115%;">Style Parameter</span><br><span style="font-weight: normal;">By passing the <code>|style=</code> parameter, you can alter the appearance of the column container using inline CSS styles.<br>'''Note:''' They styles used in the example below are by no means exhaustive of the possible styles.</span>
|-
|-
! width=25%|You Type
! width=25%|You Type
Line 77: Line 77:
|-
|-
| style="text-align: left; background-color: white;" |<pre>
| style="text-align: left; background-color: white;" |<pre>
{{columns|
{{columns|style=font-size: 125%; border: 1px solid #ddd; background-color: #efefef;|
* Item 1
* Item 1
* Item 2
* Item 2
Line 86: Line 86:
}}
}}
</pre>
</pre>
| style="background-color: white;" |{{columns|
| style="background-color: white;" |{{columns|style=font-size: 125%; border: 1px solid #ddd; background-color: #efefef;|
* Item 1
* Item 1
* Item 2
* Item 2