More actions
No edit summary |
m 1F616EMO moved page User:1F616EMO/Template:Column/doc to Template:FandomColumn/doc without leaving a redirect |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 08:22, 7 June 2024
This template uses CSS3 to create columns:
- column-count for IE10+ and Opera
- -moz-column-count for Firefox
- -webkit-column-count for Safari and Chrome
Syntax
{{Column|column count|content|colwidth = column's px width}}
Example
{{Column|2| *[[Amber]] *[[Barbara]] *[[Bennett]] *[[Diluc]] *[[Diona]] *[[Fischl]] *[[Jean]] *[[Kaeya]] *[[Klee]] *[[Lisa]] *[[Mona]] *[[Noelle]] *[[Razor]] *[[Sucrose]] *[[Venti]] }}
{{Column|4| *[[Amber]] *[[Barbara]] *[[Bennett]] *[[Diluc]] *[[Diona]] *[[Fischl]] *[[Jean]] *[[Kaeya]] *[[Klee]] *[[Lisa]] *[[Mona]] *[[Noelle]] *[[Razor]] *[[Sucrose]] *[[Venti]] }}
{{Column|auto|colwidth=300px| * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width * This is a very long sentence which would need to wrap when it exceeds the column width }}
auto
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width
- This is a very long sentence which would need to wrap when it exceeds the column width