Dotta's Mediawiki Tips
Templates
- Read the documentation on templates: Help:Templates
CSS For Templates
Look at how elegant this
Image<pre> template is on Mediawiki [https://www.mediawiki.org/w/index.php?title=Template:Image&action=edit Template:Image on Mediawiki]. They also load custom CSS just for this template, which is handy. === Dynamic Gallery === If you want to have a dynamic gallery, you can't use the typical <pre>gallery
tag, you have to do it like this:
{{#tag:gallery| {{Test/Dotta/GalleryItem}} |mode=packed-hover|caption=foo| }}
More generically, this is the syntax for using tags with the parser functions src