From translatewiki.net
Jump to navigation Jump to search


Test Template Info-Icon - Version (2).svg
The documentation of this template is included from its /doc subpage. [Edit]
Generates some CSS styles to ensure compatibility with most browsers.
  • {{Column-gap|gap width}}
  • 1= Width of gaps between columns, 1em by default.
  • The default value is the minimum to use for correctly separating columns containing paragraphs of text.
  • If you use narrow columns of text, you'll want to reduce that gap, but in that case you should use contrasting vertical column-rules that will be centered in each gap for easier reading (don't use less than .5em, or 5px if the rule width is thin or one pixel.
  • If you use columns of images (without any contrasting rule in gaps), a gap width of 1px may be enough, or even 0 if all these images include their own margins.
  • You should suppress that gap for bulleted list of items (or when paragraphs in the content have indented margins) by specifying the value 0 for the gap width.
  • style="{{{{BASEPAGENAME}}|2em}}" generates:
See also: