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!

Live Template Preview

Live Template Preview

The page preview system is extremely handy, as we don't have to do trial and error publishing and flood the recent changes area. But what about template pages? They still preview as a wall of text. Wouldn't it be more convenient to be able to have a preview of said template?

Say you're working on a new monster template, but in order to test the template, you have either have to make a dummy sandbox page, or replace the existing one. Clearly both of these are somewhat flawed, as it's pretty easy to make one flop in a template then suddenly you have a wall of text instead of a nice chart for your monster.

So, when editing a template or table, the preview function should show what that template looks like in a page. That way, you can see if the table looks good and functions properly. Opinions?

Mrliberty9015:17, 7 November 2016

What sort of templates are you talking about? Actual templates (Equipment Item) or data templates (specific item data, e.g. Template:Data<Item Name>)?

Specific data templates. Such as Template:DataMonsterX

Mrliberty9013:01, 8 November 2016

Use the template inside the the data. E.g.

{{{{{1|StyleEquip}}}
|Name=...
}}

See Template:DataTropical_Beach_Sandals_(F) as example I just did.

Could you give me that code in data monster form?

Mrliberty9019:51, 8 November 2016

Just replace the "StyleEquip" with the template you wish you default it to. For monsters, "StyleMonster"

See http://wiki.mabinogiworld.com/index.php?title=Template:DataMonsterYoung_Brown_Fox&curid=70264&diff=666378&oldid=627205

 

So I was wondering why this added preview wasn't done on data pages before. For your Tropical Beach Sandals example, the Template doesn't show up under "Reforgable Equipment", even though on the Template:DataTropical_Beach_Sandals_(F) page it's listed as one of the Categories at the bottom of the page. This is a good thing, since you don't want certain Categories flooded with Templates, but I was just wondering if perhaps that was the reason that {{{{{1|StyleEquip}}} |Name=... }} was used only for previewing your work, and then changed back to {{{{{1}}} |Name=... }} in case it added the Template to some Categories.

So basically - does keeping the "StyleEquip" in the item's Template page have any negative side effects? Just if you happen to know - thank you ^^;

Elide (talk)09:43, 9 November 2016
For your Tropical Beach Sandals example, the Template doesn't show up under "Reforgable Equipment", even though on the Template:DataTropical_Beach_Sandals_(F) page it's listed as one of the Categories at the bottom of the page.

Actually, it does, under "DataTropical...". http://wiki.mabinogiworld.com/index.php?title=Category:Reforgable_Equipment&pagefrom=D

That being one of the reasons they weren't included from the beginning I guess.

As to other side effects, I don't know of any off the top of my head.

Oh - hey there... Well, good to know not to look under "T" for "Template" but instead under "D" for "Template:Data" - because Wiki /o/

But all right, yeah, wouldn't want to have Template:Datas clogging up the Categories xD;

Elide (talk)11:37, 10 November 2016