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.

Template talk:V50 workshop

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Toggle-able Pictures for workshops[edit]

I'm working on updating this template in order to show both the new graphics for workshops, as well as an option to see the original ASCII. If anyone has any ideas on how to best do that, please let me know, or feel free to take the initiative. —Velskadi (talk) 18:00, 24 December 2022 (UTC)

I hope Letshor can get a tab extension to work, but in the mean time you can try something like this:

Minimal change option
Carpenter's workshop.png
X X X
X X X
X X X
" =
]
"Tab" option without tabs
Change view
Carpenter's workshop.png
" =
]
X X X
X X X
X X X

Obviously this is rough draft, I didn't tried to make it look pretty with the right size and arrangement --Jan (talk) 18:30, 24 December 2022 (UTC)

Awesome! I will play with these and see what I can get to work. I think the one on the right would be best, if only to keep the infocell from blowing up horizontally.

Velskadi (talk) 18:32, 24 December 2022 (UTC)

My advice is to ignore the infocell, just make it work. Once it works and everyone is happy we can make the code pretty and easy to use. --Jan (talk) 18:34, 24 December 2022 (UTC)
Good to know. I'm also realizing that we may need to create new templates for each of the Building Sub-menus (Clothing and Leather, Farming, Furnaces). If there is a clever way of handling these without creating a bunch of templates I'd love to know. I don't want to make a mess of things. —Velskadi (talk) 18:38, 24 December 2022 (UTC)
I am not sure what exactly you are referring to.--Jan (talk) 19:38, 24 December 2022 (UTC)

This is pretty cool! I had no idea MediaWiki had built-in toggle buttons like that. —Lethosor (talk) 19:03, 24 December 2022 (UTC)

Name[edit]

I would encourage renaming this to {{v50 workshop}}. I'd rather avoid inventing year-based names again after what happened with "DF2014". —Lethosor (talk) 19:02, 24 December 2022 (UTC)

Sounds good! Will I need to delete this page? If so, is that done by just removing the text from it? —Velskadi (talk) 18:00, 24 December 2022 (UTC)
What I had in mind was moving the page, to keep its edit history, rather than copying it. I just performed the move (since the "v50" page existed, it required admin access to overwrite, but ordinarily you can move pages without admin access). I left a redirect behind, which should allow existing pages to continue to use the "DF2022" name, but if they are updated to use "v50", you can tag template:DF2022 workshop with {{delete}} and I can clean it up. —Lethosor (talk) 19:42, 24 December 2022 (UTC)
All pages using DF2022 have been updated. --Halavus (talk) 00:43, 2 January 2023 (UTC)

Building keyboard shortcuts don't work for workshops in subcategories (or isn't documented)[edit]

I tried with key1=xx|key2=yy but without luck. Can't add the fourth shortcut in b-o-f-b for the Butcher's shop, for example. --Halavus (talk) 23:54, 1 January 2023 (UTC)

Should work now. --Jan (talk) 00:12, 2 January 2023 (UTC)
Indeed, thank you. --Halavus (talk) 00:31, 2 January 2023 (UTC)