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
No edit summary
Line 7: Line 7:
   
 
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)
 
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)
  +
  +
==Updating {{t|Pagecover}}==
  +
{{Asterisk}}''Blows dust off the Development Portal Talk Page''{{Asterisk}}
  +
  +
So, I have no idea where else I would start a discussion related to this. Here goes!
  +
  +
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.
  +
  +
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 [[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.
  +
* 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)

Revision as of 08:09, 11 February 2018

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)