Board Thread:Support Requests - Getting Technical/@comment-1504358-20190918152857

I'm currently porting an infobox, and improve it somehow.

This infobox presents the location of an NPC, optionally with "multiple levels": the user can supply (among other things) an AREA, a TOWN and a DUNGEON. If the TOWN or the DUNGEON is there, it's specific enough that I don't need to present the AREA, even if it's supplied, I only present the TOWN or the DUNGEON.

I guess I could have done it quite easily in with the 'classic' infoboxes with template functions:

But I'm kind of lost now with the portable infoboxes.


 * In the template linked above, the paramters REGION and FIELD should act like the AREA in this example

Specifically, I'm testing with these two pages which use the template:


 * Assassin Ramil should display these fields:
 * Area
 * Region
 * Field


 * Weapon Trader Soren should display these fields:
 * Town

I would like the user supply the additional-but-not-displayed information so that I could still put the NPC in an appropriate category: all the NPCs that are in Katan will also appear in Katan Fields category page (using something like ).

Is there a way I could achieve this that does not involve JavaScript?

Thanks! 