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.

Difference between revisions of "Category talk:Inline formatting templates"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (looking for new template for non-hotkey buttons, e.g. [Quill])
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
[[User:Qwiption|Qwiption]] ([[User talk:Qwiption|talk]]) 02:56, 26 January 2023 (UTC)
 
[[User:Qwiption|Qwiption]] ([[User talk:Qwiption|talk]]) 02:56, 26 January 2023 (UTC)
 +
 +
: How do you imagine the template would look? I'm not sure it'd be super helpful because 1) there's no standard names for the UI icons, and 2) most UI icons are pretty single-purpose. Like I don't imagine we'd need to talk about the quill icon on more than one page. I've added UI icons as just an inline image in some places, like the magnifying glass on [[Occupation]]. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 05:00, 26 January 2023 (UTC)
 +
 +
:: I think it would be helpful for non-English speakers, and many English-speaking visual learners, to see a picture of the repeated UI elements that don't have hotkeys (and some that do), just like this awesome Menu icon template: {{Menu icon|z}}. The best example is the Quill button that is used on many screens. Search for "quill" in this wiki and you'll see snippets from multiple pages. I conceived the need for it when I read the Military Quickstart's mention of the "dwarf" button, which was next to the dwarf image of my Militia Commander. Also, I wanted to show the [+] button found in those same military screens. I just opened the Stocks screen and there were 6 buttons next to each item in Stocks. All but the Melt button probably get used elsewhere in the UI. And if we have a template, it's easier for wiki-noobs like me to improve articles. ([[User:Qwiption|Qwiption]] ([[User talk:Qwiption|talk]]) 21:56, 26 January 2023 (UTC))
 +
 +
::: I don't disagree that an image is helpful, but still not sure what you want a template to do. If you'd like to add the quill icon, find the sprite in the game data folders or screenshot and crop it, and upload it like the images in [[:Category:Interface images]]. The you can insert it with <nowiki>[[File:UI_z.png]].</nowiki> [[File:Ui_z.png]]. If you can describe what the template you want to create would do specifically (i.e. what you would type and what it would produce), myself or someone can help you with that if it makes sense. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 07:16, 27 January 2023 (UTC)
 +
 +
:::: Aha, I see what you mean. My example of {{Menu icon|n}} works well because it uses the hotkey as the name to know which image to use. But with other UI images, there isn't a defined hotkey/name that would make using the template better/faster than just linking to the uploaded image. And really, [[:Category:Interface images]] does 95-99% of what I imagined. Let me try using that. Is there any method to the naming scheme? <small>&ndash; [[template:unsigned|unsigned]] comment by [[User:Qwiption|Qwiption]]</small>
 +
 +
::::: Yeah, exactly. No real naming scheme, just try to be consistent. Some of the images have standardized names so they can be found by templates, e.g. [[:File:Ui bfh.png|Ui bfh.png]] is named that since b-f-h is the associated keyboard command. [[User:OddballJoe|OddballJoe]] ([[User talk:OddballJoe|talk]]) 19:45, 27 January 2023 (UTC)

Latest revision as of 19:45, 27 January 2023

Ignore this talk page, I screwed something up a bit guys. Fixed now. Resident Mario (talk) 03:31, 24 July 2013 (UTC)


Are there plans to create a template for the various UI buttons that aren't part of the main menu hotkeys? For example, the Quill button to edit text labels. How can I help create it?

Qwiption (talk) 02:56, 26 January 2023 (UTC)

How do you imagine the template would look? I'm not sure it'd be super helpful because 1) there's no standard names for the UI icons, and 2) most UI icons are pretty single-purpose. Like I don't imagine we'd need to talk about the quill icon on more than one page. I've added UI icons as just an inline image in some places, like the magnifying glass on Occupation. OddballJoe (talk) 05:00, 26 January 2023 (UTC)
I think it would be helpful for non-English speakers, and many English-speaking visual learners, to see a picture of the repeated UI elements that don't have hotkeys (and some that do), just like this awesome Menu icon template: Ui z.pngz. The best example is the Quill button that is used on many screens. Search for "quill" in this wiki and you'll see snippets from multiple pages. I conceived the need for it when I read the Military Quickstart's mention of the "dwarf" button, which was next to the dwarf image of my Militia Commander. Also, I wanted to show the [+] button found in those same military screens. I just opened the Stocks screen and there were 6 buttons next to each item in Stocks. All but the Melt button probably get used elsewhere in the UI. And if we have a template, it's easier for wiki-noobs like me to improve articles. (Qwiption (talk) 21:56, 26 January 2023 (UTC))
I don't disagree that an image is helpful, but still not sure what you want a template to do. If you'd like to add the quill icon, find the sprite in the game data folders or screenshot and crop it, and upload it like the images in Category:Interface images. The you can insert it with [[File:UI_z.png]]. Ui z.png. If you can describe what the template you want to create would do specifically (i.e. what you would type and what it would produce), myself or someone can help you with that if it makes sense. OddballJoe (talk) 07:16, 27 January 2023 (UTC)
Aha, I see what you mean. My example of Ui n.pngn works well because it uses the hotkey as the name to know which image to use. But with other UI images, there isn't a defined hotkey/name that would make using the template better/faster than just linking to the uploaded image. And really, Category:Interface images does 95-99% of what I imagined. Let me try using that. Is there any method to the naming scheme? unsigned comment by Qwiption
Yeah, exactly. No real naming scheme, just try to be consistent. Some of the images have standardized names so they can be found by templates, e.g. Ui bfh.png is named that since b-f-h is the associated keyboard command. OddballJoe (talk) 19:45, 27 January 2023 (UTC)