User talk:Monchoman45/Archive 4

Got questions? Feel free to ask!

Curved corners
Hey,though I've been using this feature for a long time I still dont know the code to curve the corners of tables...do help me:)


 * That's CSS. It works like this:


 * Yields:


 * You need all 3  properties, or it won't show up in every browser. Also note that border radii don't show up in most IE versions - but you can't help that, it's Microsoft's fault.

Hey I'm talking about the curved corners,like in you signature:)--


 * I thought that would work, although apparently wikitext can't make corners on tables. Try putting this in Common.css:

 table { -moz-border-radius:2ex; -webkit-border-radius:2ex; border-radius:2ex; }
 * That should work.

On you user page,you got a template right?..the template has it's border rounded.I'm talking about that code.Thanks:)


 * That is the code..

Thanks a lot buddy..I've got a question,where should the "px" go?.Is it ?:)--


 * You can use  for border radius, but I usually use , which is just a different unit.

One more thing
Please make this appear in one piece!(in a single box,should not be too much of length but can be as wide as possible)

sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsjfhjdshfjkhdsjkfhjkdshjkfhjk

dshjfkhjdshfdsjhjfhjsdhjkd

hsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd

If possible this also: sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsjfhjdshfjkhdsjkfhjkdshjkfhjkdshjfkhjdshfdsjhjfhjsdhjkdhsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd

Thanks:)--


 * What do you mean by one piece? Those are all on the same line for me.
 * Yep it is in the same line for me too.
 * I mean I want all of 'em in a single box(can be of any length,but smaller width)..:)
 * This should come in a single box:
 * sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsjfhjdshfjkhdsjkfhjkdshjkfhjk

dshjfkhjdshfdsjhjfhjsdhjkd

hsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd

But shouldn't be too wide...but any length:)


 * Do you mean like this?

texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext texttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttexttext
 * {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 * {| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"

sdjhsjklflhdsjkhjfhdshfdsfjkdhsjfhdshfjkdhsjkfhjdhsj

fhjdshfjkhdsjkfhjkdshjkfhjkdshjfkhjdshfdsj

hjfhjsdhjkdhsjkhdsjhdsjhdsjhdsjhdsjhdskhlahlsdajsdahlhdjshkjdshkjhdhkhldskhsd
 * }

All of it is in a single box right?...I want the all of it inside this box :)

Nevermind I figured it out:)..thanks:)

Fun with code
I have a project for you and it should be fun. I am having problems with an annoying user on Bleach wiki. He thinks he knows all there is to know about wikis and is constantly showcasing "his" css and js to the newer users. Really his css and js are just copies of my own pages. Think you can develop some code that will just mess everything up for him badly enough that he will stop trying to copy everything I do?--


 * I have mixed feelings about this:I luv the idea(I usually do this type of stuff at my wiki!)..but what?Godi thinks this way?lol!

Common.js issues
Hey, I tried what you said for my Common.js issue at Combine OverWiki, but nothing changes. :/ Help! Klow 19:21, May 21, 2011 (UTC)


 * At the end of the  function at the top of the page, instead of , use.
 * Still broken! Collapsing template still gone! Klow 00:29, May 22, 2011 (UTC)
 * In the  function near the bottom, the replace line has an extra   at the end. Just in case, I checked ahead this time - that should be your last syntax error, so it should work once you change that. Also, SiPlus has added a few functions to your Common.js that violate the ToU - For example, the one that unbinds listeners on  . Staff will make you remove them later anyway if you leave them there, it's just easier to do it now.
 * Oh man, that's fixed, at last! Thanks! I'll remove that, but what is it exactly? :/ Klow 10:59, May 22, 2011 (UTC)
 * I think it this:You've seen the topmost bar on the wikia right?It contains dropdown menus for different wikias,the code empties it.I think it's that.
 * Sort of. The function unbinds the listener that fires when you mouse over the menu - it stops it from dropping down.

Layout pages
Is there a way to know all the pages that were created using the Layout builder?


 * I believe there's a way to find all pages created with a specific layout, although I don't know how. I tend to ignore LayoutBuilder, because it forces RTE use.

Missing Images
Hi Monchoman45, I'm an admin on the Hogwarts RPG Wiki and we had to shut down our House Points system because two images went missing. I contacted a Wikia Staff but they didn't reply. Do you think you could help? Thanks, Head.Boy.Hog (Talk To Me)  12:46, May 22, 2011 (UTC)


 * I'm seeing all the images fine. What browser are you using?


 * Safari. But you see File:Gryff.png and File:Puff.gif? And speaking of the RPG, did I do the Facebook thing for the RPG right? Head.Boy.Hog (Talk To Me)  13:08, May 22, 2011 (UTC)


 * Yep, both of those are there. The facebook entry also looks good.


 * You see 4 hourglasses, 1 red, 1 blue, 1 I just looked at it and noticed they were fixed. I'll find out who did it. Thanks, <font face="Segoe Script" size="3" color="Indigo" >Head.Boy.Hog <font face="Currier" size="2" color="Green">(Talk To Me)  13:20, May 22, 2011 (UTC)

City of Wonder Wiki
Hey Monchoman, I've been using the Sig code now for quite a while and everything going smoothly however for some reason, the code has disappeared off the Sig/Real page for the City of Wonder wiki and now the time stamp isn't showing on my sig line. I've tried re-adding the code as before but for SOME ODD reason, it's not saving it this time. Any ideas or suggestions? Thanks mate for your continued help! :-)


 * I'm seeing it on the page you linked. Is the problem still there?

Man is this tempre-mental (sp?) or what? lol! What browser are you using to see it?
 * The sig bar is there (in the City of Wonder wiki) but the time stamp (in the City of Wonder wiki) isn't showing. I've checked it using Firefox AND IE8 with the same results, even clearing cache to make sure I wasn't missing something. I add the code to the edit box, when I preview it, it's not showing nor once I save the page it's not there. Also on some pages, such as my talk page it's showing as: 20:39,5/22/2011
 * P:S: also on this wiki Logo Creation Wiki the code sig line is showing as well prompting me to think there may be something changed in the Special Preferences area ? It's now propogated to several wiki's :(((
 * P:S: also on this wiki Logo Creation Wiki the code sig line is showing as well prompting me to think there may be something changed in the Special Preferences area ? It's now propogated to several wiki's :(((


 * You need a  page, like mine, or it won't substitute properly.


 * Amazing how we can miss one tiny detail and the whole train rumbles to a dead stop!
 * Thanks! And in the meantime please overlook my lapse of intelligence :-) All fixed!



Warning notification
Hey, me again. My wiki has a spoiler notification that appears at the top of every page. It is only appearing for registered users but I would like it to appear for everyone. It uses the following codes.

CSS /*spoiler warning*/ .warningmessage { color: #ff6500; background-color: #000000; background-image: url(http://images1.wikia.nocookie.net/okami/images/4/43/YamiIcon.png);

JS

/*spoiler warning*/ if( ( wgAction === "edit" && wgNamespaceNumber > -1 && wgNamespaceNumber % 2 === 0 ) || wgPageName === "Special:CreatePage" ) $(" Ōkami Wiki contains spoilers! Read at your own risk!   ") .prependTo(skin === "oasis" || skin === "wikia" ? '#WikiaArticle' : '#bodyContent');

Do you know how to get it to appear regardless of whether a user is logged in or not?--Soul reaper 04:28, May 23, 2011 (UTC)


 * I dont think CSS loads for anons:)


 * CSS loads for everyone, just like JS. A few things I notice with this:
 * You need a closing bracket after the CSS.
 * is broken - it's almost always edit on all pages, regardless of whether you're actually editing a page or not.
 * The closing  tag is missing the.
 * It may help to put parenthesis around the condition part of your ternary operator.
 * You don't need to use,   will do - types can be confusing in JS, as one object can have multiple types. Strings and numbers, for example, are essentially interchangeable in many cases.
 * Of those, fixing  is the most difficult - instead, use , and put this after your JS:

<pre style="margin-left:48px;"> function urlQuery(quer) { for(i in location.href.split('?')) { for(j in location.href.split('?')[i].split('&')) { if(location.href.split('?')[i].split('&')[j].split('=')[0] == quer) { return location.href.split('?')[i].split('&')[j].split('=')[1]; }		}	}	return ''; }
 * That should fix it.
 * Hey on our wiki,anons still see the "image added by" stuff while the css doesnt allow it
 * Checked on my sandbox wiki, and CSS definitely loads for anons. There's probably a different problem with the CSS.
 * Hmm! I'll inform the community about this.Thanks:)
 * I made the changes you suggested but it still only appears for registered users, any other suggestions or is there perhaps a larger error on the wiki?--Soul reaper 04:30, May 24, 2011 (UTC)