Forums › English Language Forums › General › Wiki Editors

Search

We need a way to dynamically link content on pages.

3 replies [Last post]
Sun, 04/26/2026 - 16:46
Calinou's picture
Calinou

This thought came to me, because I have noticed that most of the pages for color palettes are outdated, as the item lists on them are to be updated by hand.

This feels incredibly inefficient given that most new cosmetics come in a lot of existing colors plus sometimes new ones.
I think this would also be of great use for other things than color palettes, like dynamically adding new items to their parent category (like for common accessories in new color schemes, or say new armors in a recipe chain, etc...)

Mon, 05/04/2026 - 13:01
#1
Nitronicx
Recolor templates?

Dynamically link... maybe using categories? (such as for color patterns: https://wiki.spiralknights.com/Category:Cool-Themed)

Other than this, some item pages include a template with a list of recolors. You add a new entry only to the list in the template, and because the template is included on the item pages, the new entry gets added on all those pages at once. For example, check out:

  • AccessoryTable/Recolors template https://wiki.spiralknights.com/index.php?title=Template:AccessoryTable/R... and it's usage on page https://wiki.spiralknights.com/index.php?title=Bolted_Vee&action=edit
  • CostumeTable/Recolors template https://wiki.spiralknights.com/index.php?title=Template:CostumeTable/Rec... and it's usage on page https://wiki.spiralknights.com/index.php?title=Crescent_Helm_%28Costume%...

But this approach works only if all the items that use the template get releases in unison. Once there is an exception to the pattern, you need to add a switch so that the violating entry shows on some of the pages and doesn't show on others. A good example of those switches is in the CostumeTable/Recolors template linked above, and a good example of an exception the https://wiki.spiralknights.com/Ancient_Prize_Box which included only 6 of the 24 standard costumes. You can also look at the AccessoryTable/Recolors template which was abandoned once the pattern broke. The later boxes didn't contain all of the 19 common accessories again.

You can argue this flaw isn't that big of a deal. After all, the templates were useful for quite some time and saved editors ~20 edits (and captchas) per box release.

Now for the recent prize boxes. The only consistent part I see about them is releasing an item in 10 or so standard colors. I can make a template for this. You'd write info for 1 of the entries and the template would duplicate it into the 9 others. However, adding additional entries to a single list is very simple even by hand (copy, paste and rewrite 2 words) and I'm not sure if it's worth making the list less straightforward for it (you don't expect some of the colors to be missing in the wikitext because of some template magic).

Sun, 05/10/2026 - 20:57
#2
Calinou's picture
Calinou
Well, actually...

I have realized that categories exist, yes, and they do exactly what I wish for above, but...

Many entries ARE actually missing in many of the color categories, that is what brought me to write this in the first place.
I do know they use tags by now, but it appears many of said tags are missing, making pages like the Military color theme quite incomplete.

I'll check how the missing items I noticed are set up, as I've never really tried to edit such things before, and I will try to stay on the lookout and add these misses I notice when I have time, once I get the hang of it, but it may take some time.

Tue, 05/12/2026 - 16:07
#3
Clotho's picture
Clotho
Game Master
Thanks for the detailed

Thanks for the detailed breakdown, and to Nitronicx for the technical context on existing templates! This has been passed along to the team for consideration. ⚙️

Powered by Drupal, an open source content management system