Template talk:Unit infobox

Permanent Duration
duration = Permanent is not working. Elite stay (talk) 14:44, 5 January 2016 (UTC)


 * It is. You have to leave it out. It defaults to permanent. Since this template is for summoned units, a duration must be given. If not given, it choses permanent automatically.  Bu3ny  (talk) 14:48, 5 January 2016 (UTC)


 * For the record, permanet duration is now achieved by a 0 duration. Molldust (talk) 09:47, 29 February 2016 (UTC)

Structure parameter
Regarding the structure parameter, I should explain how it is supposed to work. We're not quite there yet. Suggestions welcome.

There's the need of 5 states:
 * main (English main game)
 * main trans (Non-English main game, aka wrapper)
 * custom (English custom game)
 * custom trans (Non-English custom game)
 * hidden

main vs. custom:

If you make a data pull with SMW, you need to able to distinguish whether the unit is from the main game or not. Or we introduce another optional  parameter that specifies the custom game. Would default to main then.

english vs. trans (aka wrapper):

It can't use the hidden value, because it needs to be sorted into categories and the title property needs to be taken into SMW. The remaining properties like stats need to be left out.

hidden:

Won't show up anywhere except on this specific page. No translations, just duplicates. Cannot be wrapped.

Molldust (talk) 09:47, 29 February 2016 (UTC)


 * What I concern about is how to make non-en's DISPLAYTITLE correctly in the camp page or hero page. For example, Undying/zh-hans should display his hero name -- "不朽尸王", but not. How to figure out that? --Elite stay (talk) 09:57, 29 February 2016 (UTC)


 * Haha, funny. Take a look at Special:Browse/Undying/zh-hans to see what went wrong. Unit infoboxes on non-unit pages have to be marked.


 * My suggestion for Template:Ability, Template:Item infobox, Template:Hero infobox and Template:Unit infobox would be to establish a homogeneous convention how wrappers are called and how the infoboxes are supposed to use SMW. Summoning User:Bu3ny and User:Lemoncream for opinions on the the parameter and value naming. Molldust (talk) 17:29, 29 February 2016 (UTC)