Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Keep this wiki going by contributing to our Patreon!
Stun
Instead of having to redefine "Stun" value every time you create a template, you can use the switch parserfunction in order to do it automatically, since, according to Stun page, stun times remain static.
Example:
{{#switch: {{Hit}} {{Speed}} |3 Slow=1.6 |2 Slow=2.3 |2 Very Slow=2.7 |3 Very Slow=1.65 |3 Normal=1.6 |3 Fast=1.4 }}
Alright I'll do that. I didn't know how to put conditional statements in CSS/XHTML.
I also wanted to put a condition for Ego and SpecialUpgrade so that it'd show up in the "other information" box just by defining the parameter.
Such as
{{#if: {{{Egoable|}}}|Egoable weapon}} {{#if: {{{SpecialUpgrade|}}}|Special upgrade enabled, or whatever.}}
Add a line to the end with no conditions.
{{#switch: {{Hit}} {{Speed}} |3 Slow=1.6 |This text shows up if nothing is matched }}
I don't like it. It doesn't fit the simplicity of the weaponbox that I am aiming for. Simplicity > "coolness"
Though the function works correctly in chrome, the method of vertical text you're using doesn't seem to be supported. Besides, why use a slidebox when you've already got hiddentext? Seems a tiny bit redundant...
It's not ready yet lawl :P
Also, I'm doing this method since the splash section is rather small, and putting a giant hiddentext thing at the bottom seems to use too much space for comfort. In the weapon template, I'm planning for it to default to a closed state, because I doubt that that information is actually used much ~小太郎 TALKCONTRIBS 2011:01:27:03:13 (Thursday)
Do you need to modify one of the commons files or something? You can just edit this template if you want.