Jump to content

User talk:AzaToth: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 282: Line 282:
If you haven't read [[Wikipedia:Avoid using meta-templates|this]], please do. All of those if and boolean templates are considered harmful to the performance of Wikipedia. Do not expand their use, and instead look for ways to eliminate them. The problem with templates like [[Template:Infobox Movie]] is that there has been no effort to center in what fields should exist across all articles. There are too many one-offs,a nd your system is no better in that respect than the old one that involved sub-templates. -- [[User:Netoholic|Netoholic]] [[User talk:Netoholic|@]] 23:25, 8 December 2005 (UTC)
If you haven't read [[Wikipedia:Avoid using meta-templates|this]], please do. All of those if and boolean templates are considered harmful to the performance of Wikipedia. Do not expand their use, and instead look for ways to eliminate them. The problem with templates like [[Template:Infobox Movie]] is that there has been no effort to center in what fields should exist across all articles. There are too many one-offs,a nd your system is no better in that respect than the old one that involved sub-templates. -- [[User:Netoholic|Netoholic]] [[User talk:Netoholic|@]] 23:25, 8 December 2005 (UTC)
:*There is no usage of boolean templates in [[Template:Infobox Movie]] <sub>→<font style="color:#975612">[[User:AzaToth|Aza]]</font><font style="color:#325596">[[User_talk:AzaToth|Toth]]</font></sub> 23:29, 8 December 2005 (UTC)
:*There is no usage of boolean templates in [[Template:Infobox Movie]] <sub>→<font style="color:#975612">[[User:AzaToth|Aza]]</font><font style="color:#325596">[[User_talk:AzaToth|Toth]]</font></sub> 23:29, 8 December 2005 (UTC)
:*:Also, be sure to read the [[Wikipedia talk:Avoid using meta-templates|talk page]] for all the glorious controversy and bias. I bet these templates will be really useful and beneficial.
:*:I'm sure these functions would be much better if they were implemented directly in the software, but good luck with that... — [[User:Omegatron|Omegatron]] 01:00, 9 December 2005 (UTC)

Revision as of 01:00, 9 December 2005

Welcome!

Hi AzaToth! I noticed your contributions and wanted to welcome you to the Wikipedia community. I hope you like it here and decide to stay.

As you get started, you may find this short tutorial helpful:

Learn more about editing

Alternatively, the contributing to Wikipedia page covers the same topics.

If you have any questions, we have a friendly space where experienced editors can help you here:

Get help at the Teahouse

If you are not sure where to help out, you can find a task here:

Volunteer at the Task Center

Happy editing! -GTBacchus(talk) 23:37, 13 November 2005 (UTC)[reply]

Tag fixing

Thanks, but I don't think it's necessary to do extensive fixing for now. The devs are on it, TidyHTML will be restored. Radiant_>|< 00:32, 15 November 2005 (UTC)[reply]

Yes I know, but I had problem reading 1px lines :) --AzaToth 00:34, 15 November 2005 (UTC)[reply]

Vandalism by 212.85.15.75

Hi AzaToth, I just got your message -- it looks as though vandalism from this IP has stopped at the moment, so I'm hesitant to institute a retroactive block on what appears to be a shared school IP. I left a warning message on their user page, so if they continue to act up, I or another administrator will block them again; if you run into a spate of rapid vandalism like this again and need assistance, posting a note to WP:AIV or WP:VIP will draw the attention of currently active administrators on Wikipedia, who can institute a more timely block. Thanks, MC MasterChef :: Leave a tip 11:18, 17 November 2005 (UTC)[reply]

P.S. - Welcome to Wikipedia! If there's anything else I can help you with, please let me know.

OK smarty-pants…

Tell us how all those rather beautiful If Templates work, then Template:;-). Massive kudos BTW. Phil | Talk 16:43, 23 November 2005 (UTC)[reply]

