Difference between revisions of "Help talk:Tables"

From FamilySearch Wiki
Jump to: navigation, search
(Question)
 
(reply)
Line 2: Line 2:
  
 
When I use 'class="sortable"', where does the wiki pull the code from to create a sortable table? Is it internal or external? I am wondering because i am trying to figure out how to create a class for a collapsible table. I have the code, I just don't know where to put it. Thanks! --[[User:Gregorybean|Gregorybean]] 07:29, 7 December 2009 (UTC)
 
When I use 'class="sortable"', where does the wiki pull the code from to create a sortable table? Is it internal or external? I am wondering because i am trying to figure out how to create a class for a collapsible table. I have the code, I just don't know where to put it. Thanks! --[[User:Gregorybean|Gregorybean]] 07:29, 7 December 2009 (UTC)
 +
 +
:The ''class="wikitable sortable"'' has been built into MediaWiki since ver 1.9. The code for collapsible tables must be added to [[MediaWiki:Common.js]]. --[[User:CottrellS|Steve]] 09:57, 7 December 2009 (UTC)

Revision as of 09:57, 7 December 2009

Pulling Code

When I use 'class="sortable"', where does the wiki pull the code from to create a sortable table? Is it internal or external? I am wondering because i am trying to figure out how to create a class for a collapsible table. I have the code, I just don't know where to put it. Thanks! --Gregorybean 07:29, 7 December 2009 (UTC)

The class="wikitable sortable" has been built into MediaWiki since ver 1.9. The code for collapsible tables must be added to MediaWiki:Common.js. --Steve 09:57, 7 December 2009 (UTC)