User talk:ABC-DEFG: Difference between revisions

From Stalburg Wiki
Jump to navigation Jump to search
mNo edit summary
m (Reply)
 
Line 4: Line 4:
[[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. [[User:ABC-DEFG|ABC-DEFG]] ([[User talk:ABC-DEFG|talk]]) 14:08, 22 February 2025 (UTC)
: Yeah, that sounds way better than a million individual templates. [[User:ABC-DEFG|ABC-DEFG]] ([[User talk:ABC-DEFG|talk]]) 14:08, 22 February 2025 (UTC)
: Okay, I just got all the food items loaded into {{tlx|tb}}. Materials are next. [[User:ABC-DEFG|ABC-DEFG]] ([[User talk:ABC-DEFG|talk]]) 18:07, 1 March 2025 (UTC)

Latest revision as of 18:07, 1 March 2025

Tb item templates[edit source]

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?

Nextej (talk) 19:20, 20 February 2025 (UTC)

Yeah, that sounds way better than a million individual templates. ABC-DEFG (talk) 14:08, 22 February 2025 (UTC)
Okay, I just got all the food items loaded into {{tb}}. Materials are next. ABC-DEFG (talk) 18:07, 1 March 2025 (UTC)