Forum:Questions about Wiki related stuff.: Difference between revisions

m
→‎top: Archiving help desk thread
imported>DeSims
(→‎September: new section)
imported>LiRBot
m (→‎top: Archiving help desk thread)
 
(12 intermediate revisions by 3 users not shown)
Line 1:
{{Help desk relocated}}
{{Forumheader|Help desk}}<!-- Please put your content under this line. Be sure to sign your edits with four tildes: ~~~~ -->
 
Line 103 ⟶ 104:
Woosssh, I kinda came up with a new question >.<
 
So, we have different Sims and families changing names in the Dutch version of the game. On the [[w:c:fr:.sims.wiki:Olivia_Chim%C3%A8reOlivia_Chimère|French wiki]]  the Sim template can display a name and display another header if necessary. Now I'd like this the same and I've found out how, but that means that I have to edit back ALL the sim- and familypages to add an header to their pages. Is it possible to seperate the header and names but let the header display the name of the Sim if there is no header input? I don't want the header to have the PAGENAME, as some Sims will have their pagename with (burglar) or (Sunset Valley) for example.
 
Sorry for explaining this like crap >.<
Line 110 ⟶ 111:
 
Thank you so much for the help. [[User:Tiezel|<b><span style="font-family:Tempus Sans ITC"><span style="color:#9d2628">Tiezel</span></span></b>]] [[User_talk:Tiezel|<span style="font-family:Papyrus"><span style="color:#804e26"><sup>(talk)</sup></span></span>]] [[Fanon:Curious family|<span style="font-family:Papyrus"><span style="color:#804e26">curious?</span></span>]] 14:07, September 29, 2013 (UTC)
 
:It should be possible to have different header and Sim's name. You don't have to make any edits in {{T|Sim}}, but rather, templates that use it, e.g. {{T|Sim3}}, {{T|Sim2}}, and {{T|Simbio-start}}. In this wiki, you should see it has this line:
<pre>
|header = {{{name|{{PAGENAME}}}}}
</pre>
:You should change it to the following:
<pre>
|header = {{{header|{{{name|{{PAGENAME}}}}}}}}
</pre>
:That way, you should be able to input <code>header</code> parameter when you use {{T|Sim3}}. If you don't use <code>header</code> parameter, it will use <code>name</code> parameter instead. Otherwise, if neither is given any input, it will use the page title. Perhaps you should try it first. I haven't experimented it myself.
 
:I have an idea to view the population's information. Try using Twallan's MasterController to see the basic information about Sims in the current neighborhood, just as soon as you first load the game. Keep in mind though, there might still be chance that the residents' attributes got changed during the split-second after you start the neighborhood, like being assigned to man a register or employed in a job. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 09:59, September 30, 2013 (UTC)
 
