Template talk:Dyed Variations

From Drunkapedia
Revision as of 16:53, 9 March 2009 by imported>Tlosk (New page: That looks great, I like the idea of just using the name. There's a parser function that doesn't work right now that would allow us to elegantly display any images that are available and d...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

That looks great, I like the idea of just using the name. There's a parser function that doesn't work right now that would allow us to elegantly display any images that are available and display defaults for any that aren't (instead of the red link text). But it won't be working until after the site upgrade in a few days. Also I was thinking that going forward it might be better if we used nonarbitrary names, for example "Dapper Suit Lapyan" etc., that would keep all the modifiers to unambiguous single words (Dapper Suit Failed being the one exception). I could use a script to update any existing images (also once the upgrade has gone up and some new file handling capabilities are available). Then we could just put {{Dyed Variations|Name}} in the template for any items that are dyeable and it would automatically display any images as we add them. Oh and you can leave the template itself uncategorized and just add a link on the Wiki Templates page, they pass on categories where they're used since unlike page templates where the code is copied, the page itself is transcluded. --Tlosk 16:53, 9 March 2009 (CDT)