Template talk:BD

Page contents not supported in other languages.
From Wikiquote

In the example, I suggest changing the order so bplace is written before dplace:

{{BD | May 13 | 1948 | September 24 | 2003 | name=First Name Last Name |bplace=Italy | dplace=Rome | sort=Last Name, First Name }}

I think this would not change the way it looks. Coppertwig 13:02, 22 August 2008 (UTC)[reply]

Yes, that's best. But I have much work to do with the new things I added, "options." Especially in the examples, but you're right about that. — AE (talk) 18:47, 22 August 2008 (UTC)[reply]

All right, I changed that. Now I would like to change where it says "It will look like this". I think it's better to use the template there. Maybe there's some reason why you don't. The template would be using the same template! Maybe that's not possible? If it's possible, I think it's better to do it that way. Then everyone is sure that that's really what it will look like, and if anyone changes anything it will still look the way it says it will.

Even though this template is protected, all users can say things on this talk page about how it should be, and we'll use consensus. Coppertwig 19:28, 22 August 2008 (UTC)[reply]

I changes that because it auto-adds this page to the date categories. This template hasn't been born, and will probably never die. :) That's why. — AE (talk) 19:40, 22 August 2008 (UTC)[reply]
Oh. I thought maybe there was a reason! Well, there is a way to do it, but maybe it's too much trouble. We can have one more parameter, "nocategory". If that parameter is used, then it won't add the page to the categories. Coppertwig 19:45, 22 August 2008 (UTC)[reply]
Hmm, maybe it could have a place in articles. I'm working with the template now. I'll see. — AE (talk) 19:50, 22 August 2008 (UTC)[reply]
Personally I would just add the categories manually as opposed to being added with this template. So they can be in the proper order when displayed. ie numbered categories then alpha categories. That being said I suppose since you use this template in the first line of biographies that that might not be an issue. -Djsasso 20:51, 22 August 2008 (UTC)[reply]
Done. New examples and template is redone. Report any problems, but don't be testing around with it. Coppertwig, the categories are impossible to make a "nocategory" thing. I used #switch in it and as far as I can tell, it can't be (at least easily) done. A sub-template, perhaps "Template:BD-nocat" or something could be easily created. But it is all based upon each input, and #if cannot be used in each parameter, as far as I know. The "add the categories manually" thing can be discussed on Simple talk, but I think what is there is best. — AE (talk) 21:27, 22 August 2008 (UTC)[reply]

I don't understand how it works. If I look at the code, it seems to put the page into categories if many is 2, 3a, 3b or 4. It doesn't look as if it's doing anything with categories if many is not given. But when I use it, it does put the page in categories even if many is not given. How does it work? Coppertwig 22:03, 22 August 2008 (UTC)[reply]

I'm telling you, it's so complex. Sorry for all the work you did, I just enabled a "nocat" parameter. On the many= option, put nocat text after the "2" 3a" etc. Read more on the example page. Hope that works :) — AE (talk) 00:07, 23 August 2008 (UTC)[reply]
Maybe I was looking at a different version of the code or something.
Anyway, the template is very good. I'm sorry to suggest changing it, but I think it can be easier to use if it's a different way.
I think it can be written so it will work like this:
{{BD|1948|2000}}
{{BD|unknown|1948|unknown|2000}} (same as above)
{{BD|unknown|1948|May 3|2000}}
{{BD|June 10|1948|unknown|2000}}
{{BD|June 10|1948|May 3|2000}}
I think that would be easier for people to remember how to use. I think "many=3b" is hard to remember.
I'm not sure if "nocat" needs to be part of the "many" parameter.
To write it to work like that, it might need to use other templates or be better if it's using other templates. For the template wikt:simple:Template:verb I used another template to count the number of parameters.
I hope you don't mind these suggestions. I can try to change it to work like that. Coppertwig 01:37, 23 August 2008 (UTC)[reply]