Help:Sortable tables: Difference between revisions

Content deleted Content added
Line 702:
This can be achieved using <code>class="sorttop"</code> on the desired table row (line starting with <code>|-</code>). It is possible to keep multiple lines fixed at the top, as long as the lines are consecutive.
 
Table below is an adapted excerpt from an[[List articleof U.S. states and territories by poverty rate]]. '''Sorttop''' is used on the US data row. And the US row is excluded from having a static row number. Note that the "Area" links can't be made bold the normal way. But the whole row can be made bold like this:
 
<syntaxhighlight lang=wikitext>