Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template talk:Cast Data

Discussion page of Template:Cast Data
Revision as of 01:58, 11 April 2020 by Joe Beaudoin Jr. (talk | contribs) (Text replacement - "Peter Farago" to "April Arcus")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Latest comment: 13 years ago by Joe Beaudoin Jr. in topic Defaultsort bug

Template reasoning, We don't need the image credit field..., Design of the Header,


Proposal for new fields to be added

  • Nationality of actor/actress (including flag UK UK)
  • Date of birth
  • Date of death (optional and mainly for TOS actors)
  • Age (automaticly worked out by a formula by DOB etc?)

--Mercifull (Talk/Contribs) 05:09, 28 November 2006 (CST)

I'm game. Shane (T - C - E) 13:57, 28 November 2006 (CST)
I added the new parameters, is there a way of making it look a bit neater on the pages though? as you can see here the text is squished up against the edges rather than being 50/50 across --Mercifull (Talk/Contribs) 05:12, 30 November 2006 (CST)
Fixed and I have {{age}} online to work out age: {{age|1982|5|3}} Shane (T - C - E) 10:00, 30 November 2006 (CST)
Is it just me, or does no one use {{age}}? It's quite useful, and maybe it should be incorporated into this template. --Catrope 13:48, 24 February 2007 (CST)
I figured a lot of the templates would have to change. I'll post an example of what would be required to change for this to work. Shane (T - C - E) 13:58, 24 February 2007 (CST)

Code be code John Colicos:

{{Star Data
| image = John_Colicos.jpg
| born_month= 12
| born_day= 10
| born_year= 1928
| death_month= 3
| death_day= 6
| death_year= 2000
| character= [[Baltar (TOS)|Lord Baltar]] 
| nationality= CA
| site=
| imdb= 0171475
}}
  • born_month, born_day, and born_year: If these fields are filled out {{Birth date and age}}. This will be overridden if all three death dates are entered and revert to just the date, and use templates to show the date.
  • death_month, death_day, and death_year: If these fields are filled out {{Death date and age}} will output actors death age. It will not update the age as the days go on.
A bitch to code, I agree, but I'm willing to try nevertheless. I will have to create a temporary template again (see also discussion below), and my gut feeling says {{ifdef}} will be useful. --Catrope 14:44, 24 February 2007 (CST)
I already got the code in my head, we just all have to discuss this first. It has to be agreed upon because then there is a TON of pages to update. Tons. Shane (T - C - E) 14:50, 24 February 2007 (CST)
Alright, I agree anyway. Maybe call a vote on this? --Catrope 14:58, 24 February 2007 (CST)
User:Shane/Testing Area has the code and example. Shane (T - C - E) 11:27, 25 February 2007 (CST)
Just to let those people know, I am going to update the main code tonight, so this is a project for me. Hope you come an join in! Shane (T - C - E) 17:19, 18 April 2007 (CDT)
I'd love to help, but I've been busy with my first proposed policy this afternoon. I will try to do some dates this evening. --Catrope(Talk to me or e-mail me) 10:26, 19 April 2007 (CDT)
Managed to do 22 of them. Currently, the first 60 in the list are done, out of roughly 250. Category:Cast has 276 members however, weird ^^. Anyway, I'm off to bed, will continue tomorrow (if Shane hasn't done them all by then). --Catrope(Talk to me or e-mail me) 16:27, 19 April 2007 (CDT)
I'll finshed where you left off. :-) Shane (T - C - E) 16:39, 19 April 2007 (CDT)

Dual nationality

