From Cities: Skylines Wiki
Jump to navigation Jump to search

Make a table[edit source]

This article is too big and does not adhere to the style guidelines. I will see what I can do but no promises. EERussianguy (talk)

Did it. I think i made an error, no time to check.

Table Getting Long[edit source]

Should it be broken into a few tables one after another, for vanilla, After Dark, Snowfall, Natural Disasters, Mass Tranist? - Fox NS CAN (talk) 01:47, 8 May 2017 (CEST)

I have no objections to splitting the table. Go ahead if you want to. Dauth (talk) 11:21, 8 May 2017 (CEST)
I did try it. I like that it was separated, but I did not see a "Table of Contents" appear, and the tables being a different width looked a little sloppy to me. Lastly, while I am certain of "Natural Disasters" and "Mass Transit" Achievements, there are a few I am not sure about. Looking online, I found a list ( that said there were 11 achievements for "Snowfall", but Patch_1.3.0-f4 shows 8 paid and 5 free achievements (13 total). So I am a little confused. - Fox NS CAN (talk) 15:19, 11 May 2017 (CEST)
You can fix widths using certain syntax class="wikitable" width="100%", this forces full width tables, or you can do it by row using
Column 1 Column 2 Column 3
The TOC is automatically generated if you have 3 or more level 2 headers
==Level 2 header example==
Hope this helps. Dauth (talk) 16:42, 11 May 2017 (CEST)

I tried class="wikitable" width="100%", but while it makes the tables all the same width, the columns still vary from table to table and it does not look good. I also tried "colspan" for each DLC header, which keeps all the columns the same width, but I still didn't really like the look of it, and it won't have a TOC either. I'm not a fan of the width% method, but it might be the best option. I'll fiddle with it later. (You can see it on my sandbox at the moment, not sure how others would feel, but I'm not really liking it.) - Fox NS CAN (talk) 19:28, 15 June 2017 (CEST)

This is the point where the fixed widths make sense. Your approach is the correct one. Dauth (talk) 22:34, 15 June 2017 (CEST)

I gave it a go. See if you like it. First two columns have fixed widths. Not sure if I should do the same to the last column or not. Would make them all the same. - Fox NS CAN (talk) 19:18, 18 June 2017 (CEST)

Fixed widths are better to keep everything consistent, even if that's just 75% of the total page width. We also always assume newest patch and all DLC so there's no need to specify that some achievements arrived in later patches. Dauth (talk) 19:33, 18 June 2017 (CEST)
Can you mix and match px and %? Different people have different resolutions, so I don't know how many px. I could pick a width (not quite at random) and go with it. I can fiddle with it later, gotta go for Father's Day stuff. - I had added the "patch" sections in the base achievements as I thought it might help reduce confusion, having people edit the 1.3.0-f4 ones into Snowfall for example, because they came out with Snowfall, but they (as best as I can tell) were "free", not paid with Snowfall. Even as I searched a bit around the web, I did find that kind of discrepancy (see the top section of talk). That was my reasoning anyway. If you think it is best to not do that, I can easily edit it out, or you can. I won't be offended, the wiki isn't mine, and I do like to know what others think is best. :) - Fox NS CAN (talk) 20:22, 18 June 2017 (CEST)
I appreciate the idea however we've had experience with other wikis where we've kept both sets of information and it just becomes impossible to manage. Hence we now operate the up to date approach. I don't think we're going to get the sort of problem that you're describing however if we do then we'll come to a solution. Dauth (talk) 10:03, 19 June 2017 (CEST)
Removed. - Fox NS CAN (talk) 16:09, 19 June 2017 (CEST)

I went with 400px for the last column. Seems like a nice width looking at it. It is nicer having them all the same, looks far better. I don't know if that is good or not. My screen width is 1920, so it's a little narrow, but not bad. I dunno what it will look like on mobile devices. - Fox NS CAN (talk) 04:24, 19 June 2017 (CEST)

1920 is I think the most common screen width on steam so we'll keep that for a while. It looks better with the fixed widths in this case. Dauth (talk) 10:03, 19 June 2017 (CEST)
750px in the third column would be sufficient to fit existing text. Went with 100% width for table instead, so tables will size to fit screen. First two columns are fixed width, last one is variable, so tables will all be same size. - Fox NS CAN (talk) 16:09, 19 June 2017 (CEST)
All good, excellent work. Dauth (talk) 16:16, 19 June 2017 (CEST)