It's just trivial boolean logic :-) I can say that {{booleq}} works by retrive a parameter based of the value of another parameter ({{{{{{2}}}|}}}) --AzaToth talk 16:49, 23 November 2005 (UTC)[reply]

Named parameters for template if?

Hi Carl. After our recent ping pong match at web reference (for which I do apologize again), I have an idea about that "1=" "2=" theme.

How silly (or ingenious, whatever) do you think would it be to modify {{if}}, which now is:

{{show1|1={{{2|}}}|1{{{1|}}}={{{3|}}}}}

to change it to something like:

{{show1|1={{{2|{{{truethen|}}}}}}|1{{{1|{{{expr|}}}}}}={{{3|{{{falseelse|}}}}}}}

Instead of writing:

{{if
  |1={{{Work|{{{work|}}}}}}
  |2=''{{{Work|{{{work}}}}}}''.
}}
{{if
  |1={{boolnand
    |1={{{URL|{{{url|}}}}}}
    |2={{{Title|{{{title|}}}}}}
  }}
  |2=parameter '''url''' and '''title''' is required!
  |3=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. 
}}

We could then write:

{{if
  |expr={{{Work|{{{work|}}}}}}
  |then=''{{{Work|{{{work}}}}}}''.
}}
{{if
  |expr={{boolnand
    |1={{{URL|{{{url|}}}}}}
    |2={{{Title|{{{title|}}}}}}
  }}
  |then=parameter '''url''' and '''title''' is required!
  |else=[{{{URL|{{{url}}}}}} {{{Title|{{{title}}}}}}]. 
}}

? Please be honest and brutal (if it's plain bullshit please say so – I can stand it). – Adrian | Talk 23:50, 23 November 2005 (UTC), (Edited to use then/else and fixed as proposed by Carl below. – Adrian | Talk 18:42, 24 November 2005 (UTC))[reply]

Yes, it would be possible, but you should have to change it to
{{show1|1={{{2|{{{then|}}}}}}|1{{{1|{{{expr|}}}}}}={{{3|{{{else|}}}}}}}
but, I should think a couple of milliard times before changing in template if :), test in a user template to see... --AzaToth talk 23:57, 23 November 2005 (UTC), (Edited to use then/else instead of true/false. – Adrian | Talk 18:42, 24 November 2005 (UTC))[reply]
Um. Great. Thanks for having a look at and fixing it. You are absolutely right. I should do lot of testing, certainly I'm not going to touch {{if}}. But before investing in tests, I thought it would be a good idea to start by asking some template specialists like you if there is any value in this idea. Maybe I'm going to ask SEWilco next what he thinks about this idea. – Adrian | Talk 07:29, 24 November 2005 (UTC)[reply]
Just forgot something to ask. If this idea would have been implemented (just think for a moment it would be). Which variant of {{if}} would you use then when writing your template code? Would you use "expr=... true=... false=...." or stick with your well used to form "1=... 2=.... 3=...."? – Adrian | Talk 07:37, 24 November 2005 (UTC)[reply]
That depends, perhaps instead of true/false, to have then/else --AzaToth talk 13:42, 24 November 2005 (UTC)[reply]
That's a good idea! Let's take then/else. I've edited your and my posts accordingly. – Adrian | Talk 18:42, 24 November 2005 (UTC)[reply]
Ok, I changed if now, hope no one disagrees :) --AzaToth talk 18:48, 24 November 2005 (UTC)[reply]
Ups - so, I don't have to ask SEWilco any more...:-). I wouldn't have been that bold by myself. I would have done a posting on the talk page of {{if}} first. But anyway thanks! I will watch what happens on if. – Adrian | Talk 20:42, 24 November 2005 (UTC)[reply]

requested moves

When requesting moves, please create a place of discussion on the talk page of the article you wish to move, as instructed at WP:RM. People can't vote or discuss the move unless this is done.—jiy (talk) 07:42, 25 November 2005 (UTC)[reply]

Done

but many appear to be left. thanks Martin 20:43, 25 November 2005 (UTC)[reply]

Lil Help

Hello, would you please take a look at the table I created, there might be a better way to do it.

List of Adolf Hitler speeches#Speeches

Go ahead and change it, I will see the changes when you get around to it. Thanks WritersCramp 02:29, 26 November 2005 (UTC)[reply]

Table Help

From the Adolf Hitler article, how can I get these:

Template:Wikitree

to line up across the page, instead of down the page ?

I tried a variety of tables and boxes, but because they are not text, I can't get them to line up across.

Cordially WritersCramp 16:47, 26 November 2005 (UTC)[reply]

Edit template

Hello - you edited the "Thermodynamics equations" template to change the edit tag to use the edit template. However there is now a space after edit as in (edit ). I wonder if you consider that an error in the template, or whether its just not possible to include parentheses around "edit". PAR 23:12, 26 November 2005 (UTC)[reply]

Technology Barnstar award

The Technology Barnstar

Carl - I award you this Technology Barnstar for your beautiful template {{qif}}. – Adrian | Talk 23:13, 27 November 2005 (UTC)[reply]

Your nomination of this template has now waited out its week on TfD. According to the discussion, it needs to be replaced by Template:Booleq. In case this requires expertise, I wonder if you could look into doing that, at which point the template is ready for deletion. Thanks. -Splashtalk 01:02, 30 November 2005 (UTC)[reply]

Done. I touched the remaining page. -Splashtalk 20:20, 30 November 2005 (UTC)[reply]

reply

Sure, i'll let you know when it's done Martin 15:28, 30 November 2005 (UTC)[reply]

Done! Martin 20:08, 30 November 2005 (UTC) Thank you, now it can go to the afterlife :) AzaToth 20:16, 30 November 2005 (UTC)[reply]