Thanks! Again you helped me a lot (: I tried to tweak a little in our [[w:c:nl.sims:Sjabloon:Lot|Lot]] template and it seems I kinda [[w:c:nl.sims:Lijst_van_Sunset_Valley_Kavels/Onbewoond|messed it up]]. I probably mixed two types of coding, or just forgot something. Could you please take a look for me and see what's wrong? [[User:Tiezel|<b><span style="font-family:Tempus Sans ITC"><span style="color:#9d2628">Tiezel</span></span></b>]] [[User_talk:Tiezel|<span style="font-family:Papyrus"><span style="color:#804e26"><sup>(talk)</sup></span></span>]] [[Fanon:Curious family|<span style="font-family:Papyrus"><span style="color:#804e26">curious?</span></span>]] 20:09, November 18, 2013 (UTC)
 
:From a quick glance, you seem to have forgotten some closing tags or something relevant.
 
:There, I've fixed it. You did forget to close the first table and div tag. There were two tables and div tags, but you only closed the inner ones. [[User:Nikel23|'''<span style="color:#007FFF; text-shadow: #ACE5EE 0 4px 4px;">Nikel</span>''']] [[User talk:Nikel23|<span style="color: #30D5C8 ; text-shadow: #00FFEF 0 4px 4px;"><sub>''Talk''</sub></span>]] <sub>–</sub> [[The Sims Wiki:Featured Media/Voting|<span style="color:red ; text-shadow:#E97451 0 4px 4px;"><sub>''Vote!''</sub></span>]] 23:26, November 20, 2013 (UTC)
 
== July '15 ==
 
Sorry for massive bump >.< Just thought this was the best way to ask about it again.
I have two new questions for the [[w:c:nl.sims:De Sims Wiki|Dutch Sims wiki]]. I tried changing the navigation wiki menu color in our Wikia.css file ( with [http://community.wikia.com/wiki/Forum:Beyond_the_Wiki-navigation_limits these codes]) / (I want it to be a different color than the buttons), but for some reason this isn't doing anything. Can somebody understand why? Cause I definetly don't :')
 
Also do I have a problem with probably our [[w:c:nl.Sims:Sjabloon:Sim|Sim template]], as it won't show the [[w:c:nl.Sims:Isabel Hafkamp|chemistry]] and I don't know why either, I probably messed some codes up.
 
Help much appreciated! Sorry again for the huge bump [[User:Tiezel|<b><span style="font-family:Tempus Sans ITC"><span style="color:#9d2628">Tiezel</span></span></b>]] [[User_talk:Tiezel|<span style="font-family:Papyrus"><span style="color:#804e26"><sup>(talk)</sup></span></span>]] 12:01, July 19, 2015 (UTC)
:By navigation I'm assuming you mean the topbar? I do recall seeing code for changing that but I'm not sure to what extent you wish to change it. Are you just changing the bar itself, the inactive tabs, the dropdowns, or something else? You could alternatively set a colour via the theme designer and instead change the buttons manually. I'll try to find the code I mentioned for you, either tonight or tomorrow (if i forget leave me a message) {{WHsig|12:22, July 19, 2015 (UTC)}}
::Yes I mean the topbar :) and just the topbar as it is blue here and purple on ours, the dropdown menus are fine the way they are. either way changing the buttons via wikia.css or the topbar doesn't really matter to me; as long as they can be two different colors. But thanks for your help! Waiting for it [[User:Tiezel|<b><span style="font-family:Tempus Sans ITC"><span style="color:#9d2628">Tiezel</span></span></b>]] [[User_talk:Tiezel|<span style="font-family:Papyrus"><span style="color:#804e26"><sup>(talk)</sup></span></span>]] 12:35, July 19, 2015 (UTC)
:::This is just about everything I could think of that you could use:
<pre>
/*keep this the same colour as whatever the red in the next thing is, i didnt see a change when i removed it so it might not even be necessary but id keep it to be sure*/
.WikiHeader .navbackground div {
background-color: red;
}
 
/*side of the navbar, everything not covered by buttons*/
.WikiHeader .navbackground {
background-color: transparent;
background-image: -moz-linear-gradient(top, red 0%, #33AD5C 100%);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, red), color-stop(100%, #33AD5C));
}
 
/*colour of navbar tabbers*/
.WikiHeader > nav li.marked {
background-image: -moz-linear-gradient(top, blue 0%, #33AD5C 100%);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, blue), color-stop(100%, #009933));
}
 
/*colour of the buttons on the second row*/
.WikiHeader > nav .subnav-2 {
background-image: -moz-linear-gradient(top, green 0%, #33AD5C 100%);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0%, green), color-stop(100%, #33AD5C));
}
 
/* this is the border of the dropdowns*/
.WikiHeader > nav .subnav {
background: red;
border-color: purple;
}
 
/*this is the dropdowns themselves, set to 0 to kill the borders within the dropdown */
.WikiHeader > nav .subnav-3 li {
border: 5px solid green;
background-color: black;
}
 
/*buttons*/
 
/*idle*/
a.wikia-button, .wikia-single-button a, .wikia-menu-button, input[type="submit"], input[type="reset"], input[type="button"], .button, button {
background-image: -moz-linear-gradient(top, red 35%, #33AD5C 65%);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, red), color-stop(65%, #33AD5C));
}
/*hover*/
a.wikia-button:hover, .wikia-single-button a:hover, .wikia-menu-button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover, .button:hover, button:hover, .wikia-menu-button:hover, .wikia-menu-button > a:hover, .wikia-menu-button .drop:hover {
background-image: -moz-linear-gradient(top, blue 35%, #33AD5C 65%);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, blue), color-stop(65%, #33AD5C));
}
/*clicked*/
a.wikia-button:active, .wikia-single-button a:active, .wikia-menu-button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active, .button:active, button:active, .wikia-menu-button > a:active, .wikia-menu-button .drop:active {
background-image: -moz-linear-gradient(top, yellow 35%, #33AD5C 65%);
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(35%, yellow), color-stop(65%, #33AD5C));
}
</pre>
:::I use chrome and these seem to work fine to me. You'll need to remember to change both the moz and webkit values for browser compatibility, and obviously change the colours to your liking, I used colours which would be the opposite of aesthetically pleasing so they stand out. If you've got any other questions with this let me know. {{WHsig|12:51, July 19, 2015 (UTC)}}
::::You might be able to make use of this too:
<pre>
/* navbar backer (a=transparency) */
.WikiHeader nav {
background-color:rgba(255, 255, 255, 0.8);
width:auto;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
-khtml-border-radius: 2px;
}
</pre>
::::This was the code we used to use to give the silvery backer to the top tabs on the navbar. I've directly ripped it from the history of our .css so if you use it you'll want to change it probably. {{WHsig|13:02, July 19, 2015 (UTC)}}
Anonymous user