User talk:Wrldwzrd89
From TheKolWiki
GroupMonster?
You mentioned on Discussion that the GroupMonster template seems to be a bit broken. What's not working for you? --Southwest 03:13, 27 June 2011 (CEST)
- I've fixed it. The issues were
- A line break after </includeonly> and before <noinclude> will result in that linebreak always being included. By default, the contents of a template (or any other page, really) will always be included. The includeonly and noinclude tags modify this; anything not contained within them will always be included no matter what.
- It was categorizing into the GroupMonsters template because your example invokes the template itself, which categorized any page calling it into the category. You have to add extra code that can prevent this. My current favorite is an "autocat" parameter which defaults to yes, but you can set to no to prevent categorization.
- If you wanted to let actual numbers be used and the current code doesn't seem to like it, then you should name the parameter ({{{num}}}, for example). However, spelling out the word is preferable, I think. It is more readable and natural that way.
- Incidentally, saucegeyser can hit up to 4 monsters, but some monsters are groups of 5 or more. There is a special message when the group has exactly 4 versus more than 4. I forget exactly which monsters have this property, as it is actually information passed on to me by a clanmate. --Flargen 10:19, 28 June 2011 (CEST)
Probably the beatles count as a group of size 4. --Starwed 14:06, 28 June 2011 (CEST)
safe moxie
- i'm confused as to the necessity of your "safe moxie" parameter. isn't it just monster attack +9 (or 11, i forget)? beyond always hit/fumble, couldn't it be derived? --Evilkolbot (talk) 17:00, 24 March 2013 (UTC)
- It's monster attack +10. Problem is, for scaling foes derivation is impossible - the Safe Moxie for them is infinity. Also problematic are monsters that always hit you, despite having a known attack value - for these Safe Moxie is also infinity. It is due to these two cases (and a few other oddballs) that you can't just derive it for all monsters. True, for MOST monsters it is derivable. --Wrldwzrd89 (talk) 17:03, 24 March 2013 (UTC)
- Couldn't you just assume it's attack+10, and then give it an optional parameter if they scale or always hit or something? — Cool12309 (talk) 17:06, 24 March 2013 (UTC)
- I suppose you could do that. You could also use a value of infinity for the cases where it doesn't apply. I'm not good enough with MediaWiki templates to create something like that, though I wish I could. --Wrldwzrd89 (talk) 17:08, 24 March 2013 (UTC)
- It'd be the simplest way, and doesn't spam. Although, you have done most of them already. How about we just leave it, and we can talk to an admin about this. — Cool12309 (talk) 17:09, 24 March 2013 (UTC)
- Alright then, that is fine with me. I'll stop for now. --Wrldwzrd89 (talk) 17:13, 24 March 2013 (UTC)
- i'm all for consistency, and if you've aready done almost all of them then don't let me stop you finishing the job, please. my original question was not intended as criticism, merely to understand what you thought your edits were adding to the wiki.
- even for scaling monsters safe moxie is attack + 10, no? which is efectively infinuit given attack is moxie-based. are there cases where scaling monsters are also always-hit, or is this a useless question given that the two are indistinguishable? --Evilkolbot (talk) 13:30, 25 March 2013 (UTC)
- Alright then, that is fine with me. I'll stop for now. --Wrldwzrd89 (talk) 17:13, 24 March 2013 (UTC)
- It'd be the simplest way, and doesn't spam. Although, you have done most of them already. How about we just leave it, and we can talk to an admin about this. — Cool12309 (talk) 17:09, 24 March 2013 (UTC)
- I suppose you could do that. You could also use a value of infinity for the cases where it doesn't apply. I'm not good enough with MediaWiki templates to create something like that, though I wish I could. --Wrldwzrd89 (talk) 17:08, 24 March 2013 (UTC)
- Couldn't you just assume it's attack+10, and then give it an optional parameter if they scale or always hit or something? — Cool12309 (talk) 17:06, 24 March 2013 (UTC)
- It's monster attack +10. Problem is, for scaling foes derivation is impossible - the Safe Moxie for them is infinity. Also problematic are monsters that always hit you, despite having a known attack value - for these Safe Moxie is also infinity. It is due to these two cases (and a few other oddballs) that you can't just derive it for all monsters. True, for MOST monsters it is derivable. --Wrldwzrd89 (talk) 17:03, 24 March 2013 (UTC)