Silly Dan requested that the infobox for an actor specify two nationalities. Because I couldn't edit this template (locked for obvious security reasons), I created a new template with an extra parameter for a second nationality. It's up and working, so could someone with admin access incorporate this parameter into this template? (Preferably Shane, he'll be able to see whether my template inadvertently breaks anything.) --Catrope 13:48, 24 February 2007 (CST)

Good idea, but actors are really only one primary nationality. We record where their born, not where they hold citizenship. Also, if you want to make a suggestion to a template, post it here first and we can work on it. For obvious reasons the other template you created was deleted because we can already do that without a template. I can see about adding a field that changes the nationally into an input to add more than one flag. Shane (T - C - E) 13:53, 24 February 2007 (CST)
I see. If specifying multiple nationalities is not supposed to happen in the first place, that's OK. I agree a new template wasn't necessary, but since I can't edit the existing template, I decided to copy&edit it to {{Star data multinational}} as a temporary solution, until you could merge my parameter into the primary template. --Catrope 13:59, 24 February 2007 (CST)
The problem with this also, if your born in America your American. If your born in Canada, your Canadian. You come to the US your a US Cit, but that's not your nationality. So this might be moot. Maybe not upgrade the nationality field, but create a citizenship field. Shane (T - C - E) 14:07, 24 February 2007 (CST)
That's not only a good idea, but also much cleaner and simpler to implement. It doesn't need {{ifdef}}, for one thing. On a side note, wouldn't it be useful to keep {{ifdef}} around just in case? --Catrope 14:13, 24 February 2007 (CST)
No. The avg. user, at least here, doesn't ever use templates. Shane (T - C - E) 14:16, 24 February 2007 (CST)
I know that, but for us template makers, {{ifdef}} has the potential to make life easier and templates cleaner. --Catrope 14:17, 24 February 2007 (CST)

Vote

Proposed addition of fields birth_day, birth_month, birth_year, death_day, death_month and death_year to this template, in order to automatically calculate an actor's age. See also the discussion above and a working example. The code is ready for use, but loads of pages would have to be updated.

  • Date Started: Tuesday, March 6, 2007 at 12:00 (UTC)
  • Date Ending: Tuesday, March 13, 2007 at 12:00 (UTC)

Instructions: Use {{Support}}, {{Oppose}}, {{Abstain}}, and {{Neutral}}, supported by a reason and appropriately signed using the four tildes (~~~~).

Other users are encouraged to vote as well, simply use {{vote}} to add your vote. Refer to Template:Vote for complete instructions.

  1. Joe Beaudoin Jr. - Support. Why not? -- Joe Beaudoin So say we all - Donate 09:41, 6 March 2007 (CST)
  2. CalculatinAvatar - Abstain. Automatic leave of absence due to inactivity.
  3. Day - Abstain. Automatic leave of absence due to inactivity.
  4. FrankieG - Support --FrankieG 10:18, 6 March 2007 (CST)
  5. Mercifull -
  6. April Arcus -
  7. Serenity - Support --Serenity 09:46, 6 March 2007 (CST)
  8. Shane - Support Shane (T - C - E) 09:42, 6 March 2007 (CST)
  9. Spencerian -
  10. Steelviper - Support Resistance is futile. --Steelviper 09:45, 6 March 2007 (CST)
  11. Talos -
  12. Catrope - Support It's a nice improvement, and I volunteer for updating the actor pages. --Catrope 09:32, 6 March 2007 (CST)

Reason for Move

Because we are adding the new fields to the template on everyone's page is to add the dates sperate so the age is figured out automaticly. But how the heck will we know which ones are done and which ones are? Well simple.

Take this as an example...

I am working from the list from top down, mercifull was working on it from bottom up. So start in the middle. While your at it, also check the categories to make sure everything is in order.

Hope I made this clear! Shane (T - C - E) 04:43, 20 April 2007 (CDT)

Problem With Series 2 Parameter

When I was updating some of the infoboxes for actors that appeared in both BSG [RDM] and in the prequel series Caprica, I noticed that if I used the parameters "series" for RDM and "series 2" for Caprica, that one of the categories added to the bottom of the page would be TOS. Why is TOS being added as a category when the TOS identifier isn't used anywhere in the infobox? To see this error for yourself, just look at the Christian Tessier page, go to edit, disable the "nocat" parameter (remove the y) and click on the show preview button. Once the preview is loaded, look at the bottom of the page and you will see TOS as a category, even though the actor in question was never on TOS and none of the series codes used should be linked to TOS. If someone could explain why this happening and fix it so that it stops happening, I would greatly appreciate it. --JoyaOscura 04:00, 10 February 2010 (UTC)Reply

Probably a syntax issue... I'll look into it a bit later. Thank you for the heads-up! -- Joe Beaudoin So say we all - Donate - Battlestar Pegasus 04:06, 10 February 2010 (UTC)Reply
Fixed. I don't see any other issues, but if some arise, just let us know! Thanks again, Joya! -- Joe Beaudoin So say we all - Donate - Battlestar Pegasus 20:26, 10 February 2010 (UTC)Reply

Defaultsort bug

If the sortkey parameter is not specified, the page will be sorted incorrectly, under {{sortkey}}. You should change it to: {{#if:{{{sortkey|}}}|{{DEFAULTSORT:{{{sortkey}}}}}}} Nx 09:32, 2 December 2010 (UTC)Reply

Bugfix implemented! Thank you, Nx! -- Joe Beaudoin So say we all - Donate 16:10, 2 December 2010 (UTC)Reply