StrategyWiki:Staff lounge: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
Line 142: Line 142:


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 ==
Hi there, I just made an edit but forgot to log in. Is there any chance it could be linked to my username instead of the IP? The edit was at [[Battlefield_3/Table_of_Contents]]. Thank you.
52

edits