Difference between revisions of "Template:MultiColListTop"

From BattleMaster Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<includeonly><ul style="width: {{{1|400}}}px;"></includeonly><noinclude>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: <nowiki>{{MultiColListTop|400}}</nowiki>, for three columns: <nowiki>{{MultiColListTop|600}}</nowiki>, etc. When used in a semantic query output, you can specify the columns like this:
+
<includeonly><ul style="width: {{{1|400}}}px;
 +
-moz-column-count: 3;
 +
-moz-column-gap: 20px;
 +
-webkit-column-count: 3;
 +
-webkit-column-gap: 20px;
 +
column-count: 3;
 +
column-gap: 20px;
 +
"></includeonly><noinclude>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: <nowiki>{{MultiColListTop|400}}</nowiki>, for three columns: <nowiki>{{MultiColListTop|600}}</nowiki>, etc. When used in a semantic query output, you can specify the columns like this:
 
* introtemplate=MultiColListTop - two columns
 
* introtemplate=MultiColListTop - two columns
 
* <nowiki>introtemplate=MultiColListTop{{!}}600</nowiki> - three columns
 
* <nowiki>introtemplate=MultiColListTop{{!}}600</nowiki> - three columns
 
* <nowiki>introtemplate=MultiColListTop{{!}}800</nowiki> - four columns
 
* <nowiki>introtemplate=MultiColListTop{{!}}800</nowiki> - four columns
 
* etc.</noinclude>
 
* etc.</noinclude>

Revision as of 23:05, 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.