User talk:ABC-DEFG: Difference between revisions
Jump to navigation
Jump to search
(→‎Tb item templates: new section) |
m (Reply. I think that works.) |
||
Line 1: | Line 1: | ||
== Tb item templates == | == Tb item templates == | ||
How about having a single template with all items in the game indexed in it (name/image/id) with a switch statement to return given item upon entering its in-game name in the template's parameter? Is that feasible, would it have effects on performance or rendering the content on the wiki pages? | How about having a single template with all items in the game indexed in it (name/image/id) with a switch statement to return given item upon entering its in-game name in the template's parameter? Is that feasible, would it have effects on performance or rendering the content on the wiki pages? | ||
[[User:Nextej|Nextej]] ([[User talk:Nextej|talk]]) 19:20, 20 February 2025 (UTC) | [[User:Nextej|Nextej]] ([[User talk:Nextej|talk]]) 19:20, 20 February 2025 (UTC) | ||
: Yeah, that sounds way better than a million individual templates, as individual templates turned out to be way too much of a hassle.[[User:ABC-DEFG|ABC-DEFG]] ([[User talk:ABC-DEFG|talk]]) 14:08, 22 February 2025 (UTC) |
Revision as of 14:08, 22 February 2025
Tb item templates
How about having a single template with all items in the game indexed in it (name/image/id) with a switch statement to return given item upon entering its in-game name in the template's parameter? Is that feasible, would it have effects on performance or rendering the content on the wiki pages?