The Sims Wiki talk:Development Portal: Difference between revisions

imported>A morris
(→‎Object buy types: new section)
imported>A morris
Line 139:
 
I have edited all object articles that had "yes" as a buy type and changed it to "buy mode", "community lot", etc., as I felt that "yes" was not specific enough and removed it from {{t|GetObjectCats}}. --[[User:A_morris|a_morris]] <small>([[User_talk:A_morris|talk]])</small> 18:54, October 30, 2010 (UTC)
 
== Conditional categories in templates ==
 
When making a new edit the editor is moving all categories to the bottom of the article. This is a problem in templates like {{t|GetTraitCat}} because the categories are conditional and it removes them from the if or switch statements. I'm going to contact wikia about it. In the meantime I don't think we can make any edits to them without messing them up. The only way around it that I can see is to create a template for each category and call it in the if/switch statement. --[[User:A_morris|a_morris]] <small>([[User_talk:A_morris|talk]])</small> 19:32, October 31, 2010 (UTC)
Anonymous user