• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Sort table

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Sort table

This template extends the functionality of {{sort list}} to tables, so that tables in articles can be set with a default sorting, and have their rows manually shuffled around every time their data is updated.

Usage

  • {{sort table|table|column}} or {{sort table|asc|table|column}} sorts table ascending by column
  • {{sort table|asc|table|column}} sorts table descending by column
The above documentation is transcluded from Template:Sort table/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Sort_table&oldid=31238"
Categories:
  • Lua-based templates
  • Sorting templates
Last edited on 25 May 2021, at 02:57

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 25 May 2021, at 02:57.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop