The Sims Wiki

Welcome to The Sims Wiki! Don't like the ads? Then create an account! Users with accounts will only see ads on the Main Page and have more options than anonymous users.

READ MORE

The Sims Wiki
The Sims Wiki
(→‎Expanded news page: new section)
No edit summary
(451 intermediate revisions by 30 users not shown)
Line 1: Line 1:
  +
{{Archive navigation|[[The Sims Wiki talk:Development Portal/Archive 1|1]] [[The Sims Wiki talk:Development Portal/Archive 2|2]] [[The Sims Wiki talk:Development Portal/Archive 3|3]] [[The Sims Wiki talk:Development Portal/Archive 4|4]]}}
This area is for minor notifications about the administration, maintenance and development of [[The Sims Wiki]]. It is primarily adressed to those who actively participate in these areas, but anyone is welcome. This page was created in an effort to have people communicate more about what they're up to, their current areas of interest and what's new regarding development of the wiki.
 
  +
{{Community-nav}}
   
The main place to discuss things about this wiki is still the [[The Sims Wiki talk:Community Portal|Community Portal talk page]]. This page is more for notifications, which might not neccesarily need a discussion, though feedback always nice.
+
{{info|Information|Here you can post updates on what you're working on or a notice to others concerned with the development of the wiki. For general discussion see the [[The Sims Wiki talk:Community Portal|Community Portal talk]] and for minor news see the [[The Sims Wiki:Development Portal|Development Portal main page]].}}
   
  +
== Giving TS4 Headshots Black Background ==
;What can I post here?
 
Examples of things to post here include:
 
*Minor templates you've made, which aren't big enough to warrent a blog post on the front page.
 
*Things you've noticed which might require an administrative hand at some point, but isn't urgent and doesn't conflict with any policies.
 
*A heads-up on common mistakes made while developing templates or other maintenance tasks.
 
   
  +
Is it an idea, that like the TS2 headshots and the TS3 headshots to give all TS4 headshots a black background as well? It might not be necessary, but it gives the wikia a consistent look doesn't it? I'd like to hear your thoughts [[User:DeSims|<b><span style="font-family:AR Bonnie"><span style="color:#00ac35"><span style="font-size:23px">D</span>e</span><span style="font-size:19px"><span style="color:#0075ac"><span style="font-size:23px">S</span><span style="font-size:19px">ims</span></span></span></span></b>]] [[User_talk:DeSims|<span style="font-family:Papyrus"><span style="color:#0075ac"><sup><small>(talk)</small></sup></span></span>]] 19:59, September 19, 2017 (UTC)
Please do not archive posts too quickly, people must have a chance to see them and reply. Once something IS archived they can open up the discussion again of course, if it's really needed, by linking to the original discussion.
 
   
  +
==Updating {{t|Pagecover}}==
==The Development Portal==
 
  +
{{Asterisk}}''Blows dust off the Development Portal Talk Page''{{Asterisk}}
The discussion for the place itself should go here. This is the result of a conversation between Duskey & a morris: [[User talk:a morris#Question about namespaces]], a few posts down.
 
   
  +
So, I have no idea where else I would start a discussion related to this. Here goes!
==Timer / Countdown template==
 
I took the told {{t|timer}} template and stripped it down to just the countdown and made a {{t|countdown}} template. Now you can use it in-line or create your own box to put it in. 'Countdown' is currently placed in the [[:Category:Test templates|Test templates]] category since I'm not sure about any kinks yet. [[User:LostInRiverview|LostInRiverview]] has made an effort to find out which time zone abbreviations it can handle on his talk page (archived and moved to [[Template talk:Countdown]]). '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 13:35, July 19, 2010 (UTC)
 
   
  +
As I've been working on the [[Forum:New infobox design|new infobox conversion]], I've started to wonder whether some of our other wiki templates may benefit from a re-working of their existing code. To that end, I took a copy of [[Template:Pagecover]] over to [[w:c:lir-test|my test wiki]] and redesigned it so that the base code for the template is located in MediaWiki:Wikia.css, instead of within the template itself (through in-line css). After a couple hours' worth of work, I think I've got the template fully converted. As far as I can tell, it functions exactly the same as the present Pagecover, save for two deliberate and minor changes. However, I can't be ''totally sure'' that the template does work in 100% of cases, and as {{t|Pagecover}} is used on (by my estimate) about 500 pages on the wiki, I wanted to see if anyone else (''*cough*[[User:Nikel23|Nikel23]]*cough*'') could take a look at the template and css code and see if they could spot any deficiencies or bugs.
:As far as I can gather, only timezone abbreviations used in the main United States (or adjacent areas of North America), as well as UTC, apply. These zones are Pacific Standard/Daylight Time (PST/PDT), Mountain Standard/Daylight Time (MST/MDT), Central Standard/Daylight Time (CST/CDT), Eastern Standard/Daylight Time (EST/EDT), and Coordinated Universal Time (UTC). The difference between Standard time and Daylight time depends on the time of year, and whether a certain locality practices Daylight Saving/Summer Time. For this, and a couple other reasons, I would advocate that the countdown clock be used with (UTC) in most, if not all, circumstances. -- [[User:LostInRiverview|Patrick (LostInRiverview)]]<small> ([[User_talk:LostInRiverview|talk]])([[User_blog:LostInRiverview|blog]])([[Special:Random|random page]])</small> 15:53, July 19, 2010 (UTC)
 
   
  +
Like I said, I'm pretty sure that the template is fully converted, so the css code for the template's functionality has been added to The Sims Wiki's [[MediaWiki:Wikia.css]] page (but not yet added to "[[MediaWiki:Common.css]]"). I have also put the new template code at [[Template:Pagecover/test]] for further experimentation and tweaks. Any assistance that anyone could lend would be appreciated!
I'm thinking we can use this for countdowns to release dates or other large events. Maybe even for when a block expires on blocked user pages, but I think it would require changing the javascript since I bet many people will disregard the 'T plus' after it has expired and still see a countdown. Although we could just instruct them to remove it themselves when they can, sort of like warnings. '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 13:35, July 19, 2010 (UTC)
 
   
  +
P.S. the two aforementioned "minor changes" from "old" Pagecover to "new" Pagecover are:
==Country userboxes==
 
  +
* There is no "''noname''" parameter in the "new" design - in the "old" design, this parameter would stop the header and text from displaying on top of the image, allowing a user to use Pagecover as a sort of "large image frame." (see [[User blog:LostInRiverview/Apartments in The Sims 4: City Living|this blog post of mine]] for a real-world example of this feature in action) In the "new" design, the "''name''" parameter is no longer mandatory and, if left blank, the header and all text will be kept invisible, even if other text parameters are filled in. This change should not affect the appearance of the template in instances where "''noname''" is invoked, since it will be a blank parameter with no built-in functionality; additionally, in those cases, "''name''" already would've been left blank, so the overall effect will be the same either way.
Some wikians have started making [[The Sims Wiki:Userboxes/Country|Country userboxes]]. I'm not quite ready to 'release them into the wild' yet. Many of them needs a hand from someone who knows about clashing colors. They also need to sort users properly in the 'Users/Ireland' category by adding '<nowiki>|{{PAGENAME}}</nowiki>'. We also need to create abit more of them I think, so less experienced wikians won't have to face the daunting task of making their own. It's a shame we can't see where most of our visitors are from. When they're abit more ready we can create a blog post about them, announcing them on the front page. '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 13:35, July 19, 2010 (UTC)
 
  +
* There is no "''toc''" parameter in the new design. Anecdotally it seems that the table of contents feature in "old" pagecover is very rarely used, so it seems pointless to include it in the new design.
   
  +
Thanks -- '''[[User:LostInRiverview|<span style="color:navy;">LostInRiverview</span>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] · [[User_blog:LostInRiverview|<font color="green">blog</font>]] · [[Special:Contributions/LostInRiverview|<font color="green">contribs</font>]]</sup>''' 08:09, February 11, 2018 (UTC)
==Userbox sorting==
 
At the moment, all userboxes sort users under U for User. This can be fixed by putting '<nowiki>|{{PAGENAME}}</nowiki>' in the template as I've done with {{t|Fan kaylynnts2}}. It won't register until users save their pages again I think. Now you know for future userboxes. '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 13:35, July 19, 2010 (UTC)
 
   
  +
== Families from... ==
==Unused files==
 
The [[Special:UnusedFiles]] has been empty for a long time, since [[:Category:Copyright tags|Copyright tags]] had a link to the file itself. Following a dicussion in the [[The Sims Wiki talk:Project Message template standardization#Removal of 'this file' links in copyright tags|Message template standardization project]] I've deleted the 'self-link' and the 'unused files' page is now booming. I don't know how many there are, but the 'list 500' is available, so that should be fun. If you decide to do a few of them, don't just delete them. Check to see if we can use them on a page. '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 13:35, July 19, 2010 (UTC)
 
   
  +
I personally think that the Families from categories (ie [[:Category:Families from The Sims 4 (base game)|this category]]) should be renamed into "Households from <nowiki><game> <pack></nowiki>". Since there are households that aren't blood related, such as the [[Roomies household (Sunset Valley)|Roomies household]] and the [[BFF household]]. Other categories including families should also be replaced. Also, they're just officially known as households vs. families. Maybe separate categories could work too.
==TOCleft template==
 
I created {{t|tocleft}} for testing. You can see an example on my [[User talk:Duskey|talk page]]. I think it works quite good on user talk pages. It's copied from {{t|Tocright}} though I'm not sure it needs all the code. Maybe someone knowledgeable can fill me in? '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 13:35, July 19, 2010 (UTC)
 
   
  +
Sorry if this is in the wrong place btw, I'm not really familiar with this wiki. --<span style="color: purple; font-weight:bold; font-family:Tahoma;">[[User:EarthlingnAkumi|<span style="color: purple; font-weight:bold;">'''akumi'''</span>]] [[User talk:EarthlingnAkumi|<span style="color: purple; font-weight:bold;">(talk)</span>]]</span> 16:26, June 8, 2019 (UTC)
[[Category:Site maintenance| ]]
 
   
  +
:That's not a bad suggestion. Unfortunately, it's not simply as easy as renaming a few pages. Categories, unlike articles and templates, cannot be renamed once they are created. In order to do as you've suggested, we'd have to create brand new category pages and then delete the old ones. Even then, this still is not an insurmountable obstacle. What ''would'' be difficult, however, would be the second part of your suggestion; splitting categories. Right now, the template {{t|Infobox family}} auto-categorizes family/household pages, but there is no mechanism built into the template as of now to differentiate between a family and a household. It is possible to create such a thing, but I'd wonder whether the end result is worth the effort. -- '''[[User:LostInRiverview|<span style="color:navy;">LostInRiverview</span>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] · [[User_blog:LostInRiverview|<font color="green">blog</font>]] · [[Special:Contributions/LostInRiverview|<font color="green">contribs</font>]]</sup>''' 16:31, June 8, 2019 (UTC)
== Expanded news page ==
 
   
  +
::Hmm, that's fair. --<span style="color: purple; font-weight:bold; font-family:Tahoma;">[[User:EarthlingnAkumi|<span style="color: purple; font-weight:bold;">'''akumi'''</span>]] [[User talk:EarthlingnAkumi|<span style="color: purple; font-weight:bold;">(talk)</span>]]</span> 18:49, June 8, 2019 (UTC)
I added [[The Sims Wiki:News]]. I also made three links to it from the main page. (more news) and 2x 'More...' at the bottom of the 5-point news listings. I chose the [[SimPrograms]] RSS feed as a 4th since since they seem to have regular updates on just about anything Sims. I'm open to discussion about other news sites or removing it all together if it feels too much like the wiki is sponsering a specific site. '''[[User:Duskey|Duskey]]'''<small>([[User_talk:Duskey|<span style="color:green;">talk</span>]])</small> 21:18, July 19, 2010 (UTC)
 
  +
  +
==TS4 neighborhood categorizing bug==
  +
For awhile now, we've had an issue where TS4 neighborhood pages (not ''world'' pages, but the pages about the neighborhoods within the worlds) were getting categorized into [[:Category:Neighborhoods in]], which is a glitch category. I am happy to say that, with a single exception, that is no longer a problem and all TS4 neighborhood pages should now be automatically categorizing properly.
  +
  +
The issue was in the way that {{t|Infobox neighborhood}} assigned categories. The infobox would take the input name of the neighborhood, and cross-check it against {{t|Checkgame}}; the purpose of that template is to simply say which base game a particular world/neighborhood belongs to. The problem is that Checkgame only included the TS4 worlds, but did not include the TS4 neighborhoods. When I thought about it a bit, I realized that having a template to check which game a neighborhood/world appears in is unnecessary. So I reworked Infobox Neighborhood so that it looks for the game parameter instead of the neighborhood's name, and then checks to see if the game is on the {{t|MGL}}. The MGL outputs a code for the base game, even if the name that is input is an expansion/game/stuff pack, and then I plug that output into {{t|Vgcode}} to spit out the full name of the base game. I did it this way because our current operating principle has been to categorize all neighborhoods/worlds within a given game together, even if some were introduced in expansions (for instance, we don't have a category [[:Category:Neighborhoods in The Sims 2: Seasons]], even though that expansion introduced [[Riverblossom Hills]]).
  +
  +
The end result of all these workings is that neighborhood pages for TS4 no longer need to be manually categorized into "Category:Neighborhoods from The Sims 4" or "Category:<world> neighborhoods"; the template will do both automatically. When I get a chance, I'll take a look at {{t|Infobox world}} as well and try to prevent similar problems on that front. My goal is to make it so that {{t|Checkgame}} isn't used on any templates and can be deleted.
  +
  +
I tested the changes out before I implemented them. While I cannot see any errors in what I've done at this point, if you encounter any problems with the change, please let me know so I can address it. -- '''[[User:LostInRiverview|<span style="color:navy;">LostInRiverview</span>]]<sup> [[User_talk:LostInRiverview|<font color="green">talk</font>]] · [[User_blog:LostInRiverview|<font color="green">blog</font>]] · [[Special:Contributions/LostInRiverview|<font color="green">contribs</font>]]</sup>''' 04:25, June 16, 2019 (UTC)

Revision as of 04:25, 16 June 2019

Archives
Archives

1 2 3 4

Info information icon
Information
Here you can post updates on what you're working on or a notice to others concerned with the development of the wiki. For general discussion see the Community Portal talk and for minor news see the Development Portal main page.

Giving TS4 Headshots Black Background

Is it an idea, that like the TS2 headshots and the TS3 headshots to give all TS4 headshots a black background as well? It might not be necessary, but it gives the wikia a consistent look doesn't it? I'd like to hear your thoughts DeSims (talk) 19:59, September 19, 2017 (UTC)

Updating {{Pagecover}}

*Blows dust off the Development Portal Talk Page*

So, I have no idea where else I would start a discussion related to this. Here goes!

As I've been working on the new infobox conversion, I've started to wonder whether some of our other wiki templates may benefit from a re-working of their existing code. To that end, I took a copy of Template:Pagecover over to my test wiki and redesigned it so that the base code for the template is located in MediaWiki:Wikia.css, instead of within the template itself (through in-line css). After a couple hours' worth of work, I think I've got the template fully converted. As far as I can tell, it functions exactly the same as the present Pagecover, save for two deliberate and minor changes. However, I can't be totally sure that the template does work in 100% of cases, and as {{Pagecover}} is used on (by my estimate) about 500 pages on the wiki, I wanted to see if anyone else (*cough*Nikel23*cough*) could take a look at the template and css code and see if they could spot any deficiencies or bugs.

Like I said, I'm pretty sure that the template is fully converted, so the css code for the template's functionality has been added to The Sims Wiki's MediaWiki:Wikia.css page (but not yet added to "MediaWiki:Common.css"). I have also put the new template code at Template:Pagecover/test for further experimentation and tweaks. Any assistance that anyone could lend would be appreciated!

P.S. the two aforementioned "minor changes" from "old" Pagecover to "new" Pagecover are:

  • There is no "noname" parameter in the "new" design - in the "old" design, this parameter would stop the header and text from displaying on top of the image, allowing a user to use Pagecover as a sort of "large image frame." (see this blog post of mine for a real-world example of this feature in action) In the "new" design, the "name" parameter is no longer mandatory and, if left blank, the header and all text will be kept invisible, even if other text parameters are filled in. This change should not affect the appearance of the template in instances where "noname" is invoked, since it will be a blank parameter with no built-in functionality; additionally, in those cases, "name" already would've been left blank, so the overall effect will be the same either way.
  • There is no "toc" parameter in the new design. Anecdotally it seems that the table of contents feature in "old" pagecover is very rarely used, so it seems pointless to include it in the new design.

Thanks -- LostInRiverview talk · blog · contribs 08:09, February 11, 2018 (UTC)

Families from...

I personally think that the Families from categories (ie this category) should be renamed into "Households from <game> <pack>". Since there are households that aren't blood related, such as the Roomies household and the BFF household. Other categories including families should also be replaced. Also, they're just officially known as households vs. families. Maybe separate categories could work too.

Sorry if this is in the wrong place btw, I'm not really familiar with this wiki. --akumi (talk) 16:26, June 8, 2019 (UTC)

That's not a bad suggestion. Unfortunately, it's not simply as easy as renaming a few pages. Categories, unlike articles and templates, cannot be renamed once they are created. In order to do as you've suggested, we'd have to create brand new category pages and then delete the old ones. Even then, this still is not an insurmountable obstacle. What would be difficult, however, would be the second part of your suggestion; splitting categories. Right now, the template {{Infobox family}} auto-categorizes family/household pages, but there is no mechanism built into the template as of now to differentiate between a family and a household. It is possible to create such a thing, but I'd wonder whether the end result is worth the effort. -- LostInRiverview talk · blog · contribs 16:31, June 8, 2019 (UTC)
Hmm, that's fair. --akumi (talk) 18:49, June 8, 2019 (UTC)

TS4 neighborhood categorizing bug

For awhile now, we've had an issue where TS4 neighborhood pages (not world pages, but the pages about the neighborhoods within the worlds) were getting categorized into Category:Neighborhoods in, which is a glitch category. I am happy to say that, with a single exception, that is no longer a problem and all TS4 neighborhood pages should now be automatically categorizing properly.

The issue was in the way that {{Infobox neighborhood}} assigned categories. The infobox would take the input name of the neighborhood, and cross-check it against {{Checkgame}}; the purpose of that template is to simply say which base game a particular world/neighborhood belongs to. The problem is that Checkgame only included the TS4 worlds, but did not include the TS4 neighborhoods. When I thought about it a bit, I realized that having a template to check which game a neighborhood/world appears in is unnecessary. So I reworked Infobox Neighborhood so that it looks for the game parameter instead of the neighborhood's name, and then checks to see if the game is on the {{MGL}}. The MGL outputs a code for the base game, even if the name that is input is an expansion/game/stuff pack, and then I plug that output into {{Vgcode}} to spit out the full name of the base game. I did it this way because our current operating principle has been to categorize all neighborhoods/worlds within a given game together, even if some were introduced in expansions (for instance, we don't have a category Category:Neighborhoods in The Sims 2: Seasons, even though that expansion introduced Riverblossom Hills).

The end result of all these workings is that neighborhood pages for TS4 no longer need to be manually categorized into "Category:Neighborhoods from The Sims 4" or "Category:<world> neighborhoods"; the template will do both automatically. When I get a chance, I'll take a look at {{Infobox world}} as well and try to prevent similar problems on that front. My goal is to make it so that {{Checkgame}} isn't used on any templates and can be deleted.

I tested the changes out before I implemented them. While I cannot see any errors in what I've done at this point, if you encounter any problems with the change, please let me know so I can address it. -- LostInRiverview talk · blog · contribs 04:25, June 16, 2019 (UTC)