User talk:DeSims

This is an old revision of this page, as edited by imported>Nikel23 at 14:07, 17 April 2014. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archives
Archives
----

1

RE: Pet template

Oh, I understand. The {{Pet}} template we have here is actually rather messy, and I'm inclined not to change it unless I really mean to design it. However, maybe I can help you out with your Pet template.

What you need is an implementation of a categorizing template. The template is something like this {{GetFavoritesCat}}. You can see more categorizing templates here. You can replace the chunk of codes for the species category in your Pet template. That chunk of codes causes the template to appear broken when it's used on a page, so I disabled it at the moment. It means the categories will be missing for now, so we might want to resolve it fast.

I can make the categorizing template for you if you want to. Just give me the list of all species and genders and all the category outcomes here. But if you want to do it yourself, I'll assist you, so don't worry. :) You may want the template to be something like {{GetSpeciesCat|<species>|<gender>}}, which takes two parameters. Nikel Talk Vote! 17:05, April 11, 2014 (UTC)

I think the GetSpeciesCat is all right already, but I added horse in. Now for the age category. Does it work like English? In English, there are kittens, puppies, foals, adult (species), and elder (species). If in Dutch we also use volwasse (species) and oudere (species), we could make an inline categorization without the need of categorizing template. Nikel Talk Vote! 03:42, April 12, 2014 (UTC)
I changed my mind. I couldn't make the code inline, so I made nl:Sjabloon:GetPetAgeCat instead. There's something I don't understand though. You said "adult" is "volwasse", but I saw Hecuba Goth's age as "volwassene". Basically, it's all done, and you only need to tweak the GetPetAgeCat template a little to correct the parameters and categories. Nikel Talk Vote! 13:31, April 12, 2014 (UTC)