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!

Sweet Gift Box

Sweet Gift Box

Hey there! I noticed you did a cool thing on the Cookie Island event page, where you managed to collapse the entire reward list by using {{:Sweet Gift Box}}. How does that work, exactly? I wanted to do something similar with the sugar coin box, but since I could figure out how to import the reward list I made a redirect from the sweet coin box page to the cookie island page instead.

Hubertus (talk)21:21, 20 September 2016

I - typically just kinda copy what I see xD;

Um, ok, so, on the Sugar Coin Box page, anything you want to have appear on the Cookie Island page you have to put between <onlyinclude> </onlyinclude> So on the Sweet Gift Box page, I basically put the rewards list between the onlyinclude code. So if someone edits the reward list on the Event page, it really actually edits the reward list on the original item page. Hope that makes sense. Uh - yeah, be amazed at how technical I am xD;;;

Elide (talk)09:18, 21 September 2016

Oh, I think I see it now! The {{:Sweet Gift Box}} includes all the data from the Sweet Gift Box page, with the colon bypassing the usual Template: that seems to be the default by leaving the space before the colon blank. Then, since you used <onlyinclude> </onlyinclude>, only that section will be included (I always wondered why the devil we used onlyinclude and noinclude)! That's quite clever, thanks!

Hubertus (talk)11:19, 21 September 2016