User talk:Adrian Buehlmann/web reference 2005-12-02-1

Hi Carl,

Your sharp brain is needed at User talk:Adrian Buehlmann/web reference 2005-12-02-1. What do you think? Is that ok? Did I miss something? Thanks for your help in advance! – Adrian | Talk 22:17, 2 December 2005 (UTC)[reply]

What's the problem? AzaToth 22:21, 2 December 2005 (UTC)[reply]
I'm trying to fix the problem reported by Fritz under Template talk:Web reference#date links. I think I solved it by presenting the solution under User:Adrian Buehlmann/web reference 2005-12-02-1. But I'm not shure. Maybe you can see something I made wrong. – Adrian | Talk 22:34, 2 December 2005 (UTC)[reply]

Could you do whatever you did to the other one to this one, please? Thanks. -Splashtalk 00:03, 3 December 2005 (UTC)[reply]

I don't know if this will help you, but perhaps it will.

When {{If defined call2}} is defined as:

{{if
  |test={{{1|}}}
  |then={{{{{2|}}}
    |{{{3|}}}
    |{{{4|}}}
  }}
}}

it breaks, but when it's:

{{if
  |test={{{1|}}}
  |then={{{{{2|}}}|{{{3|}}}|{{{4|}}}
  }}
}}

it seems to work. Kirill Lokshin 02:56, 3 December 2005 (UTC)[reply]

Infobox Movie

Hi, I liked the changes you made on it. I'm just curious if it's also possible to fix the image parameter (located in {{Infobox Movie/image}}), so that it checks the amount of parameters given (or something) and formats accordingly (ie. if it only consists of one parameter, use that as the image file like the template currently does, and if there are more parameters, use those to format the image like the template previously did).

