Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision |
Your text |
| Line 84: |
Line 84: |
| == Creating collapsible tables == | | == Creating collapsible tables == |
| === Example === | | === Example === |
| {| class="navbox collapsible collapsed" width="100%"
| |
| ! class="infoboxheader" colspan="2" align="left" | Heading
| |
| |-
| |
| | Content goes here
| |
| |}
| |
|
| |
| * Collapsed: If ''collapsed'' is set, the table will be collapsed initially. If you want the table to be expanded initially, omit collapsed.
| |
| * Autocollapse: If ''autocollapse'' is set, the table will only be expanded initially if it's the only collapsible table on the page. If there are more, it'll be collapsed initially.
| |
|
| |
| Note: You can make any table collapsible, not just navboxes. Simply add <code>class="collapsible"</code>.
| |
|
| |
|
| === Code === | | === Code === |
| <pre>
| |
| {| class="navbox collapsible collapsed" width="100%"
| |
| ! class="infoboxheader" colspan="2" align="left" | Heading
| |
| |-
| |
| | Content goes here
| |
| |}
| |
| </pre>
| |
|
| |
|
| == Creating sortable tables == | | == Creating sortable tables == |