Difference between revisions of "Template:MultiColListTop"

From BattleMaster Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly><ul style="width: {{{1|400}}}px;
 
<includeonly><ul style="width: {{{1|400}}}px;
-moz-column-count: 3;
+
-moz-column-count: 4;
 
-moz-column-gap: 20px;
 
-moz-column-gap: 20px;
 
-webkit-column-count: 3;
 
-webkit-column-count: 3;

Revision as of 23:06, 17 February 2011

This template is not intended to be used by itself. It is part of a set of templates used to make multi-column lists. Other templates in this system: Template:MultiColListItem and Template:MultiColListBottom. You can feed a parameter to the template to control the number of columns. Every 200 pixels makes one column. For two columns: {{MultiColListTop|400}}, for three columns: {{MultiColListTop|600}}, etc. When used in a semantic query output, you can specify the columns like this:

  • introtemplate=MultiColListTop - two columns
  • introtemplate=MultiColListTop{{!}}600 - three columns
  • introtemplate=MultiColListTop{{!}}800 - four columns
  • etc.