Template:Wales crew/doc

As of Tuesday August 27 2024 this template is still being tinkered with. Nevertheless, it is basically functional. It is now being adjusted for the differential between the Steven Moffat era and the RTD era. This involves the addition of a lot of alternate title names for the same jobs, and the addition of several credits that were not usually credited, but which might have appeared in a single episode. If you use this template and discover a credit that has no variable, create your own variable name, then please leave a note on the talk page, indicating what variable needs to be added to the template.

IMPORTANT NOTE: As of the time listed above, this template is introducing awkward white space when it encounters a variable that is not defined on the current page. Thus you will see different areas of white space on The Eleventh Hour than you will on Tooth and Claw or Journey's End. This error is correctable. However, the priority is on entering new variables, which is made easier by temporarily allowing this white space problem. The white space will eventually be eliminated.


 * Please note that the template has a highly complex syntax, and the misplacement of a single character can break it. If you are not familiar with editing templates with parser functions, please do not attempt to edit this template yourself.

This template will allow for the much quicker entry of crew lists for the BBC Wales version of Doctor Who. It might be possible to use with other shows, but there are no guarantees that it will produce the precise job title used by other shows.

Usage
To use this template, simply copy the entire text below, paste it to crew section of the episode page you wish to improve, and fill out the form. Do not put the crew member's name in brackets; this template will automatically link both the job title and the people credited. If a person has a disambiguated name, like Adam Smith (director), the (director) part must be included for proper linkage.

The order of these variables was originally based on end credits for The Eleventh Hour. This made it simple to go from the top of the credits right down to the end. However, the same credits are not given for every episode of Doctor Who, nor has the order of the credits been consistent across time. The production manager, for instance, has variously been listed near the top of the credits and near the very end. For this reason, there are a few variables that won't be in the order you see them in any particular set of credits. You may have to hunt a bit to find the variable you're looking for. Still, this is faster than having to type it all out with proper linkage syntax. (Firefox, at least, will allow you to search within the input box, so if you don't find the variable, type the first few letters into the "find" box.)

To do

 * Ultimately, once all the variables are in, the entire second table in this thing has to be collapsed into three paragraphs representing the three columns. They can't have any line breaks between each line; otherwise, "empty" variables will produce a line break.
 * The business of auto-truncation of the diambiguated part of a name might be outside the limitations of wikia software, when combined with parser functions. Will look into this some more, but we might have to live with Adam Smith (director) instead of getting Adam Smith