Board Thread:News and Announcements/@comment-25565811-20161202193540

Hello everybody!

I started to work on the grid templates, which were implemented by User:SamwiseFilmore. I try to improve them a lot. Especially the usage and maintainance.

Frist, I implemented some utility templates as:
 * Template:Grid/Text, which is used, to display the number of outputs. I used Sams already existing template and included the positioning.
 * Template:Grid/Title, which is used, to display the grid's title, like "Dalish Crafting".
 * Template:Grid/Icon, which is used, to display all the icons on the grid. It adds default links and filenames automatically, if undefined.
 * Template:Grid/Test, which I use, to try stuff out, to avoid errors, while working on the templates.

Note: This is a work in progress! I am not yet done. I try avoid errors, as far as possible. The old calls should still work, as they did before. If you note something strange, please post on my message wall.

When I am done, all grids should work in exactly the same way:
 * They have a reasonable link in the background now (e.g. brewing for brewing recipes).
 * If you use only a in the recipe, this is used as well as the link (like before) and .png is used as filename (wheat in the example). But you can as well use the links and filenames, as it is now (chrysanthemum in the example). Example:
 * I try to change grids to floating pictures, so that they can be right or left aligned, with texts on the sides, like pictures.
 * I'll add a caption, like images.
 * I want to add some shortcuts, for easy use of animated gifs, like wood planks.

Already changed and expanded:


 * Template:Grid/Barrel: I added a shortcut if the recipe has all six slots occupied with the same item:, which sets all 6 slots to that item. It can be overwritten by the normal   etc. Background links and automatic icon links/images already work here.

 ᚠᚠᛖᛏᛋ (ContentMod)    