Template talk:Hero: Difference between revisions

From Heroes 3 wiki
Jump to navigation Jump to search
(Created page with "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 ho...")
 
No edit summary
Line 1: Line 1:
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. [[User:Ibraesil|Ibraesil]] ([[User talk:Ibraesil|talk]]) 00:42, 13 February 2016 (CET)
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. [[User:Ibraesil|Ibraesil]] ([[User talk: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. –[[User:Kapteeni Ruoska|Kapteeni Ruoska]] ([[User talk:Kapteeni Ruoska|talk]]) 08:03, 15 February 2016 (CET)

Revision as of 07:03, 15 February 2016

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)