Talk:41edo: Difference between revisions

Xenwolf (talk | contribs)
Xenwolf (talk | contribs)
Line 9: Line 9:
:::: Now it's not in the conventions, I'm going with per-cell alignment for what we have agreed upon here anyway. Besides, I looked into Wikipedia only to find no column-wide alignment documented, so that must be the case. [[User:FloraC|FloraC]] ([[User talk:FloraC|talk]]) 13:06, 1 June 2020 (UTC)
:::: Now it's not in the conventions, I'm going with per-cell alignment for what we have agreed upon here anyway. Besides, I looked into Wikipedia only to find no column-wide alignment documented, so that must be the case. [[User:FloraC|FloraC]] ([[User talk:FloraC|talk]]) 13:06, 1 June 2020 (UTC)
::::: Looks good so far. I continue to search for a general solution to this problem. --[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 14:34, 1 June 2020 (UTC)
::::: Looks good so far. I continue to search for a general solution to this problem. --[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 14:34, 1 June 2020 (UTC)
'''I finally found the solution:''' <br>
Up to 9 columns can now be aligned in one place: in the class attribute of the table. The built-in table default is left-alignment. You may override this by adding a class for each column that differs from that. Ffor example <code>class="wikitable right-1 right-2"</code> means that the text columns 1 and 2 will be right-aligned. There are 3&times;9 classes: <code>left-1</code> to <code>left-9</code>, <code>center-1</code> to <code>center-9</code>, and <code>right-1</code> to <code>right-1</code>. The actual styling is done via CSS (see [[MediaWiki:Common.css]]). I stopped reworking the page after changing one of the tables because I urgently need a break now. Maybe you'd like (😉) to continue in the meantime. <br>
--[[User:Xenwolf|Xenwolf]] ([[User talk:Xenwolf|talk]]) 21:37, 1 June 2020 (UTC)
Return to "41edo" page.