Template:MultiColListItem: Difference between revisions
Foundation (talk | contribs) No edit summary |
Foundation (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><li style="">{{{1}}}</li></includeonly><noinclude>{{Documentation}}</noinclude> | <includeonly><li style="background-image: url(http://www.flysas.com/upload/Icons/bullet_icon_black.gif);">{{{1}}}</li></includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 21:17, 17 February 2011
Template Documentation |
This documentation is transcluded from Template:MultiColListItem/doc. |
IntroThis template is not intended to be used by itself. It is part of a set of three templates that are used to create free-flowing, multi-column lists for use with dynamic lists created by the Semantic Wiki. The three templates in this set are Template:MultiColListTop, Template:MultiColListItem, and Template:MultiColListBottom. UsageTo use this set in your semantic query output, use the following lines in your query: | headers = hide | format = template | template = MultiColListItem | introtemplate = MultiColListTop | outrotemplate = MultiColListBottom This will provide a 400 pixel wide, two-column list. You can control the width and number of columns by adding parameters to the the introtemplate line, like this:
| introtemplate = MultiColListTop{{!}}600{{!}}3 This will provide a three-column list, 600 pixels wide. Depending on the material you are listing, you can control both the width and number of columns to create a decent-looking list. NotesThe list will appear in a floating box, and text will wrap around it. Make sure you test your page to prevent some wacky layouts. You can encapsulate the list inside a table to prevent the odd wrapping. (I'm no expert at HTML/CSS, so I don't know enough about it to fix that.) |