Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 140: | Line 140: | ||
At [[Skaphander: Der Auftrag]] I was thinking it would be nice to vary the walkthrough text and images by difficulty level, a lot like is done with {{t|Control selector}} and {{t|Control}} for different platforms, rather than constantly having to describe three possible cases (easy, medium, and hard) in the prose. However, those templates rely on [[MediaWiki:Gadget-ControlSelector.js]] to function. I could abuse it, making templates that provide a controller selector reskinned to look like a difficulty selector, but that wouldn't work if some hypothetical game wants to vary page content by both platform and difficulty level. Would StrategyWiki be open to having a new JavaScript gadget to support a {{t|Difficulty selector}}/{{t|Difficulty}} pair that plays nicely with the controls templates? I would be willing to write the JavaScript, and I would keep it short and readable so that it could be reviewed to allay any security concerns. [[User:Iridium Context|Iridium Context]] ([[User talk:Iridium Context|talk]]) 15:13, 18 November 2023 (UTC) | At [[Skaphander: Der Auftrag]] I was thinking it would be nice to vary the walkthrough text and images by difficulty level, a lot like is done with {{t|Control selector}} and {{t|Control}} for different platforms, rather than constantly having to describe three possible cases (easy, medium, and hard) in the prose. However, those templates rely on [[MediaWiki:Gadget-ControlSelector.js]] to function. I could abuse it, making templates that provide a controller selector reskinned to look like a difficulty selector, but that wouldn't work if some hypothetical game wants to vary page content by both platform and difficulty level. Would StrategyWiki be open to having a new JavaScript gadget to support a {{t|Difficulty selector}}/{{t|Difficulty}} pair that plays nicely with the controls templates? I would be willing to write the JavaScript, and I would keep it short and readable so that it could be reviewed to allay any security concerns. [[User:Iridium Context|Iridium Context]] ([[User talk:Iridium Context|talk]]) 15:13, 18 November 2023 (UTC) | ||
== Attribute anonymous edit == | == Attribute anonymous edit == |