Difference between revisions of "Template:MultiColListTop"

From BattleMaster Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><ul style="width: {{{1|400}}}px;
+
<includeonly><Div style="width: {{{1|400}}}px;-moz-column-count: {{{2|2}}};float:{{{3|left}}};-moz-column-gap: 20px;-webkit-column-count: {{{2|2}}};-webkit-column-gap: 20px;column-count: {{{2|2}}};column-gap: 20px;">
-moz-column-count: {{{2|2}}};
+
<p style="-webkit-column-span:all;-moz-column-span:all;colum-span:all;text-align:center;">'''{{{4|}}}'''</p>
-moz-column-gap: 20px;
+
</includeonly><noinclude>This template is not intended to be use by itself. For details on how to use it, see: [[Template:MultiColListItem]].</noinclude>
-webkit-column-count: {{{2|2}}};
 
-webkit-column-gap: 20px;
 
column-count: {{{2|2}}};
 
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
 
* <nowiki>introtemplate=MultiColListTop{{!}}600</nowiki> - three columns
 
* <nowiki>introtemplate=MultiColListTop{{!}}800</nowiki> - four columns
 
* etc.</noinclude>
 

Latest revision as of 02:01, 7 March 2011

This template is not intended to be use by itself. For details on how to use it, see: Template:MultiColListItem.