Template:MultiColListTop: Difference between revisions
Foundation (talk | contribs) No edit summary |
Foundation (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><ul style="width: {{{1|400}}}px; | <includeonly><ul style="width: {{{1|400}}}px; | ||
-moz-column-count: | -moz-column-count: {{{2|2}}}; | ||
-moz-column-gap: 20px; | -moz-column-gap: 20px; | ||
-webkit-column-count: | -webkit-column-count: {{{2|2}}}; | ||
-webkit-column-gap: 20px; | -webkit-column-gap: 20px; | ||
column-count: | column-count: {{{2|2}}}; | ||
column-gap: 20px; | 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: | "></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: |
Revision as of 21:08, 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.