Mabinogi World Wiki is brought to you by Coty C., 808idiotz, our other patrons, and contributors like you!!
Want to make the wiki better? Contribute towards getting larger projects done on our Patreon!

Template talk:Skills

From Mabinogi World Wiki

Contents

Thread titleRepliesLast modified
{{ifempty|{{{AP|-}}}|-}}317:52, 22 October 2012

{{ifempty|{{{AP|-}}}|-}}

{{ifempty|{{{AP|-}}}|-}}Why even have the ifempty tag? Why not condense it to just {{{AP|-}}}?

Pyro - (Talk)03:52, 22 October 2012

Because if you leave AP blank, but still have the parameter, it will show a blank rather than a dash. It's the same as {{#if:{{{AP|}}}|{{{AP}}}|-}}.

 

Ah, thanks for clearing that up. I'll probably be using this in the future then.

Pyro - (Talk)16:37, 22 October 2012
 

I should probably also mention that ifempty allows you to input up to 9 arguments before using the escape value.

So if I wanted to check for both AP and ap (caps and lower), I could use

{{ifempty|{{{AP|}}}|{{{ap|}}}|-}}