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
Revision as of 19:03, 24 December 2022 by Lethosor (talk | contribs)
Jump to navigation Jump to search

Toggle-able Pictures for workshops

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)

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

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)