Help talk:Table
This is the talk page for discussing improvements to the Table page. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10Auto-archiving period: 6 months ![]() |
![]() | This help page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||
|
![]() | The contentious topics procedure applies to this page. This page relates to the English Wikipedia Manual of Style and article titles policy, a contentious topic. Editors are advised to familiarise themselves with the contentious topics procedures before editing this page. Editors who repeatedly or seriously fail to adhere to the purpose of Wikipedia, any expected standards of behaviour, or any normal editorial process may be blocked or restricted by an administrator. |
![]() | Material from Help:Table was split to Help:Tables and locations on 9 December 2023 from this version. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted so long as the latter page exists. Please leave this template in place to link the article histories and preserve this attribution. |
Note: You can also ask questions here: Help desk. Teahouse. Village pump (technical).
Laugh of the day: Pros and cons
[edit]I had to laugh, when I looked over at Help:Table/Advanced, and read the part you linked to that just got moved over to Help:Table/Advanced#Other table syntax (diff), including the part that lists the pros and cons of HTML tables versus wikicode syntax. In the row labeled "Pros" for the cell in the Wiki-pipe column (who named it that?) it lists "easy to read", and "easy to write"; I nearly had coffee coming out of my nose.
I searched back in Help:Table to see when that was first added, and it goes all the way back to the first version of Help:Table in revision 12094880 of 19:00, 20 September 2004 by Wilz (talk · contribs). Seriously made me want to add a laughing man gif or something, right after that part. Yah, it's so easy to read and write, that we only have twenty-six Help and style pages with intricate explanations of features and styles explaining how to do it, including how to have your pipe, and smoke it, too! Lol! But twenty years on and some 2500 edits by 600+ editors later explaining how easy it is, maybe it's time to change that. (On a more serious note, I've been thinking about a way to vastly reduce the size and number of help pages, but it's more of a long-term thing and not something that affects anything we are doing; I have to mull about it for "a while".)
Oh, I forgot to mention the funniest part: if you edit the § Overview section in that revision and look at that table—yep, you guessed it: it's coded in HTML. Guess it was too complex for "wiki-pipe syntax". Hope you enjoyed the chuckle. Mathglot (talk) 02:54, 9 February 2025 (UTC)
Header cell translation
[edit]For translation, tables with identical header cells could be translated once and used several times in the ddme article.
For example, in List of Dongfeng vehicles, there are several tables with the same headers (structure).
One could use :
{| class="wikitable sortable translatable"
In the Voyah table, for the First header could stablish that:
Image, in the Spanish version is "Imagen"
For the second, Name(s) is "Nombre(s)" and so on for the full header structure of tehe table.
So, the second time this table structure is used for the M-Hero table, Imagen is automatically translated to Imagen (in the Spanish Wikipedia), Names to Nombres an so on.
This spares a lot of writer effort. 158.172.131.78 (talk) 21:41, 23 February 2025 (UTC)
Need help
[edit]Can someone correct the first table at 2025 Greenlandic general election? Can't figure out how to fix it. Thanks. Semsûrî (talk) 17:25, 2 March 2025 (UTC)
- @Semsûrî: There were too many
rowspan=
andcolspan=
attributes. The fix is to remove them all, and then add in only those that are necessary; which turned out to be just one - the one for the "Party" column heading. --Redrose64 🌹 (talk) 20:27, 2 March 2025 (UTC)- Thank you. Semsûrî (talk) 20:29, 2 March 2025 (UTC)
Rates per million. Change to rates per 100,000
[edit]The rates in the US tables are per 100,000. So I want to convert the rates in the Europe table below from "per million" to "per 100,000". That means moving the decimal place one place to the left. Can someone do this for me?
Better yet can someone explain exactly how to do it step by step in Libreoffice Calc. I will put this info in a section in Help:Table/Advanced or another table help page.
Location | Year | Females | Males | Total |
---|---|---|---|---|
![]() |
2022 | 18 | 65 | 42 |
![]() |
2020 | 7 | 34 | 21 |
![]() |
2022 | 1 | 8 | 4 |
![]() |
2022 | 13 | 71 | 42 |
![]() |
2022 | 3 | 13 | 8 |
![]() |
2022 | 6 | 12 | 9 |
![]() |
2021 | 19 | 60 | 40 |
![]() |
2022 | 34 | 155 | 95 |
![]() |
2022 | 33 | 106 | 70 |
![]() |
2016 | 3 | 16 | 9 |
![]() |
2022 | 10 | 49 | 30 |
![]() |
2020 | 10 | 58 | 34 |
![]() |
2021 | 3 | 9 | 6 |
![]() |
2020 | 64 | 130 | 97 |
![]() |
2022 | 2 | 13 | 8 |
![]() |
2022 | 12 | 96 | 53 |
![]() |
2022 | 10 | 86 | 47 |
![]() |
2022 | 5 | 31 | 18 |
![]() |
2020 | 6 | 43 | 26 |
![]() |
2022 | 13 | 40 | 26 |
![]() |
2022 | 53 | 118 | 86 |
![]() |
2021 | 5 | 11 | 8 |
![]() |
2021 | 4 | 19 | 11 |
![]() |
2022 | 1 | 3 | 2 |
![]() |
2021 | 3 | 12 | 7 |
![]() |
2022 | 16 | 74 | 46 |
![]() |
2021 | 7 | 34 | 21 |
![]() |
2022 | 35 | 102 | 70 |
![]() |
2022 | 1 | 7 | 4 |
References
- ^ "Overdose situation (FAQ drug overdose deaths in Europe)". European Union Drugs Agency. Scroll down to Figure 1.5. Then; "Show data table".
--Timeshifter (talk) 14:57, 6 March 2025 (UTC)
- I figured out how to do it in free Google Sheets, freeware LibreOffice Calc, and free Excel online.
- See: User:Timeshifter/Sandbox284.
- --Timeshifter (talk) 22:11, 10 March 2025 (UTC)
- Simplified instructions are here:
- Help:Creating tables#Rates per million or per 100,000.
- --Timeshifter (talk) 00:56, 13 March 2025 (UTC)
Template:Scrolling table doc
[edit]See the rarely used templates listed in this doc:
There are better methods here:
I am leaving a note here in hopes some others will look and see if I am correct.
If so, someone with more time than me might put the templates up for deletion here:
I suggested the same here: