v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Dwarf Fortress Wiki talk:Versions

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 9: Line 9:
  
 
==Revisiting Redirects==
 
==Revisiting Redirects==
 +
 
I wasn't around when the redirect policy was created, and I'm having trouble understanding the rationale. The example claims that linking [[Main:Cheese]] to [[cv:Cheese maker]] is problematic...but mainspace only ever redirects to the current version. If the best target in the current version is cheese maker, why not link to it directly? (It's not, at least for Cheese, since [[DF2012:Cheese]] exists now.) The explanation seems to be claiming that 40d articles that link to Cheese will follow the Mainspace link--but that hasn't been the case for a long while now. Articles in 40d automatically link against other articles in 40d, so that version remains internally consistent no matter where mainspace links to in the current version. For a current example, what do we gain by linking [[Main:Mead]] to [[cv:Mead]] and linking [[DF2012:Mead]] to [[DF2012:Alcohol]]?
 
I wasn't around when the redirect policy was created, and I'm having trouble understanding the rationale. The example claims that linking [[Main:Cheese]] to [[cv:Cheese maker]] is problematic...but mainspace only ever redirects to the current version. If the best target in the current version is cheese maker, why not link to it directly? (It's not, at least for Cheese, since [[DF2012:Cheese]] exists now.) The explanation seems to be claiming that 40d articles that link to Cheese will follow the Mainspace link--but that hasn't been the case for a long while now. Articles in 40d automatically link against other articles in 40d, so that version remains internally consistent no matter where mainspace links to in the current version. For a current example, what do we gain by linking [[Main:Mead]] to [[cv:Mead]] and linking [[DF2012:Mead]] to [[DF2012:Alcohol]]?
  
Line 190: Line 191:
 
::::What needs to be done on the template side? I'm not sure I see too big of an issue leaving pages as "unknown-quality" for now (or just change the default to tattered) until we get the rating script working. Is that script up anywhere, anything that could be helped with? [[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 11:10, 2 January 2023 (UTC)
 
::::What needs to be done on the template side? I'm not sure I see too big of an issue leaving pages as "unknown-quality" for now (or just change the default to tattered) until we get the rating script working. Is that script up anywhere, anything that could be helped with? [[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 11:10, 2 January 2023 (UTC)
 
:::::They're already marked as unknown. Really the only issue I know of with the template is that it doesn't show up with some of the newer skins we added, and that can be fixed by getting rid of the absolute positioning. As for the script, it can be found at https://github.com/DF-Wiki/QualityRatings, and the issue is really only with the configuration system not recognizing the main namespace as valid. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 02:29, 3 January 2023 (UTC)
 
:::::They're already marked as unknown. Really the only issue I know of with the template is that it doesn't show up with some of the newer skins we added, and that can be fixed by getting rid of the absolute positioning. As for the script, it can be found at https://github.com/DF-Wiki/QualityRatings, and the issue is really only with the configuration system not recognizing the main namespace as valid. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 02:29, 3 January 2023 (UTC)
::::::Great, I started having a crack at fixing the template with different themes. Is the preference to get some CSS going and then include it in the global stylesheet (i.e different styles per theme) or to try and get a "one size fits all" fix? &mdash;[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 08:14, 3 January 2023 (UTC)
+
::::::Great, I started having a crack at fixing the template with different themes. Is the preference to get some CSS going and then include it in the global stylesheet (i.e different styles per theme) or to try and get a "one size fits all" fix? [[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 08:14, 3 January 2023 (UTC)
 
:::::::I would rather avoid custom site-wide CSS if we can. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 03:29, 4 January 2023 (UTC)
 
:::::::I would rather avoid custom site-wide CSS if we can. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 03:29, 4 January 2023 (UTC)
::::::::I appreciate that, I think it's the simplest solution to add a few lines to common.css though. Unless there is a way to attach CSS specifically to a template, I saw a few extensions that allowed that but I'm not sure if any are present in the wiki at the moment. Regardless there already exists a class `div.topicon` that is specifically for the quality ratings, is there an issue with expanding this class to accommodate the themes? The list of themes where the quality rating display is broken/invisible: Citizen, MinervaNeue, MonoBook. &mdash;[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 21:48, 4 January 2023 (UTC)
 
:::::::::What do you think of moving the template out of the topicon entirely and just placing it in a div? It would take up a (hopefully) small amount of vertical space in the article. [[User:Lethosor/Sandbox/Quality_test]] is an example. Unfortunately it isn't possible to prevent other templates from displaying above the quality this way ([https://dwarffortresswiki.org/index.php?title=User:Lethosor/Sandbox/Quality_test&oldid=283883]). So maybe we do need some custom CSS after all if we want that. I'm open to trying out whatever you propose. I'm a bit worried about future-proofing against skins we add later (particularly a mobile skin) but at least MediaWiki supports skin-specific global CSS as well. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 00:33, 5 January 2023 (UTC)
 
::::::::::I would rather we avoid taking any more vertical space in the article. The growing block pyramid at the top, starting with version template, is annoying. If you end up placing it inside the article space please use a slim box 100% wide that would include both.--[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 01:19, 5 January 2023 (UTC)
 
:::::::::::Agreed with you Jan, however I see that as two different tasks (ArticleVersion template changes, getting quality back on pages). I made a test adjustment to the quality and it takes up a negligable amount of extra space. See [[User:Vallode/sandbox#Page_quality]] for the example, we'd be able to completely remove "topicon" (unless it is used somewhere else?) and then potentially move on to making the ArticleVersion template into a slim version on the left-hand-side instead of a large box? Let me know what you think. --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 17:35, 5 January 2023 (UTC)
 
:::::::::::: Sorry, I just noticed this, I hope you weren't waiting on me. I haven't looked into how it works. All I can say that it would be nice if it shows on main, it is annoying that it shows on discussion and history. And otherwise I think that those negligible spaces adds up when you have multiple notice, redirection etc templates and would prefer if you can [https://ibb.co/X7X7SjL condense all of it] somehow. I also had [https://dwarffortresswiki.org/index.php/User:Jan/sandbox#Misc_variants couple of ideas] on that front, but as dev designer you probably can come up with something more refined if this is direction you choose. --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 00:50, 10 January 2023 (UTC)
 
 
  
 
It appears some pages are redirecting recursively and never resolving correctly, like the [[https://dwarffortresswiki.org/index.php?title=Character_table&redirect=no|character table]] and [[tileset repository]] 07:35, 20 December 2022 (UTC)
 
It appears some pages are redirecting recursively and never resolving correctly, like the [[https://dwarffortresswiki.org/index.php?title=Character_table&redirect=no|character table]] and [[tileset repository]] 07:35, 20 December 2022 (UTC)
Line 205: Line 200:
 
:Can do. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:27, 20 December 2022 (UTC)
 
:Can do. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:27, 20 December 2022 (UTC)
 
::New here, hello. Should we set a date where we remove/only show the banner for logged in users. There are (some) pages that have 4 different notices about the upgrade. [[Engraving]] is one such page, the top banner states "information for editors", we then have the "this page was migrated" banner, a version selection which warns the article might be inaccurate, and a smaller banner saying the page might need to be updated. Quite a lot of screen space, I think we can start to slowly reduce the amount of warnings this coming month? [[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 10:07, 2 January 2023 (UTC)
 
::New here, hello. Should we set a date where we remove/only show the banner for logged in users. There are (some) pages that have 4 different notices about the upgrade. [[Engraving]] is one such page, the top banner states "information for editors", we then have the "this page was migrated" banner, a version selection which warns the article might be inaccurate, and a smaller banner saying the page might need to be updated. Quite a lot of screen space, I think we can start to slowly reduce the amount of warnings this coming month? [[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 10:07, 2 January 2023 (UTC)
:::Unfortunately, only showing info to logged-in users is difficult with how MediaWiki caching works. In terms of reducing warnings, there is a discussion [[Template_talk:ArticleVersion#.22Note_that_some_content_may_still_need_to_be_updated..22|here]]. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 21:43, 4 January 2023 (UTC)
 
:::As for [[Engraving]] specifically, the {{tl|old}} banner was actually present on [[DF2014:Engraving]] as well and got carried over with the migration. I removed it, and agree that it was redundant. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 21:46, 4 January 2023 (UTC)
 
 
 
Main talkpages seem to redirect to DF2014 talk. Not sure if it is intentional but I like it, though we should pay attention when creating new discussion relating to v50 ending up there.--[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 14:18, 20 December 2022 (UTC)
 
Main talkpages seem to redirect to DF2014 talk. Not sure if it is intentional but I like it, though we should pay attention when creating new discussion relating to v50 ending up there.--[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 14:18, 20 December 2022 (UTC)
 
:That's unintentional. I specifically wrote the migration script to not move talk pages, but that has the side-effect of leaving any previously-created "Talk -> DF2014 talk" redirects intact. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:27, 20 December 2022 (UTC)
 
:That's unintentional. I specifically wrote the migration script to not move talk pages, but that has the side-effect of leaving any previously-created "Talk -> DF2014 talk" redirects intact. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:27, 20 December 2022 (UTC)
Line 431: Line 423:
 
::[[User:BarelyCreative]] updated the template: {{Menu icon|b|o|l|y}}. I think it looks good, thoughts? --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 18:40, 3 January 2023 (UTC)
 
::[[User:BarelyCreative]] updated the template: {{Menu icon|b|o|l|y}}. I think it looks good, thoughts? --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 18:40, 3 January 2023 (UTC)
 
:::I like that, yeah. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 03:29, 4 January 2023 (UTC)
 
:::I like that, yeah. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 03:29, 4 January 2023 (UTC)
::::There were some places where it didn't make sense so display every icon all the time (like step-by-step guides), so I changed it slightly to allow display of fewer icons using "num" and counting from the end: <nowiki>{{Menu icon|b|o|l|y|sep=-;|num=2}}</nowiki> {{Menu icon|b|o|l|y|sep=-|num=2}} [[User:BarelyCreative|BarelyCreative]] ([[User talk:BarelyCreative|talk]]) 09:05, 4 January 2023 (UTC)
 
  
 
==== Bizarre palette-swapping idea/prototype ====
 
==== Bizarre palette-swapping idea/prototype ====
Line 460: Line 451:
 
:Unfortunately there is not. I would be open to a MediaWiki extension to support this if someone finds one. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 00:32, 2 January 2023 (UTC)
 
:Unfortunately there is not. I would be open to a MediaWiki extension to support this if someone finds one. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 00:32, 2 January 2023 (UTC)
 
:: Looks like this could do it, but I haven't used it before: https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload [[User:Kelvie|Kelvie]] ([[User talk:Kelvie|talk]]) 19:41, 2 January 2023 (UTC)
 
:: Looks like this could do it, but I haven't used it before: https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload [[User:Kelvie|Kelvie]] ([[User talk:Kelvie|talk]]) 19:41, 2 January 2023 (UTC)
::: It won't solve paste-from-clipboard, but this would be great for making uploading sprites much easier (auto-cutup spritesheet, rename, bulk upload). Could you add this, Lethosor? [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 21:47, 6 January 2023 (UTC)
 
  
 
====Standards for adding graphical version screenshots and images====
 
====Standards for adding graphical version screenshots and images====
Line 467: Line 457:
  
 
I know that perfect is the enemy of good, and any documentation is better than none, but just thought I'd ask about this, and see if/where something like this ought to be posted. [[User:Unclesporky|Unclesporky]] ([[User talk:Unclesporky|talk]]) 13:58, 3 January 2023 (UTC)
 
I know that perfect is the enemy of good, and any documentation is better than none, but just thought I'd ask about this, and see if/where something like this ought to be posted. [[User:Unclesporky|Unclesporky]] ([[User talk:Unclesporky|talk]]) 13:58, 3 January 2023 (UTC)
 
 
:It has been stated in [[Template:V50 workshop]] that <q>screenshots should be at the "native" resolution</q> but someone could edit the [[Screenshot]] page for best practice for the steam version. Or post some examples in [[Talk:Screenshot]] to find out what is best? --[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 14:21, 3 January 2023 (UTC)
 
:It has been stated in [[Template:V50 workshop]] that <q>screenshots should be at the "native" resolution</q> but someone could edit the [[Screenshot]] page for best practice for the steam version. Or post some examples in [[Talk:Screenshot]] to find out what is best? --[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 14:21, 3 January 2023 (UTC)
 
:: Although I haven't added any explanation about best practices, I added a slightly more user-friendly, (Windows) alternative screenshot capturing method to the page. It might be a more helpful/relevant method for use with any best-practices explanations.
 
 
::I agree that there needs to at least be some elaboration on the reference to a "native" resolution for screenshots, as it seems irrelevant and misleading with the new display settings and menu in the steam version. Unfortunately, having only just come back to DF after years away, I don't feel confident that I can do this myself, competently. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 11:32, 7 March 2023 (UTC)
 
 
: All of your suggestions seem perfectly sensible to me (assuming that the pixel perfect zoom level is consistent for every user). I don't see why you couldn't take the initiative and pretty much cut and paste your comment here, with some minor tweaks for readability, to a new section on the [[screenshot]] page with a relevant title. Get the ball rolling, it doesn't need to be exhaustively comprehensive to start with. Once the edit is there, it will encourage other wiki editors to make any additions or changes over time. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 11:42, 7 March 2023 (UTC)
 
 
====How would I/should I go about putting creature sprites on their pages?====
 
 
Howdy. New player and wiki user here. I wanted to try and help update the wiki to the Steam release of DF, so I figured I'd chip in by putting each creature's sprites on their respective page, since I'll often look up a creature I have yet to see in game only to be met by a blue J, or whatever. I found all of the game's creature sprites in C:\Program Files (x86)\Steam\steamapps\common\Dwarf Fortress\data\vanilla\vanilla_creatures_graphics\graphics\images, so I figured I could just chop those up in Photoshop and stick them on here no problem, but the programming syntax/whatever it is on this site is incredibly confusing, I don't know how I'd actually go about doing it. I figured I'd just find the spot on the page where the little letter is and replace that with the image code, but it seems the pages are built using heavily nested templates that I can't even begin to understand. Any help?--[[User:Treese|Treese]] ([[User talk:Treese|talk]]) 03:07, 5 January 2023 (UTC)
 
:Based on [[User:Zippy|Zippy]]'s work at {{tl|Creaturelookup_b}}, I added an "image" parameter to {{tl|creaturelookup/0}}, which is what creature pages should all be using. See [[Dwarf]] and [[Cow]] for examples. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 05:37, 5 January 2023 (UTC)
 
  
 
=== Hotkeys/Menu navigation ===
 
=== Hotkeys/Menu navigation ===
Line 503: Line 481:
  
 
:::: The "current" redirects also cause the version box to incorrectly show that the current version has a page - e.g. [[23a:Cave_river]] shows a v50.04 version, but it's just a redirect back to that version. Similarly, what should happen to redirects like [[Clothes maker]], where a concept has evolved? It currently goes to [[23a:Clothes maker]] - that's correct if the user is trying to look up a very old concept, but if a new user is looking for "how to make clothes", they should be directed to [[Clothier]]. --[[User:Danny252|Danny252]] ([[User talk:Danny252|talk]]) 12:16, 26 December 2022 (UTC)
 
:::: The "current" redirects also cause the version box to incorrectly show that the current version has a page - e.g. [[23a:Cave_river]] shows a v50.04 version, but it's just a redirect back to that version. Similarly, what should happen to redirects like [[Clothes maker]], where a concept has evolved? It currently goes to [[23a:Clothes maker]] - that's correct if the user is trying to look up a very old concept, but if a new user is looking for "how to make clothes", they should be directed to [[Clothier]]. --[[User:Danny252|Danny252]] ([[User talk:Danny252|talk]]) 12:16, 26 December 2022 (UTC)
 
::::: It won't work for every case; but strategic use of when, and on what pages to use either a redirect, or the "removed feature" template, should be able to correctly organize references for cases like this. I did it for the recently added "Places" page. With just a redirect from the "building list" page for the current version, The Places page's version template links to a non-existent v0.47 page. With [[Template:Removed_feature]] added to [[Building list]] the [[Places]] 0.47 version template link links to the old [[DF2014:Building list]] page via an automatically created [[DF2014:Places]] page with a redirect to the old Building list page.  - A tweaked version of the removed feature template, doing something very similar with automated page redirects, might be a solution for the specific examples you have given for much older versions. (Template:Evolved_feature)? [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 12:08, 7 March 2023 (UTC)
 
 
:::::: I may have been overthinking the "Evolved_feature" template idea, or maybe not, if it means manually correcting hundreds of redirects to old pages. Regardless of that, I will just manually edit the specific pages mentioned above to work as intended, especially as [[v0.31:Clothes maker]] did exactly that, and is why the chain in versioned page redirects for "clothes maker" was broken from there to the current version. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 12:36, 7 March 2023 (UTC)
 
  
 
:::: One should be careful with cv redirects. Most that were recently adjusted were unused plural forms (that should probably be deleted) but few like [[Crown]] needed that for backward compatibility. Removing the [https://dwarffortresswiki.org/index.php?title=Crown&type=revision&diff=279966&oldid=219482 cv part] means the the link on [[v0.31:Tilesets]] is now broken. --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 22:30, 26 December 2022 (UTC)
 
:::: One should be careful with cv redirects. Most that were recently adjusted were unused plural forms (that should probably be deleted) but few like [[Crown]] needed that for backward compatibility. Removing the [https://dwarffortresswiki.org/index.php?title=Crown&type=revision&diff=279966&oldid=219482 cv part] means the the link on [[v0.31:Tilesets]] is now broken. --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 22:30, 26 December 2022 (UTC)
Line 520: Line 494:
 
:Trade wagons has been modified in v50. The first wagons will arrive at the same time your fort is becoming a barony. Until then, it's only pack animals and stairs are indeed fine. The [[Trading]] page needs a huge rework anyway... I'll try to do that next week. --[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 13:40, 2 January 2023 (UTC)
 
:Trade wagons has been modified in v50. The first wagons will arrive at the same time your fort is becoming a barony. Until then, it's only pack animals and stairs are indeed fine. The [[Trading]] page needs a huge rework anyway... I'll try to do that next week. --[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 13:40, 2 January 2023 (UTC)
  
As far as I can tell, none of the workshop buildings in v50 have blocking tiles any more. There's a comment to the like in data/vanilla/vanilla_buildings/objects/building_custom.txt that says this "[BLOCK:1:0:0:0] workbenches no longer block". Hesitant to update that template as I'm not sure if it's referenced for all of the old versions too. [[User:AndrielChaoti|AndrielChaoti]] ([[User talk:AndrielChaoti|talk]]) 05:54, 29 December 2022 (UTC)
+
<s>As far as I can tell, none of the workshop buildings in v50 have blocking tiles any more. There's a comment to the like in data/vanilla/vanilla_buildings/objects/building_custom.txt that says this "[BLOCK:1:0:0:0] workbenches no longer block". Hesitant to update that template as I'm not sure if it's referenced for all of the old versions too. </s> [[User:AndrielChaoti|AndrielChaoti]] ([[User talk:AndrielChaoti|talk]]) 05:54, 29 December 2022 (UTC)
 
: A new template has been created: {{tl|V50 workshop}} --[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 13:40, 2 January 2023 (UTC)
 
: A new template has been created: {{tl|V50 workshop}} --[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 13:40, 2 January 2023 (UTC)
 
::Thanks! In general, I would like to delegate the switching responsibility to the template (like how {{tl|creaturelookup/0}} works), but in cases where the parameters diverge significantly like with workshops, it could make sense to make an entirely new template. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 02:40, 3 January 2023 (UTC)
 
::Thanks! In general, I would like to delegate the switching responsibility to the template (like how {{tl|creaturelookup/0}} works), but in cases where the parameters diverge significantly like with workshops, it could make sense to make an entirely new template. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 02:40, 3 January 2023 (UTC)
 
==== Irrelevant/outdated Pages (migrated?) from much older versions ====
 
 
I was just doing a simple edit to [[cave river]] so it redirected to a more relevant page, but this was such a seemingly innocuous page that raised some rather mind-boggling questions for me. Primarily, why does it even exist when it has not been referenced by any wiki pages post 40d, and even then [[40d:Cave river]] was already an outdated redirect. Before changing the redirect, it was redirecting to [[23a:Cave_river]] which lead to a circular v50 link on that page, back to itself, also implying that it might be some old feature reintroduced in v50.
 
 
I also added a "removed feature" tag to the page, so it would at least be marked as an obsolete feature, and though mostly irrelevant, due to the redirect, it adds a reference to "see... previous versions". If [[template:av]] is added it only shows v50 and dead v0.47 link; despite showing links, dead or not, to all versions, on the v23a page - when, in this case, it would be more relevant the other way around.
 
 
Though the wiki wizardry is a bit beyond me, I assume, for v50, this page was created automatically due to some page migration script, even though there are no pages for the three previous versions. Going by this precedent, shouldn't this page just be deleted? If not, considering it is hard to see why anyone would be searching for "Cave river" in the first place, unless they thought it was a feature for some reason, perhaps this page shouldn't redirect at all, and instead be presented as an "obsolete feature" entry with some relevant information and links.
 
 
If the above assumption is correct, it seems like there might be a lot of other possibly redundant and needlessly irrelevant, strangely redirected, or misleading pages for the current version lurking out there; in which case, this might be an issue worthy of further review and added somewhere onto a figurative or literal v50 housekeeping list. (Which this entry here may count as). [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 13:41, 7 March 2023 (UTC)
 
:The last time [[cave river]] was edited before your edit was in 2011: https://dwarffortresswiki.org/index.php?title=Cave_river&action=history &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 15:34, 8 March 2023 (UTC)
 
::Yeah, this was primarily why I was wondering why it was even created as a page again for v50. It is hard to imagine why someone would be searching for such an esoteric feature, that hasn't been in the game for well over 10 years, and wasn't even referenced on the wiki for the versions between now and then. I only knew it existed due to Danny's comment four down from the top of [[Dwarf_Fortress_Wiki_talk:Versions#Removed_features_.26_concepts|this talk]] category [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 17:57, 8 March 2023 (UTC)
 
:::It '''wasn't''' "created as a page again for v50" - from the edit history, it had existed for over 11 years as a redirect to the 23a page before v50 came out. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 20:00, 8 March 2023 (UTC)
 
::::Thanks for the clarification, the version template shows the page as not existing for the intermediary wiki version pages, so that's where the confusion started. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 20:43, 8 March 2023 (UTC)
 
Given the above conclusion, and lot of needless waffle on my part, I thought I may as well give an example of where this confusion arose, regarding the [[Template:ArticleVersion|version template]] links.
 
<br> - Although I was mistaken in thinking the [[cave river]] page migration was a mistake, it was suggested that I make a clearer comment and example about what was confusing to me. This is not intended as criticism, but I thought it might be a useful example, and information, for people who are more knowledgable about the wiki's history, page migration and how the version template works, and for this discussion page in general:
 
#If you got to [[23a:Cave river]] you can see that it lists red links for [[cave river]] pages for: [[DF2014:Cave_river|v0.47]] · [[v0.34:Cave_river|v0.34]] · [[v0.31:Cave_river|v0.31]].
 
#Before I added a redirect to [[Cavern#Geography]] the v50 [[cave river]] page also showed the red link for [[DF2014:Cave_river|v0.47]], in the version template.
 
#If you look at the [https://dwarffortresswiki.org/index.php?title=23a:Cave_river&action=history 23a:Cave river history] page it shows the last user edit was in 2021.
 
#From the [[23a:Cave river]] page, if you click the next (and last non-red before v50) [[40d:Cave river|v0.28]] it takes you to [[40d:Underground river]] via a [[40d:Cave river]] page redirect. The [https://dwarffortresswiki.org/index.php?title=40d:Underground_river&action=history 40d:Underground river history] page shows the last minor edit in 2021, and previous edit in 2014.
 
#This page's version template now shows red links for all future versions.
 
#If we backtrack to get back on the trail, the [https://dwarffortresswiki.org/index.php?title=40d:Cave_river&action=history 40d:Cave River history] page shows the last edit in 2010.
 
#Prior to my redirect edit on 7 March 2023‎, the current version (v50.07) [https://dwarffortresswiki.org/index.php?title=Cave_river&action=history cave river history] page shows the last edit 2011, redirecting it to [[23a:cave river]] which (see #3) has a [https://dwarffortresswiki.org/index.php?title=Cave_river&action=history history showing] twelve edits up to 2021.
 
Hopefully you can see why I thought this might not be a unique occurrence with page migration, and potentially misleading or confusing. I did my best to balance clarity and brevity, hope this is relevant or of interest. If I have misunderstood something obvious again, please let me know, as I don't want to clutter up this talk page with (even more) needless verbiage. [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 17:48, 10 March 2023 (UTC)
 
:Just adding a note with a link to the [[Dwarf_Fortress_Wiki_talk:Versions#v50_migration|v50 migration]] discussion here, for anyone reading, as there is already some related discussions about version template linking. --[[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 16:52, 12 March 2023 (UTC)
 
  
 
=== creature infobox prototype (moved) ===
 
=== creature infobox prototype (moved) ===
Line 558: Line 507:
 
:::[[File:Creature template.png]] [[File:Armadillo.png]] [[File:Seagull.png]]  
 
:::[[File:Creature template.png]] [[File:Armadillo.png]] [[File:Seagull.png]]  
 
:::It'll need to be wider or arranged differently for different creatures with more that two sprites or for multi-tile creatures. I can also do an aquatic and air themed template for swimming and flying creatures. ~~[[User:UristTheSeventh|UristTheSeventh]] ([[User talk:UristTheSeventh|talk]])
 
:::It'll need to be wider or arranged differently for different creatures with more that two sprites or for multi-tile creatures. I can also do an aquatic and air themed template for swimming and flying creatures. ~~[[User:UristTheSeventh|UristTheSeventh]] ([[User talk:UristTheSeventh|talk]])
::::Looks nice, like the metal template. There are several people working on updating the graphics you should talk more among yourselves. Best I can offer is that I width wise I am hoping to go up to 200px for infoboxes.--[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 01:13, 5 January 2023 (UTC)
 
:::: We don't exactly ''need'' a zombie sprite on each page. I added it because it was... there. I was also hoping to get some opinions on it anyway since that infobox is a visual prototype, and not a final choice. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 03:28, 6 January 2023 (UTC)
 
 
===Furniture Infobox===
 
{{Quality|Unrated}}
 
{{v50_furniture|name=Bed
 
|graphic=[[File:bed_sprite_prototype.png]]
 
|tile=Θ|col=6:0:0
 
|wood=y
 
|rooms=
 
* [[Bedroom]]
 
* [[Barracks]]
 
* [[Dormitory]]
 
|value=10}}
 
I made a v50 furniture template prototype. I tested this on Firefox, Chrome and Microsoft Edge/Internet Explorer and it looks fine on all of them. I hope this is good enough to be the official thing, unless I'm missing something. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 03:28, 6 January 2023 (UTC)
 
{{clear}}
 
  
 
=== When do we remove the migration note on specific pages? ===
 
=== When do we remove the migration note on specific pages? ===
Line 595: Line 528:
  
 
Personally I think option b) is better, because I think it's silly to undo some work just to reintroduce it a few weeks later, with the necessary corrections. Even if a copy/paste of a previous version takes ~15 seconds, considering the number of articles that need to be corrected, it would be a bit of a waste of time.--[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 14:22, 3 January 2023 (UTC)
 
Personally I think option b) is better, because I think it's silly to undo some work just to reintroduce it a few weeks later, with the necessary corrections. Even if a copy/paste of a previous version takes ~15 seconds, considering the number of articles that need to be corrected, it would be a bit of a waste of time.--[[User:Halavus|Halavus]] ([[User talk:Halavus|talk]]) 14:22, 3 January 2023 (UTC)
 
=== New menus/interface changes ===
 
 
I went down a rabbit hole today after adding a "[[places]]" page and redirecting "building list screen" to that. After updating the "[[Template:V50_menus|Menu Tabs]]" template I realised there is a large ammount of missing or incorrect information after v0.47 page migration. It did lead to getting a clearer picture of what exactly has room for improvement though so I'll just add some notes here for now, so I don't forget, and so anyone else who might feel inspired doesn't have to check every reference one-by-one again.
 
 
Missing menu/interface entries:
 
:* [[Tasks]]
 
:* [[Objects]]
 
:* (Justice) - [[Open cases]] • [[Closed cases]] • [[Cold cases]] • [[Convicts]] • [[Intelligence]]
 
 
Outdated information/missing new interface info:
 
:* (Places) - [[Stockpile|Stockpiles]] • [[Workshops]] • [[Farming|Farm plots]]
 
:* (Objects) - [[Artifacts]] • [[Named objects]] • [[Symbols]] • [[Books|Written content]]
 
:* [[Justice]] - [[Fortress guard]]
 
 
I wasn't sure about the correct use of the "tattered" quality category, but if it counts for all those, shall I just change them to that for easier update tracking in general?
 
 
I think a lot of these probably just need their own categories added for menu/interface usage, but a few of the more elaborate ones might benefit from having their own menu/interface specific page perhaps?
 
 
Also, apologies if I went a bit far editing a template to such an extreme without checking first, I was a bit worried I might mess something up across multiple pages, but decided to take the '''B'''e bold! guideline at face value. :D [[User:Alpacalypse|Alpacalypse]] ([[User talk:Alpacalypse|talk]]) 13:59, 5 March 2023 (UTC)
 
 
=== New difficulty settings ===
 
Considering that these are shiny new features I find it a bit silly that we still don't have a page detailing what exactly these do. The most I've ever seen is little tidbits here and there discussing animal agitation. Some of them are pretty obvious (like tree-fell counts) but the nitty-gritty is always nice.
 
 
As far as I can tell, '''Off''' prevents [[sieges]], [[Megabeast|uninvited]] [[Forgotten beast|guests]], and agitated wildlife attacks, but still allows [[Intrigue]] and [[HFS]] to occur (likely evil biome zombie shenanigans as well), '''Normal''' is the default experience, and '''Hard''' ensures a nonstop stream of [[Fun]] assaults your fort. [[User:CobaltNinja|CobaltNinja]] ([[User talk:CobaltNinja|talk]]) 13:38, 18 October 2023 (UTC)
 
 
:I would encourage you to add such a page. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 18:17, 19 October 2023 (UTC)
 
 
:: The [[difficulty]] page has been created. Thank you for your encouragement! Still needs more info. [[User:CobaltNinja|CobaltNinja]] ([[User talk:CobaltNinja|talk]]) 21:24, 28 October 2023 (UTC)
 
  
 
== Toggleable image ==
 
== Toggleable image ==
Line 662: Line 566:
 
::: I updated the layout, now it should look just like a regular image thumb. I didn't had time to test it, if it doesn't work for you or you don't like it just revert the last change. cheers. --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 21:46, 2 January 2023 (UTC)
 
::: I updated the layout, now it should look just like a regular image thumb. I didn't had time to test it, if it doesn't work for you or you don't like it just revert the last change. cheers. --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 21:46, 2 January 2023 (UTC)
 
::::I don't know which part of this talk page to put this, but I added the ability to add icons to the v50 workshops template. Leaving the icon part blank will not break the template in any way. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 09:47, 3 January 2023 (UTC)
 
::::I don't know which part of this talk page to put this, but I added the ability to add icons to the v50 workshops template. Leaving the icon part blank will not break the template in any way. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 09:47, 3 January 2023 (UTC)
 
=== Plant Infoboxes ===
 
Could someone put the toggle image thing on the plant infoboxes? --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 20:08, 13 February 2023 (UTC)
 
{{clear}}
 
: I might give it a try. I actually started making little crop images that show how each plant looks while growing and fully grown with seeds and harvested plant on the side... Can't upload them yet because I just registered but I like helping. [[User:AlfalfaScout|AlfalfaScout]] ([[User talk:AlfalfaScout|talk]]) 00:34, 17 January 2024 (UTC)
 
 
==Creature List Now Supports Graphics!==
 
I wasn't easy, but I made new templates so the [[Creature]]s page now supports both graphics sprites ''and'' ASCII tiles. Allow me to show you:
 
 
{{v50_creaturecurrent_table_head}}
 
{{v50_creaturecurrent table row|graphic=[[File:dwarf_sprite.png]]|name=[[Dwarf]]|symbol=☺|color=3:0:0|playable=Fort, Adv|hostile=No|food=No|size=60,000|value=Not tameable|biome=[[Mountain halls]], [[Fortress|dwarf fortress]]es, [[hillock]]s|note=Trading race}}
 
{{v50_creaturecurrent table row|graphic=[[File:elf_sprite.png]]|name=[[Elf]]|symbol=e|color=3:0:0|playable=Adv|hostile=Variable<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=[[Forest retreat]]s|note=Trading race}}
 
{{v50_creaturecurrent table row|graphic=[[File:human_sprite.png]]|name=[[Human]]|symbol=U|color=3:0:0|playable=Adv|hostile=Variable<sup>1</sup>|food=No|size=70,000|value=Not tameable|biome=[[Town]]s and cities|note=Trading race}}
 
{{v50_creaturecurrent table row|graphic=[[File:goblin_sprite.png]]|name=[[Goblin]]|symbol=g|color=7:0:0|playable=Adv|hostile=Usually<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=[[Dark fortress]]es and [[dark pit]]s|note=Snatchers<sup>2</sup>}}
 
{{v50_creaturecurrent table row|graphic=[[File:kobold_sprite.png]]|name=[[Kobold]]|symbol=k|color=6:0:0|playable=Adv|hostile=Usually<sup>1</sup>|food=No|size=20,000|value=Not tameable|biome=Caves|note=Skulking race}}
 
|}
 
 
Oh wait, there's a bonus. You can also modify the background color of the box the sprites go in. I added that to make possibly-hard-to-see-otherwise sprites more easy to see - depending on the colors it has. Allow me to demonstrate.
 
 
{{v50_creaturecurrent_table_head}}
 
{{v50_creaturecurrent table row|graphic=[[File:dwarf_sprite.png]]|bgcolor=#829ccc|name=[[Dwarf]]|symbol=☺|color=3:0:0|playable=Fort, Adv|hostile=No|food=No|size=60,000|value=Not tameable|biome=[[Mountain halls]], [[Fortress|dwarf fortress]]es, [[hillock]]s|note=Trading race}}
 
{{v50_creaturecurrent table row|graphic=[[File:elf_sprite.png]]|bgcolor=#c7dfc0|name=[[Elf]]|symbol=e|color=3:0:0|playable=Adv|hostile=Variable<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=[[Forest retreat]]s|note=Trading race}}
 
{{v50_creaturecurrent table row|graphic=[[File:human_sprite.png]]|bgcolor=#c7dfc0|name=[[Human]]|symbol=U|color=3:0:0|playable=Adv|hostile=Variable<sup>1</sup>|food=No|size=70,000|value=Not tameable|biome=[[Town]]s and cities|note=Trading race}}
 
{{v50_creaturecurrent table row|graphic=[[File:goblin_sprite.png]]|bgcolor=#dfc0c0|name=[[Goblin]]|symbol=g|color=7:0:0|playable=Adv|hostile=Usually<sup>1</sup>|food=No|size=60,000|value=Not tameable|biome=[[Dark fortress]]es and [[dark pit]]s|note=Snatchers<sup>2</sup>}}
 
{{v50_creaturecurrent table row|graphic=[[File:kobold_sprite.png]]|bgcolor=#dfc0c0|name=[[Kobold]]|symbol=k|color=6:0:0|playable=Adv|hostile=Usually<sup>1</sup>|food=No|size=20,000|value=Not tameable|biome=Caves|note=Skulking race}}
 
|}
 
 
To change the background color, add <code><nowiki>|bgcolor=COLOR</nowiki></code> segment after the <code><nowiki>|graphic</nowiki></code> part. You can use color names or HTML hex color codes. I added this to the v50 creatures page, but at this time, I only added the first five creatures I just displayed. It's gonna take a while to find ALL of those creature sprites. I hope a lot of people help out on that one. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 05:29, 5 January 2023 (UTC)
 
 
:Thanks, looks nice! &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 05:44, 5 January 2023 (UTC)
 
:Nice stuff, took the quick liberty to change the padding-left -> text-align to make all the sprites center aligned relative to each other :) Sweet work --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 17:41, 5 January 2023 (UTC)
 
:: Good work indeed. One minor issue, is that all the sprites have different sizes, which sometimes create slight variation in table row height. Consider using capping the image size vertically for example <code><nowiki>[[File:dwarf_sprite.png|x32px]]</nowiki></code>--[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 18:15, 5 January 2023 (UTC)
 
:: Also often in such tables people want to click on the image to go for the specific entry, and often will try to click on the very first thing they see in line the thumb image, but currently that will take them to the file page. Consider adding link parameter for example: <code><nowiki>[[File:dwarf_sprite.png|x32px|link=dwarf]]</nowiki></code> [[File:dwarf_sprite.png|x32px|link=dwarf]] or no link at all <code><nowiki>[[File:dwarf_sprite.png|x32px|link=]]</nowiki></code> [[File:dwarf_sprite.png|x32px|link=]] --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 18:24, 5 January 2023 (UTC)
 
::: I mean... Yeah, I could do that. I think that lessens the quality of the sprite a bit because it makes edges blurry, but either way is fine. I could have sworn I added a link for all those images the first time. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 03:23, 6 January 2023 (UTC)
 
::::Since we are adding pixel art sprites to the website it might be convincing to add a global class like .sprite or .pixel-image that uses the CSS attribute `image-rendering: pixelated;` in order to prevent blurryness when scaling the image up/down. Just a thought --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 09:40, 6 January 2023 (UTC)
 
:::::Are we able to attach classes directly to images? If so, we can probably attach inline styles directly as well. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 16:52, 6 January 2023 (UTC)
 
::::::Looks like (without an extension) MediaWiki only supports classes on images: [[File:dwarf_sprite.png|x32px|class=pixelated]] and not styles: [[File:dwarf_sprite.png|x32px|style="image-rendering: pixelated;"]] it just treats it as alt text it looks like? Wrapping it in a div works and demonstrates the difference: <div style="image-rendering: pixelated;display:inline;">[[File:dwarf_sprite.png|64px]]</div> [[File:dwarf_sprite.png|64px|inline]]. Speaking from experience, however, image-rendering needs a browser specific prefix in certain browsers (safari, for example) in order to work properly. I'm not entirely sure what the best "MediaWiki" practice is for adding something like this but I would assume it's a simple class in common.css for now. --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 17:17, 6 January 2023 (UTC)
 
:::::::Ah, yeah, you are correct, I should have checked https://www.mediawiki.org/wiki/Help:Images. I'd be fine adding a class like that to common.css. &mdash;[[User:Lethosor|<span style="color:#074">Lethosor</span>]] ([[User talk:Lethosor|<span style="color:#092">talk</span>]]) 17:27, 6 January 2023 (UTC)
 
::::::::Great, in that case if no one is opposed we can add `.game-sprite` or something like that? See below for the CSS, the order of the attributes is relevant. --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 18:23, 6 January 2023 (UTC)
 
<pre>/* Used for pixel-art images from the game so they can be resized and maintain crisp pixel edges. */
 
.game-sprite {
 
image-rendering: -webkit-optimize-contrast;
 
image-rendering: crisp-edges;
 
image-rendering: pixelated;
 
}</pre>
 
:::::::::So... you guys think each creature page should show the main sprite(s) alone, or should it show the baby versions alongside them? --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 08:37, 8 January 2023 (UTC)
 
::::::::::I think adult + baby is sensible, the adult + baby + zombie was not, in retrospect. So yeah adult + baby (if there is one) from now on would be my vote. --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 23:27, 8 January 2023 (UTC)
 
{{outdent}}
 
Well then, there's a TON of creatures to go - and I mean both the [[creature]]s page and the individual creature pages. I really hope everyone can pull their weight on that those images. The spritesheets are easy to find, and if you know how to read the .txt files near them, finding sprites on certain rows and columns should be a breeze. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 00:47, 9 January 2023 (UTC)
 
:Zippy, are you doing all of this by hand? That seems quite tedious. Cutting up the spritesheets can be done automatically. Renaming and updating the table could be done with a script and/or chatgpt. We'd need Lethosor to add the [https://www.mediawiki.org/wiki/Extension:SimpleBatchUpload batch upload extension] though. Maybe some manual work in updating names to match article names rather than raws. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 06:55, 9 January 2023 (UTC)
 
{{clear}}
 
::So did the graphic people gained insights and reached some sort of consensus? are we using big up scaled images + toggle? multiple images to(adult + baby)? anything else? --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 00:32, 10 January 2023 (UTC)
 
:::I noticed that someone blew up the size of the previews in infoboxes. Was that you Jan that did that? Whoever did that enlarged the DFtext tile as well. Don't know if that was intentional or not. I'd prefer if the sprites were either left alone or at double-sized max (or however they look in-game at 1:1 - not zoomed in or out), though that's just me. It looks like maybe they're triple-sized or something.
 
 
:::@OddballJoe - It's not all by hand, I have some Photoshop scripts that cut my work time in half, or even by a third. Lethosor said something about us not uploading entire spritesheets. If we did it the entire spritesheet way, one update to the sheet could misalign everything and screw up many pages. For example, let's say Kitfox slipped in an extra couple rows of creatures in an image file, that means the other rows under it would be misaligned and pages would show the wrong creatures. Know what I mean? I'd still prefer if other people jumped in and added sprites, though. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 00:51, 10 January 2023 (UTC)
 
 
:::: Lethosor introduced the changes, using the image-rendering stuff. I am just waiting for any sort of consensus to do anything, same as with workshops I am not clear on the size people want to go for [[:File:Carpenter%27s_workshop.png|original]] or [[:File:Ashery.png|big]] --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 01:17, 10 January 2023 (UTC)
 
 
::::: I'm no graphics artist but I'm not sure I understand why global consensus needs to be achieved... We're dealing with pixel art, why wouldn't we just upload the pixel-perfect versions from the spritesheets for all images that we need? The display size can be discussed on the appropriate template pages and adjusted in the templates or css. I also tend to think that if we want to maintain something like 1k images that may change in the future, it'd be worth automating most of the work. Zippy, as far as I can tell the raws give all the coordinates needed to cut out and label each sprite, so I was thinking one script could parse the raws, make and label the cutouts, and upload. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 04:49, 10 January 2023 (UTC)
 
 
::::: Likewise I think the image names should be standardized so we can just change the creature infobox template to look up the image rather than editing a gazillion pages by hand. Though I suppose at some point the pages will need review to remove the migration banner anyway. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 04:51, 10 January 2023 (UTC)
 
 
::::: Looks like you answered your own question, standardization. Initially, it is best to try different things and figure out all the odd quirks that doesn't fit. But eventually, it is best if we all work toward the same goal, saving everyone time and making the result more consistent in terms of naming convention, parameter name, resolution, use of scaling (in-game or otherwise), use of sprites or screenshots (like for layered workshops), use of templates, amount of images planned or whatever else was mentioned above. I think that discussion of the desired outcome goes well in hand here. --[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 10:38, 10 January 2023 (UTC)
 
 
=== Graphics in Skill Infoboxes ===
 
{{v50_skill
 
| color      = 7:0
 
| graphic    = [[File:miner_sprite_icon.png]]
 
| skill      = Miner
 
| profession = Miner
 
| job name  = [[Mining]]
 
| tasks      =
 
* [[Dig]]
 
| attributes =
 
* Strength
 
* Toughness
 
* Endurance
 
* Willpower
 
* Spatial Sense
 
* Kinesthetic Sense}}I've made yet another visual prototype for skills. In other words, we can put sprites of matching dwarves (and possibly humans, elves, goblins, etc.) at the top of infoboxes. If multiple images are put up there, that can mess up the alignment, but don't worry, Zippy thought of that. <code><nowiki>|graphicmargin</nowiki></code> can added, and a percentage or a "px" number can be placed in that parameter to fix it. If you leave said parameter out, the alignment will default to about 42% from the left. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 06:06, 7 January 2023 (UTC)
 
<pre><nowiki>
 
{{v50_skill
 
| color      = 7:0
 
| graphic    = [[File:miner_sprite_icon.png]]
 
| graphicmargin = (OPTIONAL)
 
| skill      = Miner
 
| profession = Miner
 
| job name  = [[Mining]]
 
| tasks      =
 
* [[Dig]]
 
| attributes =
 
* Strength
 
* Toughness
 
* Endurance
 
* Willpower
 
* Spatial Sense
 
* Kinesthetic Sense}}
 
</nowiki></pre>
 
::Not sure I understand the alignment issue, can you not put text-align: center on the parent table element instead of messing with explicit margins? As another sidenote, should we continue to be naming all of these templates v50_x, I find that a bit confusing. Why not just edit the main templates with the additional information. Loving all the new templates though nice work Zippy :) --[[User:Vallode|Vallode]] ([[User talk:Vallode|talk]]) 11:43, 7 January 2023 (UTC)
 
:::No, text-align doesn't work with images and divs. That just works for text. When it comes to images, you got to put a little "finesse" on the CSS with those. As for editing the classic templates with the new info, it doesn't always work that way with ''every'' template. Lethosor I think ''did'' update the creature infobox template in the way you mentioned. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 08:37, 8 January 2023 (UTC)
 
:::: You can use something like this to automatically handle that--[[User:Jan|Jan]] ([[User talk:Jan|talk]]) 08:56, 8 January 2023 (UTC)
 
{|
 
|-
 
|<div style="width:200px; display:flex; background-color:#eaecf0;">
 
[[File:miner_sprite_icon.png|center]]
 
<div>
 
|<div style="width:200px; display:flex; background-color:#eaecf0;">
 
[[File:miner_sprite_icon.png|center]] [[File:miner_sprite_icon.png|center]]
 
<div>
 
|<div style="width:200px; display:flex; background-color:#eaecf0;">
 
[[File:miner_sprite_icon.png|center]] [[File:miner_sprite_icon.png|center]] [[File:miner_sprite_icon.png|center]]
 
<div>
 
|}
 
:::::Hah I am very familar with the CSS finese :P Can you show me an example of a multi-sprite job infobox? I said what I said because I tested my proposed solution and it worked fine :)
 
 
==Adding Vermin list to Creatures page==
 
I wanna do that. You guys okay with that? I asked Lethosor, and he said to ask the majority. So uh... here I am... --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 20:42, 7 February 2023 (UTC)
 
 
: My main concern is with page size, [[Creature]] is absolutely massive now. In fact, now that I look at it I see a ton of broken images; I'm guessing this is related to some size or timing limit that's being hit when rendering or expanding all the templates. This should definitely be fixed before we make the page even larger.  In fact I'd probably even support splitting it out into more smaller pages for easier browsing. We already have [[Alternate creature sorting]] which can be used as the master sortable list of all creatures including vermin. -[[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 22:47, 7 February 2023 (UTC)
 
::In my opinion, the page size isn't an issue. The vermin list is large, but not "excruciatingly" large. At the absolute worst, it makes a massive page just a bit bigger, and it isn't going to ease someone's scrolling adventure by all ''that'' much if it's not there. I put the vermin list there, under the aquatic creatures, just to see how people like it. For now... --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 17:24, 8 February 2023 (UTC)
 
::: Unfortunately page size being an issue isn't a matter of opinion: [[Creature]] was, even before your edit, huge and partially broken. Nearly the entire vermin section you added has nothing but broken images (https://imgur.com/a/gpi7guA). We need to fix the situation of broken images before we can consider increasing this page's size further. The other issue with your edit is that we cannot have two vermin tables on different pages; we need a single source of truth to be able to maintain the info (which could be a template transcluded in multiple places). —[[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 19:12, 9 February 2023 (UTC)
 
:::: Dude dude duuuuuuuuuuuuude. You posted this message at the wooooooorst time. I was posting my thing about tree infoboxes below, which caused a "edit conflict" warning, which erased my entire thing. It's not your fault in the slightest, but that's what happened. That sucked ass. Granted, I should have copy and pasted it. I have no what the sweet sweet shit the broken image thing is about, I've looked at the page on multiple browsers and even PC's and it looks fine. I'll remove the edit, but I can't for the life of me tell you what the image problem is. Try doing a cache refresh or something. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 19:27, 9 February 2023 (UTC)
 
::::: Yeah, that sucks; I think when you get an edit conflict it should still let you copy at that point, but I guess you know for next time. When testing the page, try loading it logged out in a new incognito/private window to avoid local cache effects. Since mediawiki can have weird caching behavior, the wayback machine helps for resolving arguments related to caching: [https://web.archive.org/web/20230209001103/https://dwarffortresswiki.org/index.php/Creature#Vermin this snapshot] from earlier today shows tons of broken images (note that archive.org is having some issues atm so that link might not work until it's up again). —[[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 19:50, 9 February 2023 (UTC)
 
 
==Updating Tree Infoboxes==
 
Any idea on what that should look like? I have two mockups here:
 
<gallery widths="223px" heights="324px">
 
tree_infobox_example.png|Trunk and tile.
 
tree_infobox_example2.png|Trunk, branch, leaves and tile.
 
</gallery>
 
Whatever the choice, someone's gonna have to really help me. The amount of images I've added and edits I've made... I'm exhausted... --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 19:27, 9 February 2023 (UTC)
 
 
: Maybe we follow the same "Toggle" format as with creatures for the ASCII? Then there's probably enough room to comfortably include all or most of the tree sprites (trunk, branches of different sizes, growths). While I admire your Herculean efforts, this stuff can be automated as well. I'm working on some code for a separate project for parsing raws and extracting various df sprites, which I'm hoping to share out sometime this month, which could be helpful for this kind of thing. —[[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 20:19, 9 February 2023 (UTC)
 
 
==Adding Portraits [Solved]==
 
[[File:portrait_mockup.png|right]]Does anyone have an idea on how to do this to the creature infobox templates? I can't for the LIFE of me understand how that crap is set up, it is templates with templates within templates, and it's extremely hard to figure out what does what. It's one of those "it's only easy for the person who made it" scenarios. There doesn't seem to be any admins/mods around either.
 
 
Edit: I made a mockup of what I'm talking about. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 19:33, 24 April 2024 (UTC)
 
:Nevermind, I figured it out. --[[User:Zippy|Zippy]] ([[User talk:Zippy|talk]]) 21:05, 24 April 2024 (UTC)
 
{{clear}}
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)