Template talk:Statistics

From Bogleheads
Jump to navigation Jump to search

I added a parameter which allows individual control to collapse the table. See: Help:Collapsing - Wikipedia, the free encyclopedia

The modification overrides the autocollapse variable, so the following should work:

  • {{Statistics}} - autocollapse, which is set in MediaWiki:Common.js to be anything 2 rows or higher
  • {{Statistics | state = uncollapsed}} will force the table to be uncollapsed (all rows viewable)
  • {{Statistics | state = collapsed}} forces collapse
  • {{Statistics | state = outercollapse}} forces collapse within a contained table (not tested)
  • {{Statistics | state = sortable}} invokes table sort (not tested)

--LadyGeek 21:09, 28 January 2012 (CST)