Template:Columns-list: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Adoniscik
mNo edit summary
meta>Ukexpat
added note about browser compatability.
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>
<noinclude>
== Documentation ==
== Documentation ==


Line 8: Line 9:


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]].
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]]
[[category:Table and column templates]]
</noinclude>
</noinclude>

Revision as of 18:07, 18 July 2008


Documentation

{{columns-list|number of columns|
text (usually a list)
}}

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-based browsers[1] and Safari 3,[2] though the feature is included in CSS3 so it should work for a larger number of browsers in the future.[3]

References

  1. "CSS3 Multi-Column Thriller". 2005-12-30. Retrieved 2006-11-24. {{cite web}}: Check date values in: |date= (help)
  2. "Multi-column layout in Safari 3 and Firefox". Retrieved 2007-07-25.
  3. "CSS3 module: Multi-column layout". W3C. 2005-12-15. Retrieved 2006-11-24. {{cite web}}: Check date values in: |date= (help)