Template:Columns-list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ukexpat
added note about browser compatability.
meta>Thumperward
split docs
Line 1: Line 1:
<includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly>
<includeonly><div {{#if: {{{1|}}}| style="-moz-column-count:{{{1}}}; -webkit-column-count:{{{1}}}; column-count:{{{1}}} }};">{{{2}}}</div></includeonly><noinclude>{{documentation}}</noinclude>
<noinclude>
 
== Documentation ==
 
<nowiki>{{</nowiki>columns-list|''number of columns''|
''text (usually a list)''
<nowiki>}}</nowiki>
 
Based on [[Template:Reflist]], but different in that the text to be displayed is manually created rather than a list of references. Also different from [[Template:Columns]] in that this template is intended to be used in a list in the article itself, rather than in a navigation template like [[Template:Navbox]].
 
Note: multiple columns currently render properly only in [[Mozilla Firefox]] and other [[Gecko (layout engine)|Gecko]]-based browsers<ref>{{cite web|accessdate=2006-11-24|date=[[2005-12-30]]|title=CSS3 Multi-Column Thriller|url=http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html}}</ref> and [[Safari (web browser)|Safari 3]],<ref>{{cite web |url=http://www.css3.info/preview/multi-column-layout.html |title=Multi-column layout in Safari 3 and Firefox |accessdate=2007-07-25}}</ref> though the feature is included in [[Cascading Style Sheets|CSS3]] so it should work for a larger number of browsers in the future.<ref>{{cite web|url=http://www.w3.org/TR/css3-multicol/|title=CSS3 module: Multi-column layout|publisher=[[World Wide Web Consortium|W3C]]|date=[[2005-12-15]]|accessdate=2006-11-24}}</ref>
 
==References==
{{Reflist}}
 
[[category:Table and column templates]]
</noinclude>

Revision as of 15:39, 21 July 2008