- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
User:RkNAME/Sandbox/Tables: Difference between revisions
< User:RkNAME | Sandbox
imported>RkNAME CSS gradient doesn't work if the table is sorted a different way |
imported>RkNAME Add introduction |
||
Line 1: | Line 1: | ||
[[User:RkNAME/Template:Row numbers|Row numbers template]] | [[User:RkNAME/Template:Row numbers|Row numbers template]] | [[User:RkNAME/Template:Table styles|Table styles template]] | ||
{{User:RkNAME/Template:Table styles}} | |||
==Introduction== | |||
This uses a template from Wikipedia to automatically number rows. Instead of writing the row number like 1, 2, or 3, just write _row_count. Also escape all the equals signs with <nowiki>{{=}}</nowiki>. It doesn't work with Visual Editor, but Encyclopedia Dramatica doesn't have that. [https://en.wikipedia.org/wiki/Template:Row_numbers Docs are here.] | |||
Try adding rows to the tables. Let me know if you encounter issues. I won't be able to fix them. | |||
===Colors=== | |||
The pink table is colored using CSS from a template, so the colors of the rows don't have to be updated either (although it can be done simply using a find + replace). Let me know if there are issues. | |||
==Table 1== | ==Table 1== | ||
Line 543: | Line 553: | ||
| 30.4% | | 30.4% | ||
|}}} | |}}} | ||
==Table 3== | ==Table 3== |
Revision as of 22:18, 24 February 2024
Row numbers template | Table styles template
Introduction
This uses a template from Wikipedia to automatically number rows. Instead of writing the row number like 1, 2, or 3, just write _row_count. Also escape all the equals signs with {{=}}. It doesn't work with Visual Editor, but Encyclopedia Dramatica doesn't have that. Docs are here.
Try adding rows to the tables. Let me know if you encounter issues. I won't be able to fix them.
Colors
The pink table is colored using CSS from a template, so the colors of the rows don't have to be updated either (although it can be done simply using a find + replace). Let me know if there are issues.
Table 1
User:RkNAME/Template:Row numbers}
Table 2
User:RkNAME/Template:Row numbers}