Template talk:Relationships

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Template talk:Relationships

This is a page for discussing improvements to Template:Relationships

Talk pages are used to discuss changes or improvements to the article or page only. Please use the game discussions forum for game discussions, help desk for game questions, or the off-topic forum for general conversations. Real-time conversation about The Sims (as well as off-topic discussions) can also be found on The Sims Wiki's IRC Channel or Discord server.

Problems with Family Column[edit source]

I have been trying to get it so that the family column will take from the GetRelationshipImage Template, which I got to work fine. The problem is that I can't seem to get a catch for a generic family member image if there isn't one in that template while still leaving the space blank if there was nothing entered for that field. Any suggestions? Icemandeaf (talk) 16:24, March 13, 2014 (UTC)

I guess I don't understand what you're hoping to do. Are you looking for some sort of image to display if two Sims are related but their relationship doesn't have it's own image? -- LostInRiverview talk ~ blog 16:36, March 13, 2014 (UTC)
No, I already have that. If you look at the example that I have, you will notice that I have Sim 3 as being the father with the correct image and all in the family column. However, if you look at the first row for Sim, there is also an image in the family column when there shouldn't be. The alt tag comes up as saying {{{Family}}}. I can't seem to figure out how to make it so that Sim will have nothing in that column, while Sim 3 will have what it has there now. Icemandeaf (talk) 17:03, March 13, 2014 (UTC)
Does it look better now? -- LostInRiverview talk ~ blog 17:10, March 13, 2014 (UTC)
Thanks. I thought I tried that, but I guess I was too tired to notice that I didn't test it like I thought. (Note to self: no more coding at 1 in the morning.) Icemandeaf (talk) 17:13, March 13, 2014 (UTC)
I have a suggestion - change your parameter names from uppercase to lowercase. Most other templates on this wiki have lowercase parameters so it threw me off when yours didn't. -- LostInRiverview talk ~ blog 17:16, March 13, 2014 (UTC)
I second that. Nikel Talk Vote! 16:43, March 21, 2014 (UTC)
Done. Sorry it took so long, I just now saw these comments. Icemandeaf (talk) 00:35, April 12, 2014 (UTC)