User talk:Majr/Archive 2

 Archives
 * October 2010 - December 2010

my vandalism
Why was my edit a vandalism? I never heard reeds called sugar cane and i just looked in the game again and there it is clearly stated as reed. DerGraph 14:28, 11 January 2011 (UTC)
 * Did you even bother to look at the Sugar Cane page? It tells you exactly why it's called that. – ultradude25  ( T at 04:15, 12 January 2011 (UTC)

Java virtual machine launcher
(UPDATE:i reinstalled java and it worked)(OLD:when i downloaded the first file of minecraft and opened it the java pop up said "Fatal exception occurred. Program will exit" i tried the other one too but it did same thing and im running windows vista) --CoolWool 11:58, 21 January 2011 (UTC)

Template:Block/row
Since you seem to be quite good with templates, I think it'd be appropriate to ask you.

At the moment looking at Template:Block, Template:Item and Template:Food you can see we're just manually using the different templates. This is all fine in theory, until you come to the parts of the template that are optional, therefore creating some lines with the same colour as the previous instead of alternating.

Basically, I was wondering if you can make the Block/row template automatically choose between #FFFFFF and #F9F9F9 based on which was used last, so templates keep the alternate background even if they're not using the optional fields that disappear when not filled in. – ultradude25  ( T at 15:31, 22 January 2011 (UTC)


 * You mean that you want to use only Block/row and not Block/row and Block/row2 alternatively, cause optional fields will mess up the colors alternation?
 * I do not think it is possible in the Block/row template since a template does know nothing other than its given parameters. I think it will be possible to handle it in each template (block, item, food) if there is a way of using a variable kind of like a counter. But I don't know if this is possible… sorry – Scaler (t) 16:17, 22 January 2011 (UTC)


 * Just thought I'd comment, a better way to go about this is using CSS selectors to color every nth row differently. The only way to implement CSS selectors on MediaWiki (AFAIK) is by editing this theme's CSS. Ideally the code would be:
 * .infobox:nth-child(even) { background-color: #F9F9F9; }
 * This should negate the need for a secondary row template. The only issue with this is obviously this isn't supported in IE8. At this point however it's trivial to care about IE. Hope this helps! --Gnu32 14:52, 23 January 2011 (UTC)


 * I would like to see this happen, if anyone can put up with IE then they can put up with not having an alternate background colour. – ultradude25  ( T at 16:12, 23 January 2011 (UTC)


 * Haha. I would, but MediaWiki: templates are locked to SysOp's only (or bureaucrats, I forget which). --Gnu32 16:22, 23 January 2011 (UTC)


 * How about that I can edit it. I just assumed it would be locked so only bureaus can edit it.
 * So does this affect all infoboxes, or only if you give the div the "infobox" style? – ultradude25  ( T at 16:28, 23 January 2011 (UTC)


 * Fucksticks, my bad, wrong code. Use this: .alternaterows tr:nth-child(even) { background-color: #F9F9F9; } --Gnu32 16:54, 23 January 2011 (UTC)


 * Also this will only work with tables classed "alternaterows". I guess you could keep the  line for div-powered boxes, as long as each "row" is a div-tag within. --Gnu32 16:56, 23 January 2011 (UTC)


 * facepalm* do excuse my slow upkeep, I now see what you've done there. Good call. --Gnu32 16:58, 23 January 2011 (UTC)


 * Yeah I already figured that, it's called alternatecells. And it works alright. Only thing I noticed is it seems to take into account other cells that aren't using the class, so example Gold Ore's first cell is grey, whereas Bedrock's first cell is white (because it hasn't got an inventory image). Anyway to fix this? – ultradude25  ( T at 17:00, 23 January 2011 (UTC)

Bugger... not sure what to do with that other than rewriting infoboxes so that the outer box and title is DIV powered and then the tabular data is table'd, so the first row will always be first. I can do this if you'd like. --Gnu32 17:09, 23 January 2011 (UTC)


 * If you can do it then go right ahead. – ultradude25  ( T at 17:13, 23 January 2011 (UTC)


 * Right, I've rewritten Template:block and it seems to be working ok. Just one more teeny-weeny little tweak, change nth-child(even) to nth-child(odd). I'll apply changes to Block now and check all over for any issues. If all is well, I'll rewrite the rest of the infoboxes with the better div skeleton format thingwhatyoucallit tomorrow. --Gnu32 19:06, 23 January 2011 (UTC)


 * Looking good. I've changed the css to odd. – ultradude25  ( T at 19:13, 23 January 2011 (UTC)

A belated thank-you;
For this. Thank you much for spotting that mistake. I asked Quat about it sometime back, but you were the one that finally fixed it.— Dæ dαlus Contribs 08:46, 23 January 2011 (UTC)
 * Which change in that edit where you referring to exactly? – ultradude25  ( T at 09:48, 23 January 2011 (UTC)

wah?
The video I put up for Fishing Rod. I don't see how it's breaking this site's rules. I mean other than slight self-promoting. I did upload the video, but someone needed to. What happened? --42ndIcicle 14:06, 23 January 2011 (UTC)

Also, the other video on some other page that you also got rid of...I can see why that was removed. Sorry. xD


 * Rule 16A. It's clearly explained in text what to do and what happens, don't need a video to tell people that it pulls NPCs towards you. – ultradude25  ( T at 16:12, 23 January 2011 (UTC)

Uploading Templates
Hi! I would like to upload a template, how do I do this? I've tried Template/YaYaBinksMinecraft. I need to shorten the superscript (a.k.a HTML) you gave me.

YaYaBinksMinecraft Woot JokeCraft v2.0!! 17:34, 26 January 2011 (UTC)
 * Templates in the Template namespace are designated by a colon, not a slash, but what kind of template are you trying to create? -- Wynthyst [[Image:User Wynthyst sig icon.png|19px ]] talk  22:37, 26 January 2011 (UTC)

Quick heads-up:
No more infinite bans on people unless they're obvious spambots, alright? Also, please don't disable people's ability to send email while they're blocked. Thanks!--Quatroking -  MCWiki Administrator  22:21, 28 January 2011 (UTC)
 * Right-o. – ultradude25 ( T at 00:37, 29 January 2011 (UTC)

How do you render the images of the blocks?
I would like to know. That way I might be able to render them using a custom skin for use in a website. C: --Earthiverse 04:28, 29 January 2011 (UTC)
 * Blender and UV mapping. – ultradude25 ( T at 04:29, 29 January 2011 (UTC)

Use block/item icons
Hi. I was wondering if I could use your block/item icons for a Norwegian Minecraft Wiki. :) --Dr. Weir 19:08, 1 February 2011 (UTC)