User:NoseOfCthulhu/Sandbox2

A regular AJAX template:

A collapsible table imitating an AJAX template: