Difference between revisions of "Help talk:Tables"

From FamilySearch Wiki
Jump to: navigation, search
(reply)
m (add link)
 
Line 3: Line 3:
 
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)
+
: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]]. (see [http://meta.wikimedia.org/wiki/Help:Collapsing Help:Collapsing]) --[[User:Cottrells|Steve]] 09:57, 7 December 2009 (UTC)

Latest revision as of 10:00, 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. (see Help:Collapsing) --Steve 09:57, 7 December 2009 (UTC)