Since the changes prior to yours broke the formatting on the image in many cases, adding extraneuous parameters into the infobox itself (for example [[Image: and |200px]] in the Memories of Murder infobox), this would clean up the rest of the infoboxes (almost 2000) that currently use the template. And if there would've been a better place to ask this question, sorry. - Bobet 13:32, 4 December 2005 (UTC)[reply]

  • As it was previously, the infobox had to be given the full link to the image plus the formatting info, and it was put it into the box accordingly (ie. [[Image:imagefilename.jpg|200px|this is a movie poster]]). Now, it only needs to be given the name of the image file (with the new version of the template, the input is assumed to be a string, which is made into an image link), which breaks the formatting on all of the infoboxes created before the change. Another way to fix it (I don't really have any idea how these things work here and what's possible) would be to check if the parameter points to a wikipedia image file by itself or is just a string. - Bobet 13:54, 4 December 2005 (UTC)[reply]

Bambi

Good work. If I only knew that much about esotiric templates. — Ambush Commander(Talk) 20:27, 4 December 2005 (UTC)[reply]

  • The problem can occur if you call a template using autonumbered indexes, and the argument value of the parameter includes a "=", then the parameter name is the string before that char AzaToth 20:28, 4 December 2005 (UTC)[reply]
Aha. When I removed the <span style="white-space:no-wrap;"> it worked. — Ambush Commander(Talk) 22:00, 4 December 2005 (UTC)[reply]
yes, but I changed how the infobox refered to parameters, and used named parameters only, so it is not probably to occur again AzaToth 22:04, 4 December 2005 (UTC)[reply]

Template:Infobox Movie

Did you notice that you fixed the old problem of not being able to use some templates in the template? That's very nice! Also, I was reading your explaination on "If defined call1" -- can you tell me if this is the right idea: for {{{ {{{1 {{{1|}}} | 2}}} |void}}}, when {{{1}}} is empty, we get {{{ {{{1| 2}}} |void}}} and then {{{|void}}} and then "void"? And when {{{1}}} is defined we get {{{ {{{1 something | 2}}} |void}}} and then {{{2|void}}} and then the value of 2? Thanks for the help. Shawnc 16:29, 5 December 2005 (UTC)[reply]

Mozilla Firefox.png

It's not that it's a free image it's that even if they state that it can be released A) they don't specify a license which is specifically an issue, and B) even if they did it would only be for non-commercial use which while not an issue directly at the moment is a right needed by the foundation in case they ever make a CD version of Wikipedia. JtkieferT | C | @ ---- 18:03, 5 December 2005 (UTC)[reply]

  • As I have understand, the image at codebot is not made by mozilla foundation, but is a user made image simlar to the official logo by the foundation. I took that source and removed most of the fox to drastically reduce the similarities to the official logo. As the page (codebot) specifiy that no licenses are applied, I interpret it as the authours releases the code into the public domain, butI'm no expert in laws etc. AzaToth 18:17, 5 December 2005 (UTC)[reply]

Template:Infobox Movie

Carl, there really shouldn't be any HTML in Template:Infobox Movie. MediaWiki provides wiki-table code, and that should be used. Moreover, please do not perform the same conversion at Template:Infobox Company. While User:Shawnc declares you a template wizard, your recent updates to the Infobox Movie template are extremely messy and difficult to read. Adraeus 00:58, 6 December 2005 (UTC)[reply]

infobox 2 and 3

are you gonna update the info box so it can be used for pages using (2) and (3)?

They have fields such as cinematography, music and such... Steve-O 01:01, 6 December 2005 (UTC)[reply]

Info movie box

so, could you add the fields that are in Info Movie box (2) and (3)? Then we could at least standardize all the boxes with the one you modified a few days ago... (Know what I mean, add editor, cinematographer...) I guess if the field is left blank, then that field wouldn't show up? Know what I mean?? Steve-O 22:38, 5 December 2005 (UTC)[reply]

Here's an example of Infomovie box (3), which is just like (2) without the "editor" field:

