Talk:Store template
Can we work on getting this set up as Template:Store, then we can use templates like Wikipedia does rather than cut/paste?
I'm not sure how that works, but it sounds like a good idea! How do we do that?
Well essentially we'd create the template and once that's done, we could reuse it over and over again. I've been looking at pages like http://en.wikipedia.org/wiki/Help:Template to try and figure out how it's set up, but I haven't been able to make it look the same. I don't know if it's a configuration thing (I hope not) or just I'm just not doing it right, but I'm going to keep playing with it in the meantime, unless someone comes along and shows us the light :)
Update: I've created Template:Infobox_Store, which is only currently in a pre-beta form (don't use it yet). However, I can't get conditions to work (so I can hide optional values etc). There's an extension called ParserFunctions http://meta.wikimedia.org/wiki/ParserFunctions, do we have this installed and if not, can we get it installed?
Update2: It looks like ParserFunctions is there (thank you), but it appears the #if tag isn't installed (which would be useful for having optional attributes in a template, see http://en.wikipedia.org/w/index.php?title=Template:Infobox_Person&action=edit as an example). Any chance we can get #if and the equivalent logic operators installed as well?
Sure! I'm sure we can do that. But I have no idea how you install that. Got a link?
It's weird, it's almost like it should already be there already. According to this http://meta.wikimedia.org/wiki/ParserFunctions#Installation there are five files needed (although ParserFunctions.php must already be there somehow). Perhaps double check the installation notes there and see if there are any files missing in the extensions directory and that the correct configuration is in LocalSettings.php on the server? The only other thing I can think of is to check out http://www.mediawiki.org/wiki/Category:Extensions and see if there's any extra troubleshooting advice? Thanks for looking into this!