Template talk:Div

From PinataIsland.info, the Viva Piñata wiki
Revision as of 00:30, 24 August 2008 by Xenocidic (talk | contribs) (copy related discussion)
Jump to: navigation, search

divcodes

Can you look at User:Xenocidic#Div codes for tabs/formatting and tell me if I'm missing anything? Is there a jff article div code? –xenocidic (talk) 13:25, 22 August 2008 (UTC) Never mind - I'll pull the necessary codes from MediaWiki:Common.css
Sure, I can glance at it in a bit, but I need to get back to the plants stuff and make some more progress first. Those articles need to get done by today, so most of my attention needs to be there. --FeralKitty (talk) 13:53, 22 August 2008 (UTC)
Ok. I've re-purposed div, by the way. It should be more useful and less resource intensive - instead of a switch it just accepts the class name and puts it in. defaults to a TIP article so you can just use subst:div to create the tab for a TIP article. As it is now, it will only create tabs though, perhaps it should be renamed to "tab". –xenocidic (talk) 14:03, 22 August 2008 (UTC)
Ok, but I don't really understand why we need it. We don't tend to create a lot of articles, and I know the ones I create I just copy-and-paste from a similar article, or the "blank" species and plant templates. It may be a neat thing, but it seems like a lot of effort working on it, for little reward. Got to get back to the plants. --FeralKitty (talk) 14:13, 22 August 2008 (UTC)
True enough. I mainly plan to use it to convert articles that already exist that need tabs. –xenocidic (talk) 14:47, 22 August 2008 (UTC)

div & divclear

OK, the new and improved {{div}} & {{divclear}} (divclear was {{clear}}</div></div>) should help people create tabs on the fly a lot easier and are inline with the css names. divclear will clear all text and close a tab. I suppose it can be subst'ed, do you think it will be heavy on the processor if we leave it transcluded? how about the new div, which passes the paramaters directly rather than through a switch? –xenocidic (talk) 01:04, 23 August 2008 (UTC)