Changes

Jump to: navigation, search

Talk:Tips for contributing to the SVR Wiki

1,025 bytes added, 11:52, 1 July 2016
m
How to do a fancy collapsed table!
*Links
So I'll start gradually working my way through and altering pages to keep a consistent style. --[[User:Graham Phillips 110|Graham Phillips 110]] ([[User talk:Graham Phillips 110|talk]]) 06:56, 1 January 2016 (UTC)
 
== Collapsible tables (or anything else) ==
 
Some of the tables in articles are getting to be quite long, so I looked up how to do that fancy expand/collapse stuff that Wikipedia et al. have. The answer is to add "mw-collapsible" to the class of the table (or whatever other feature); adding "mw-collapsed" will have the item collapsed when the page is open. For example, this bit of code:
<nowiki>
{| class="wikitable mw-collapsible mw-collapsed"
!Date!!Tour name !! Route !! Notes !! Web !!SVR News
|-
|29 Mar 1995|| || Bristol-Paignton + return || Test trip prior to summer season (Pete Waterman) || ||114-59
|-
|} </nowiki>
 
produces:
 
{| class="wikitable mw-collapsible mw-collapsed"
!Date!!Tour name !! Route !! Notes !! Web !!SVR News
|-
|29 Mar 1995|| || Bristol-Paignton + return || Test trip prior to summer season (Pete Waterman) || ||114-59
|-
|}
[https://www.mediawiki.org/wiki/Manual:Collapsible_elements Full manual here] --[[User:Danny252|Danny252]] ([[User talk:Danny252|talk]]) 11:52, 1 July 2016 (UTC)
1,980
edits

Navigation menu