The Sims Wiki talk:Development Portal: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
imported>LostInRiverview
imported>LostInRiverview
m (wow...)
Line 29: Line 29:
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)
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)


:That's not a bad suggestion. Unfortunately, it's not simply as easy as renaming a few pages. Categories, unlike articles and template, 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)
: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)

Revision as of 16:31, 8 June 2019

Archives
Archives

1 2 3 4

Community
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)