Template:Col-float/doc

From Porn Base Central, the free encyclopedia of gay porn
Jump to navigation Jump to search

Side-by-side columns, based on CSS float.

This has the advantage of more cross-device-accessible behaviour, as (unlike HTML <table>s) they will wrap on display windows too narrow to show them side-by-side.

Column Templates
Div col
{{Div col}}Start
{{Div col end}}End
Col-Break
{{Col-begin}}Start
{{Col-break}}Break
{{Col-end}}End
Col-float
{{Col-float}}Start
{{Col-float-break}}Break
{{Col-float-end}}End
Columns-start
{{Columns-start}}Start
{{Column}}Break
{{Columns-end}}End


Parameters

All optional and applicable to {{Col-float}} / {{Start col-float}} and {{Col-float-break}} / {{Break col-float}} except firstcol:

  • firstcol (with Col-float or Start col-float only)
  • nextcol
  • width
Width of the next – or, with Col-float/Start col-float, the first – column. IE-based browsers require a specified width, so defaults to 30.0em.
class
For any styling defined using classes.
style
For any additional styling.

{{Col-float}} can be used with numbered parameters for columns (i.e. |1= is the first column, |2= is the second, and so on). However, lists have to be preceded with <nowiki/> and a newline, and tables have to use {{!}}.