{{Infobox Movie (3) |
  movie_name     = Mildred Pierce |
  image          = [[Image:Mildred Pierce poster.jpeg|230px|Mildred Pierce]] |
  imdb_id       = 0037913 |
  director       = [[Michael Curtiz]] |
  writer         = [[James M. Cain]] (novel)<br>Ranald MacDougall<br>[[William Faulkner]] (uncredited)<br>Catherine Turney (uncredited)|
  starring       = [[Joan Crawford]],<br>[[Jack Carson]],<br>[[Zachary Scott]]<br>[[Eve Arden]]<br>[[Ann Blyth]]<br>[[Bruce Bennett]]<br>[[Lee Patrick]] |
  producer         = [[Jerry Wald]] |
  music         = [[Max Steiner]] |
cinematography = [[Ernest Haller]] |
  distributor    = [[Warner Bros.]]  |
  release_date   = [[September 24]], [[1945 in film|1945]] (U.S. release)|
  runtime        = 111 min. |
language = [[English language|English]] |
}}

I understand, I'll look into it AzaToth 01:15, 6 December 2005 (UTC)[reply]

Hi again, sorry to keep bothering you about the same template. I don't think the 'screenplay', 'original story by' and 'new version by' fields are needed in the infobox at all and can be potentially confusing to editors. I think the same content can be addressed (and has been, in all but one case) in the 'writing' section adequately by having for example 'Writing by: name (original story)'. In the case of screenplay, it's pretty much just another word for the 'writing' section. There was only one page that used the version of the infobox with those fields, and it probably should've just put all of those fields in the writing section. I'll go fix it in the way I suggested here (the page is Alice (2006 movie) if that helps). - Bobet 13:01, 6 December 2005 (UTC)[reply]

I removed the fields (from the infobox, the subpages still exist) for reasons I stated above. Thanks for all your hard work on this and other templates. - Bobet 14:58, 6 December 2005 (UTC)[reply]

Sorry again, I promise I'll stop bothering you some time. Do you think it's possible to add an 'image_caption' field to the template, that when called adds the caption to the images? I don't know if it's really straightforward, since you'd have to call different instances of 'image' depending on if the caption field exists or not eg. [[Image:{{{image}}}|200px|]] or [[Image:{{{image}}}|200px|{{{image caption}}}]]. It's sort of related to the image type thing you suggested a while back so I figured I'd ask you (again). - Bobet 19:33, 6 December 2005 (UTC)[reply]

  • That's not (exactly) what i had in mind (but if it's the best possible way to do it currently, I'd take it, thanks). Is it possible to do a "if defined (image caption), call imagefunction with image and image caption as parameters, if not defined (image caption), call imagefunction with just the image as a parameter" or similar. That way the caption could be included inside the image so that it appears when you hover the mouse over the image, or when the image isn't loaded for some reason, in the way it was around a week ago :) I don't know if the "if not defined" thing exists currently, so this might not be possible though. Sorry about my explaining skills too. - Bobet 20:11, 6 December 2005 (UTC)[reply]
  • Aha, ok, I thought you wanted a caption as below, and I then thought you didn't want a extra box. Should I remove the cpation and have it as a hower caption instead, or both? AzaToth 20:13, 6 December 2005 (UTC)[reply]

Dashes

I replied on Wikipedia:Village_pump_(proposals)#DashesOmegatron 23:57, 7 December 2005 (UTC)[reply]

Template speedies

I think I'd feel like my back was better covered with a simple procedural nomination on TfD. They can be done in a bulk nom without any risk, I'd think, so long as you make clear that they have all been superseded and are unused. I don't think the nom should have any problems. -Splashtalk 21:23, 8 December 2005 (UTC)[reply]

Ok AzaToth 21:24, 8 December 2005 (UTC)[reply]

If you haven't read this, please do. All of those if and boolean templates are considered harmful to the performance of Wikipedia. Do not expand their use, and instead look for ways to eliminate them. The problem with templates like Template:Infobox Movie is that there has been no effort to center in what fields should exist across all articles. There are too many one-offs,a nd your system is no better in that respect than the old one that involved sub-templates. -- Netoholic @ 23:25, 8 December 2005 (UTC)[reply]