Template talk:Hero

From Heroes 3 wiki
Jump to navigation Jump to search

Is there some way to make the "starting spell" thing optional or something (I assume there is, because there can be people with only one starting skill, but I wouldn't know how to do it)? Because most might heroes don't have a starting spell at all, so "starting spell" isn't applicable to them. Ibraesil (talk) 00:42, 13 February 2016 (CET)

As I undestand it is not possible to make it optional. Optional second secondary skill has been made with additional 'oneskill' parameter, which has to defined as empty in the article in order for it to work. In other words, you would have to add e.g. "nospell" parameter to each article, which is basically the same amount of editing as adding the right spell parameter. This version of media wiki would support if-parameters which could help to make optional templates, but I believe it would need add-on installation to the server, which we cannot do. –Kapteeni Ruoska (talk) 08:03, 15 February 2016 (CET)
Update. Now if nospell is defined, there is no gibbrish code in the text box. –Kapteeni Ruoska (talk) 08:18, 15 February 2016 (CET)

Starting troops (HotA)[edit]

Starting troops' 3/4 and 1/4 chances are incorrect for HotA. Is it possible to just make these lines editable without creating a new template? --ShushMaster (talk) 17:18, 13 May 2018 (CEST)

  • Just bringing the question up. --ShushMaster (talk) 00:30, 14 May 2018 (CEST)
    • I added the variables chance_1, chance_2, and chance_3. ―imahero 02:48, 14 May 2018 (CEST)