From The Mana World
m (Added a note about filenaming conventions)
(Conditional markup should work now)
Line 4: Line 4:


Do you know who I should talk to about support for the conditional markup in the Mana World wiki? [[User:Jacobian|Jacobian]] 05:33, 5 November 2011 (CET)
Do you know who I should talk to about support for the conditional markup in the Mana World wiki? [[User:Jacobian|Jacobian]] 05:33, 5 November 2011 (CET)
:I've installed the [https://secure.wikimedia.org/wikipedia/mediawiki/wiki/Extension:ParserFunctions ParserFunctions] extension, which should make these constructs work. --[[User:Bjorn|Bjørn]] 12:07, 5 November 2011 (CET)


----
----

Revision as of 11:07, 5 November 2011

Hey Ali, we don't appear to have support for conditional markup in the Mana World wiki. Here's an example: present In Wikipedia, this evaluates to "present", but in the Mana World wiki, it is not evaluated.

We'll need support for conditional statements in order to keep the Item template simple: When we add the dyeable items, and the healing items, and the equipable items, and so on, the Item template will become increasingly complex and difficult to read--or we'll have to start creating new templates--unless we can use conditional markup to present only the useful information. This would be by far the simplest and cleanest approach from a coding point of view, but conditional markup doesn't appear to be enabled on the wiki...

Do you know who I should talk to about support for the conditional markup in the Mana World wiki? Jacobian 05:33, 5 November 2011 (CET)

I've installed the ParserFunctions extension, which should make these constructs work. --Bjørn 12:07, 5 November 2011 (CET)

Hey Ali, the images in the Mana World wiki are very different in size and the filenames don't necessarily match the page names. For example, the Yellow Slime image is 16x11 pixels, but the Lady Skeleton image is 52x65 pixels. That difference in size makes it hard to use the images in a consistent way: You can see what happens here. This wouldn't be a problem if we had a consistent set of images.

Also, the filenames don't necessarily match the page names for the monsters. The trouble is that many images have omitted the space, like this: YellowSlime.png. But the wiki converts spaces to underscores, like this: Yellow_Slime.png. We could use the images directly, without having to specify an image parameter, if we used underscores in the filenames. That way, the filenames and page names would agree! Jacobian 06:49, 5 November 2011 (CET)