|
|
Line 10: |
Line 10: |
| These assumptions can both be changed. | | These assumptions can both be changed. |
| ===Simplest case=== | | ===Simplest case=== |
| In most instances, you would just place {{tlx|job table}} on a page and be done with it. As long as the page name matches the name of the [[Special:Properties|property}} name, you don't really need to do much else. | | In most instances, you would just place {{tlx|job table}} on a page and be done with it. As long as the page name matches the name of the [[Special:Properties|property]] name, you don't really need to do much else. |
|
| |
|
| If I typed {{tlx|job table}} on the page [[3D artist]], it will automatically generate a table which was formatted like the rest of our infoboxes and tables. On the list would be all the 3D artists who had '''been credited on''' any episode of any television show that this wiki covers. | | If I typed {{tlx|job table}} on the page [[3D artist]], it will automatically generate a table which was formatted like the rest of our infoboxes and tables. On the list would be all the 3D artists who had '''been credited on''' any episode of any television show that this wiki covers. |
Line 20: |
Line 20: |
| The list '''always''' appears in a collapsed state — a condition which '''cannot''' be changed by using this template. Also the list is organised in alphabetical order of '''the title of the story''', but it respects {{tlx|TitleSort}}. This means that {{w|article (grammar)|}}s at the beginning of titles are not considered during alphabetisation. | | The list '''always''' appears in a collapsed state — a condition which '''cannot''' be changed by using this template. Also the list is organised in alphabetical order of '''the title of the story''', but it respects {{tlx|TitleSort}}. This means that {{w|article (grammar)|}}s at the beginning of titles are not considered during alphabetisation. |
| == More complicated cases == | | == More complicated cases == |
| ===When the {{tlx|PAGENAME}} doesn't match the property name === | | ===When the <code><nowiki>{{PAGENAME}}</nowiki></code> doesn't match the property name === |
| Maybe the name of the page you're working on is [[visual effects producer]] but the property is [[Property:VFX producer]]. In this case, you'll have to make a slight modification: {{tlx|job table|job1=VFX producer}}. This ability to change the property name comes in handy when you want to drop on of these tables onto a completely different page, as was done above with the table of writers. | | Maybe the name of the page you're working on is [[visual effects producer]] but the property is [[Property:VFX producer]]. In this case, you'll have to make a slight modification: {{tlx|job table|job1{{=}}VFX producer}}. This ability to change the property name comes in handy when you want to drop on of these tables onto a completely different page, as was done above with the table of writers. |
| === When there's a ''lot'' of output === | | === When there's a ''lot'' of output === |
| For some of the more ubiquitous titles, like [[writer]], you'll probably want to break the table down into smaller tables — logically, one for each show. Or maybe you're working on a series page where you want to show only the writers for that particular series. In these cases you'll want to narrow the category down. For instance, {{tlx|job table|job1=DOP|cat=Series 5 (Doctor Who) stories}} will show you all the [[DOP|directors of photography]] for series 5. | | For some of the more ubiquitous titles, like [[writer]], you'll probably want to break the table down into smaller tables — logically, one for each show. Or maybe you're working on a series page where you want to show only the writers for that particular series. In these cases you'll want to narrow the category down. For instance, {{tlx|job table|job1{{=}}DOP|cat{{=}}Series 5 (Doctor Who) stories}} will show you all the [[DOP|directors of photography]] for series 5. |
| {{job table|job1=DOP|cat=series 5 (Doctor Who) stories}} | | {{job table|job1=DOP|cat=series 5 (Doctor Who) stories}} |
| ==Limitations== | | ==Limitations== |
{{Job table/doc}} is one of four templates used to create tables which list the episodes that have had a particular credit. The other templates in this series — all of which are required for the final product — are:
- {{job table head}}, the template that creates the table headers
- {{job table foot}}, the template that closes the template
- {{job table core}}, the template that formats the data in the main body of the template
- {{job table}}, the template that actually gets put on pages
Usage
Default variables
By default, this template assumes that it is working on all pages within the broad category, category:television stories. It also assumes that you are attempting to tabulate information about the property that has the same name as the page name.
These assumptions can both be changed.
Simplest case
In most instances, you would just place {{job table}} on a page and be done with it. As long as the page name matches the name of the property name, you don't really need to do much else.
If I typed {{job table}} on the page 3D artist, it will automatically generate a table which was formatted like the rest of our infoboxes and tables. On the list would be all the 3D artists who had been credited on any episode of any television show that this wiki covers.
You can see this most dramatically by choosing a more ubiquitous title like writer.
Story
|
Job table/doc
|
24 Carat |
Pete McTighe
|
42 |
Chris Chibnall
|
73 Yards |
Russell T Davies
|
The Abominable Snowmen |
Mervyn Haisman, Henry Lincoln
|
Adam |
Catherine Tregenna
|
Adrift |
Chris Chibnall
|
An Adventure in Space and Time |
Mark Gatiss
|
Aeolian |
Dave Warner
|
The Age of Steel |
Tom MacRae
|
Alien Avatar |
Graeme Farmer
|
Aliens of London |
Russell T Davies
|
The Almost People |
Matthew Graham
|
The Ambassadors of Death |
David Whitaker
|
Amy's Choice |
Simon Nye
|
Analysis Lessons |
Tom MacRae, Felix Barett
|
The Android Invasion |
Terry Nation
|
The Androids of Tara |
David Fisher (writer)
|
Angel of the North |
Bob Baker
|
The Angels Take Manhattan |
Steven Moffat
|
Arachnids in the UK |
Chris Chibnall
|
Arc of Infinity |
Johnny Byrne
|
The Ark |
Paul Erickson, Lesley Scott
|
The Ark in Space |
Robert Holmes
|
The Armageddon Factor |
Bob Baker, Dave Martin, Douglas Adams
|
Army of Ghosts |
Russell T Davies
|
Ascension of the Cybermen |
Chris Chibnall
|
Asylum of the Daleks |
Steven Moffat
|
Attack of the Cybermen |
Paula Moore
|
The Awakening |
Eric Pringle
|
The Aztecs |
John Lucarotti
|
Bad Night (h |
Steven Moffat
|
Bad Wolf |
Russell T Davies
|
The Battle of Demons Run: Two Days Later |
Steven Moffat
|
The Battle of Ranskoor Av Kolos |
Chris Chibnall
|
Battlefield |
Ben Aaronovitch
|
The Beast Below |
Steven Moffat
|
Before the Flood |
Toby Whithouse
|
The Bells of Saint John |
Steven Moffat
|
The Bells of Saint John: A Prequel |
Steven Moffat
|
The Big Bang |
Steven Moffat
|
Black Hunger |
Chris Roache
|
Black Orchid |
Terence Dudley
|
Blink |
Steven Moffat
|
The Blood Line |
Russell T Davies, Jane Espenson
|
Boom |
Steven Moffat
|
Boom Town |
Russell T Davies
|
Born Again |
Russell T Davies
|
The Bounty Hunter |
Ian McFadyen
|
Brain Trafficking |
Steven Moffat
|
Brave-ish Heart |
Patrick Ness
|
The Cambridge Spy |
Jason Bourque
|
Can You Hear Me? |
Chris Chibnall, Charlene James
|
Captain Jack Harkness |
Catherine Tregenna
|
The Caretaker |
Steven Moffat, Gareth Roberts
|
Carnival of Monsters |
Robert Holmes
|
Castrovalva |
Christopher H. Bidmead
|
The Categories of Life |
Jane Espenson
|
The Caves of Androzani |
Robert Holmes
|
The Celestial Toymaker |
Brian Hayles
|
The Chase |
Terry Nation
|
Children in Need 2003 |
Jon Culshaw, Nev Fountain
|
Children of Earth: Day Five |
Russell T Davies
|
Children of Earth: Day Four |
John Fay
|
Children of Earth: Day One |
Russell T Davies
|
Children of Earth: Day Three |
Russell T Davies, James Moran
|
Children of Earth: Day Two |
John Fay
|
A Christmas Carol |
Steven Moffat
|
The Christmas Invasion |
Russell T Davies
|
The Church on Ruby Road |
Russell T Davies
|
Chute! Episode 9 |
Ross Lee, Dermot Canterbury
|
Cinema Introduction to The Day of the Doctor (theatr |
Steven Moffat
|
City of Death |
David Agnew (writer)
|
Clara and the TARDIS (h |
Steven Moffat
|
Clarence and the Whispermen (h |
Steven Moffat
|
The Claws of Axos |
Bob Baker, Dave Martin
|
Closing Time |
Gareth Roberts
|
Clown Court special |
Noel Edmonds
|
Co-Owner of a Lonely Heart |
Patrick Ness
|
The Coach with the Dragon Tattoo |
Patrick Ness
|
Cold Blood |
Chris Chibnall
|
Cold War |
Mark Gatiss
|
Colony in Space |
Malcolm Hulke
|
Combat |
Noel Clarke
|
Comic Relief 2007 |
Catherine Tate
|
Countrycide |
Chris Chibnall
|
The Creature from the Pit |
David Fisher (writer)
|
The Crimson Horror |
Mark Gatiss
|
The Crusade |
David Whitaker
|
The Crusade (h |
Stephen Cole
|
Curse of Anubis |
Jim Noble
|
The Curse of Clyde Langer |
Phil Ford
|
The Curse of Fatal Death |
Steven Moffat
|
The Curse of Fenric |
Ian Briggs
|
The Curse of Fenric (TotT |
Pete McTighe
|
The Curse of Peladon |
Brian Hayles
|
The Curse of the Black Spot |
Steve Thompson
|
The Custodians |
Shayne Armstrong, S. P. Krause
|
Cyberwoman |
Chris Chibnall
|
Dalek |
Robert Shearman
|
The Dalek Invasion of Earth |
Terry Nation
|
The Daleks |
Terry Nation
|
The Daleks in Colour |
Terry Nation
|
Daleks in Manhattan |
Helen Raynor
|
The Daleks' Master Plan |
Terry Nation, Dennis Spooner
|
Dark Water |
Steven Moffat
|
Day One |
Chris Chibnall
|
A Day in the Death |
Joseph Lidster
|
The Day of the Clown |
Phil Ford
|
Day of the Daleks |
Louis Marks
|
The Day of the Doctor |
Steven Moffat
|
Day of the Moon |
Steven Moffat
|
Dead Man Walking |
Matt Jones (writer)
|
Dead of Night |
Jane Espenson
|
The Deadly Assassin |
Robert Holmes
|
Death Is the Only Answer |
The Children of Oakley Junior School
|
Death in Heaven |
Steven Moffat
|
Death of the Doctor |
Russell T Davies
|
Death to the Daleks |
Terry Nation
|
Deep Breath |
Steven Moffat
|
Defenders of Earth |
Pete McTighe
|
Delta and the Bannermen |
Malcolm Kohll
|
Demons of the Punjab |
Vinay Patel
|
Dermot and the Doctor |
Steven Moffat
|
Destination: Skaro |
Russell T Davies
|
Destiny of the Daleks |
Terry Nation
|
Detained |
Patrick Ness
|
The Devil's Chord |
Russell T Davies
|
Dimensions in Time |
John Nathan-Turner, David Roden
|
Dinosaurs on a Spaceship |
Chris Chibnall
|
The Doctor Appears |
Steven Moffat
|
The Doctor Dances |
Steven Moffat
|
The Doctor Falls |
Steven Moffat
|
Doctor Who |
Matthew Jacobs
|
Doctor Who Live: The |
Paul Powell
|
Doctor Who and Crayola |
Victoria Wood
|
Doctor Who and the Silurians |
Malcolm Hulke
|
The (Doctor) Who |
Vic Reeves, Bob Mortimer
|
Doctor Who: The Bedtime Story |
Oliver Jeffers
|
The Doctor and the Reindeer |
Russell T Davies
|
The Doctor needs YOUR help! |
Chris Chibnall
|
The Doctor's Daughter |
Stephen Greenhorn
|
The Doctor's Meditation (theatr |
Steven Moffat
|
The Doctor's Wife |
Neil Gaiman
|
The Doctor, the Widow and the Wardrobe |
Steven Moffat
|
Doctors Assemble! |
James Goss
|
The Dominators |
Norman Ashby
|
Doomsday |
Russell T Davies
|
Dot and Bubble |
Russell T Davies
|
Dragonfire |
Ian Briggs
|
Dream-Eaters |
Jim Noble
|
Dreamland |
Phil Ford
|
Earthshock |
Eric Saward
|
Earthshock (TotT |
Russell T Davies
|
The Eaters of Light |
Rona Munro
|
The Eclipse of the Korven |
Shayne Armstrong, S. P. Krause
|
The Edge of Destruction |
David Whitaker
|
The Eleventh Hour |
Steven Moffat
|
Empire of Death |
Russell T Davies
|
Empress of Mars |
Mark Gatiss
|
The Empty Child |
Steven Moffat
|
The Empty Planet |
Gareth Roberts
|
End of Days |
Chris Chibnall
|
The End of Time |
Russell T Davies, Steven Moffat
|
End of the Road |
Jane Espenson, Ryan Scott (writer)
|
The End of the World |
Russell T Davies
|
Enemy of the Bane |
Phil Ford
|
The Enemy of the World |
David Whitaker
|
Enlightenment |
Barbara Clegg
|
Epsilon/A Fix with |
Eric Saward
|
Escape to LA |
John Shiban, Jim Gray
|
The Eternal Mystery |
Pete McTighe
|
The Eternity Trap |
Phil Ford
|
Eve of the Daleks |
Chris Chibnall
|
Everything Changes |
Russell T Davies
|
The Evil of the Daleks |
David Whitaker
|
Evolution of the Daleks |
Helen Raynor
|
Exit Wounds |
Chris Chibnall
|
Extras: The Special |
Stephen Merchant, Ricky Gervais
|
Extremis |
Steven Moffat
|
Eye of the Gorgon |
Phil Ford, Phil Gladwin
|
The Face of Evil |
Chris Boucher
|
Face the Raven |
Sarah Dollard
|
The Faceless Ones |
David Ellis, Malcolm Hulke
|
The Fall of the House of Gryffen |
Shayne Armstrong, S. P. Krause
|
The Family of Blood |
Paul Cornell
|
Father's Day |
Paul Cornell
|
Fear Her |
Matthew Graham
|
Fear Itself |
Everett DeRoche, Graeme Farmer
|
The Fires of Pompeii |
James Moran
|
First Night (h |
Steven Moffat
|
The Five Doctors |
Terrance Dicks
|
The Five(ish) Doctors Reboot |
Peter Davison
|
A Fix with Sontarans |
Eric Saward
|
A Fix with Sontarans (h |
Eric Saward
|
Flatline |
Jamie Mathieson
|
Flesh and Stone |
Steven Moffat
|
For Tonight We Might Die |
Patrick Ness
|
Forest of the Dead |
Steven Moffat
|
Four to Doomsday |
Terence Dudley
|
Fragments |
Chris Chibnall
|
Friend from the Future |
Steven Moffat
|
From Out of the Rain |
Peter J. Hammond
|
From Raxacoricofallapatorius with Love |
Gareth Roberts, Clayton Hickman
|
Frontier in Space |
Malcolm Hulke
|
Frontios |
Christopher H. Bidmead
|
Fugitive of the Judoon |
Chris Chibnall, Vinay Patel
|
Full Circle |
Andrew Smith (writer)
|
Fury from the Deep |
Victor Pemberton
|
Galaxy 4 |
William Emms
|
The Gathering |
John Fay
|
Genesis of the Daleks |
Terry Nation
|
The Genuine Article |
Dominic G. Martin
|
Get Off My Cloud |
Peter Phillips
|
Ghost Light |
Marc Platt
|
Ghost Machine |
Helen Raynor
|
The Ghost Monument |
Chris Chibnall
|
The Gift |
Rupert Laight
|
The Giggle |
Russell T Davies
|
The Girl Who Died |
Steven Moffat, Jamie Mathieson
|
The Girl Who Waited |
Tom MacRae
|
The Girl in the Fireplace |
Steven Moffat
|
A Girl's Best Friend |
Terence Dudley
|
Global Conspiracy? (h |
Mark Gatiss
|
The God Complex |
Toby Whithouse
|
A Good Man Goes to War |
Steven Moffat
|
Good Night (h |
Steven Moffat
|
Good as Gold |
The Children of Ashdene School
|
Goodbye, Sarah Jane Smith |
Gareth Roberts, Clayton Hickman
|
The Great Detective |
Steven Moffat
|
The Greatest Show in the Galaxy |
Stephen Wyatt
|
Greeks Bearing Gifts |
Toby Whithouse
|
The Green Death |
Robert Sloman
|
Gridlock |
Russell T Davies
|
The Gunfighters |
Donald Cotton
|
The Halloween Apocalypse |
Chris Chibnall
|
The Hand of Fear |
Bob Baker, Dave Martin
|
The Happiness Patrol |
Graeme Curry
|
The Haunting of Villa Diodati |
Maxine Alderton
|
Heaven Sent |
Steven Moffat
|
Hell Bent |
Steven Moffat
|
A Hero like the Doctor |
Steven Moffat
|
Hide |
Neil Cross
|
The Highlanders |
Gerry Davis, Elwyn Jones
|
The History of the Doctor |
Gareth Roberts
|
The Horns of Nimon |
Anthony Read
|
Horror of Fang Rock |
Terrance Dicks
|
Hound of the Korven |
Shayne Armstrong, S. P. Krause
|
Human Nature |
Paul Cornell
|
The Hungry Earth |
Chris Chibnall
|
The Husbands of River Song |
Steven Moffat
|
The Ice Warriors |
Brian Hayles
|
The Idiot's Lantern |
Mark Gatiss
|
Image of the Fendahl |
Chris Boucher
|
Immortal Sins |
Jane Espenson
|
The Impossible Astronaut |
Steven Moffat
|
The Impossible Planet |
Matt Jones (writer)
|
In the Forest of the Night |
Frank Cottrell-Boyce
|
Inferno |
Don Houghton
|
The Infinite Quest |
Alan Barnes
|
The Inforarium (h |
Steven Moffat
|
Into the Dalek |
Steven Moffat, Phil Ford
|
Invasion of Earth |
Kevin Davies
|
The Invasion of Time |
David Agnew (writer)
|
Invasion of the Bane |
Russell T Davies, Gareth Roberts
|
Invasion of the Dinosaurs |
Malcolm Hulke
|
The Invisible Enemy |
Bob Baker, Dave Martin
|
It Takes You Away |
Ed Hime
|
It's Showtime |
Algy Sharman, Al Brown, Steve Moss, Jo Finch
|
Jaws of Orthrus |
Lindsay James
|
Journey to the Centre of the TARDIS |
Steve Thompson
|
Journey's End |
Russell T Davies
|
The Keeper of Traken |
Johnny Byrne
|
Kerblam! |
Pete McTighe
|
The Keys of Marinus |
Terry Nation
|
The Kidnappers |
Mark Gatiss, David Walliams
|
Kill the Moon |
Peter Harness
|
Kinda |
Christopher Bailey
|
The King's Demons |
Terence Dudley
|
Kiss Kiss, Bang Bang |
Chris Chibnall
|
Knock Knock |
Mike Bartlett
|
The Korven |
Tim Pye
|
The Krotons |
Robert Holmes
|
Last Christmas |
Steven Moffat
|
The Last Day |
Steven Moffat
|
Last Night (h |
Steven Moffat
|
The Last Oak Tree |
Jim Noble
|
The Last Precinct |
Shayne Armstrong, S. P. Krause
|
The Last Sontaran |
Phil Ford
|
Last of the Time Lords |
Russell T Davies
|
The Lazarus Experiment |
Stephen Greenhorn
|
The Legend of Ruby Sunday |
Russell T Davies
|
Legend of the Sea Devils |
Chris Chibnall, Ella Road
|
The Leisure Hive |
David Fisher (writer)
|
Let's Kill Hitler |
Steven Moffat
|
Liberation |
Shayne Armstrong, S. P. Krause
|
Liberty Hall (h |
Karen Davies (producer)
|
The Lie of the Land |
Toby Whithouse
|
Listen |
Steven Moffat
|
The Lodger |
Gareth Roberts
|
Logopolis |
Christopher H. Bidmead
|
The Long Game |
Russell T Davies
|
The Lost |
Patrick Ness
|
The Lost Boy |
Phil Ford
|
Lost Library of Ukko |
Deborah Parsons
|
Lost in Time |
Rupert Laight
|
Love & Monsters |
Russell T Davies
|
The Macra Terror |
Ian Stuart Black
|
The Mad Woman in the Attic |
Joseph Lidster
|
The Magician's Apprentice |
Steven Moffat
|
The Making of the Gunslinger |
Toby Whithouse
|
The Man Who Never Was |
Gareth Roberts, Phil Ford
|
The Man from MI.5 |
Alan Fennell
|
Marco Polo |
John Lucarotti
|
The Mark of the Berserker |
Joseph Lidster
|
The Mark of the Rani |
Pip and Jane Baker
|
The Masque of Mandragora |
Louis Marks
|
The Massacre |
John Lucarotti, Donald Tosh
|
Mawdryn Undead |
Peter Grimwade
|
Meanwhile in the TARDIS (h |
Steven Moffat
|
Meat |
Catherine Tregenna
|
Meglos |
John Flanagan, Andrew McCulloch
|
Message from the Doctor |
Chris Chibnall
|
The Metaphysical Engine, or What Quill Did |
Patrick Ness
|
The Middle Men |
John Shiban
|
Midnight |
Russell T Davies
|
The Mind Robber |
Peter Ling
|
The Mind Robber (TotT |
Pete McTighe
|
Mind Snap |
Bob Baker, Paul Tams
|
The Mind of Evil |
Don Houghton
|
Mindwarp |
Philip Martin
|
Mission to the Unknown |
Terry Nation
|
Mona Lisa's Revenge |
Phil Ford
|
The Monster of Peladon |
Brian Hayles
|
The Moonbase |
Kit Pedler, Gerry Davis
|
Mummy on the Orient Express |
Jamie Mathieson
|
Music of the Spheres |
Russell T Davies
|
Mutant Copper |
John O'Brien (writer)
|
The Mutants |
Bob Baker, Dave Martin
|
The Mysterious Planet |
Robert Holmes
|
The Myth Makers |
Donald Cotton
|
The Naked Truth |
Steven Moffat
|
The Name of the Doctor |
Steven Moffat
|
New Earth |
Russell T Davies
|
The New World |
Russell T Davies
|
The Next Doctor |
Russell T Davies
|
Night Terrors |
Mark Gatiss
|
The Night of the Doctor |
Steven Moffat
|
A Night with the Stars |
Steve Thompson
|
The Nightmare Man |
Joseph Lidster
|
Nightmare in Silver |
Neil Gaiman
|
Nightmare of Eden |
Bob Baker
|
Nightvisiting |
Patrick Ness
|
Nikola Tesla's Night of Terror |
Nina Métivier
|
On Through the 80's! |
Tom Baker
|
Once, Upon Time |
Chris Chibnall
|
Oroborus |
Deborah Parsons
|
Orphan 55 |
Ed Hime
|
Out of Time |
Catherine Tregenna
|
Oxygen |
Jamie Mathieson
|
P.S. |
Chris Chibnall
|
The Pandorica Opens |
Steven Moffat
|
Pantheon of Discord (au |
Russell T Davies
|
Paradise Towers |
Stephen Wyatt
|
The Parting of the Ways |
Russell T Davies
|
Partners in Crime |
Russell T Davies
|
The Pilot |
Steven Moffat
|
"The Pilo |
Anthony Coburn
|
The Pirate Planet |
Douglas Adams
|
The Pitch of Fear |
Mark Gatiss, David Walliams
|
Planet of Evil |
Louis Marks
|
Planet of Fire |
Peter Grimwade
|
Planet of Giants |
Louis Marks
|
Planet of the Daleks |
Terry Nation
|
Planet of the Dead |
Russell T Davies, Gareth Roberts
|
Planet of the Ood |
Keith Temple
|
Planet of the Spiders |
Robert Sloman
|
The Poison Sky |
Helen Raynor
|
Police 5: The Master |
Kevin Davies
|
Pond Life |
Chris Chibnall
|
The Power of Kroll |
Robert Holmes
|
The Power of Three |
Chris Chibnall
|
The Power of the Daleks |
David Whitaker
|
The Power of the Doctor |
Russell T Davies, David Tennant, Chris Chibnall
|
Praxeus |
Chris Chibnall, Pete McTighe
|
Prequel to Asylum of the Daleks |
Steven Moffat
|
Prequel to Let's Kill Hitler |
Steven Moffat
|
Prequel to The Curse of the Black Spot |
Steve Thompson
|
Prequel to The Impossible Astronaut |
Steven Moffat
|
Prisoner of the Judoon |
Phil Ford
|
Prologue |
Steven Moffat
|
The Promise |
Pete McTighe
|
Proteus |
Bruce Reid Schaefer
|
The Pyramid at the End of the World |
Steven Moffat, Peter Harness
|
Pyramids of Mars |
Stephen Harris
|
Pyramids of Mars (TotT |
Russell T Davies
|
Rain Gods (h |
Neil Gaiman
|
Random Shoes |
Jacquetta May
|
The Real McCoy |
Meera Syal
|
The Rebel Flesh |
Matthew Graham
|
Regeneration |
Shayne Armstrong, S. P. Krause
|
The Reign of Terror |
Dennis Spooner
|
Remembrance of the Daleks |
Ben Aaronovitch
|
Rendition |
Doris Egan
|
The Rescue |
David Whitaker
|
Reset |
J. C. Wilsher
|
Resolution |
Chris Chibnall
|
Resurrection of the Daleks |
Eric Saward
|
The Return of Doctor Mysterio |
Steven Moffat
|
Return of the Autons |
Pete McTighe
|
Revelation of the Daleks |
Eric Saward
|
Revenge of the Cybermen |
Gerry Davis
|
Revenge of the Slitheen |
Gareth Roberts
|
Revolution of the Daleks |
Chris Chibnall
|
The Ribos Operation |
Robert Holmes
|
The Rings of Akhaten |
Neil Cross
|
Rise of the Cybermen |
Tom MacRae
|
Robot |
Terrance Dicks
|
Robot Gladiators |
Jim Noble
|
Robot of Sherwood |
Mark Gatiss
|
The Robots of Death |
Chris Boucher
|
Rogue |
Kate Herron, Briony Redman
|
The Romans |
Dennis Spooner
|
Rory's Story |
Neil Gaiman
|
Rosa |
Chris Chibnall, Malorie Blackman
|
Rose |
Russell T Davies
|
The Runaway Bride |
Russell T Davies
|
The Satan Pit |
Matt Jones (writer)
|
The Savages |
Ian Stuart Black
|
School Reunion |
Toby Whithouse
|
The Sea Devils |
Malcolm Hulke
|
Search Out Space |
Lambros Atteshlis, Berry-Anne Billingsley
|
Secret Code |
Joseph Lidster
|
The Secret of Novice Hame |
Russell T Davies
|
Secrets of the Stars |
Gareth Roberts
|
The Seeds of Death |
Brian Hayles
|
The Seeds of Doom |
Robert Banks Stewart
|
The Sensorites |
Peter R. Newman
|
Shada |
Douglas Adams
|
The Shakespeare Code |
Gareth Roberts
|
Silence in the Library |
Steven Moffat
|
Silver Nemesis |
Kevin Clarke
|
Sirens of Ceres |
Deborah Parsons
|
Sky |
Phil Ford
|
Sleep No More |
Mark Gatiss
|
Sleeper |
James Moran
|
Small Worlds |
Peter J. Hammond
|
Smile |
Frank Cottrell-Boyce
|
Smith and Jones |
Russell T Davies
|
The Smugglers |
Brian Hayles
|
Snakedance |
Christopher Bailey
|
The Snowmen |
Steven Moffat
|
Something Borrowed |
Phil Ford
|
The Sontaran Experiment |
Bob Baker, Dave Martin
|
The Sontaran Stratagem |
Helen Raynor
|
The Sound of Drums |
Russell T Davies
|
Space |
Steven Moffat
|
Space Babies |
Russell T Davies
|
The Space Museum |
Glyn Jones
|
The Space Pirates |
Robert Holmes
|
Spearhead from Space |
Robert Holmes
|
Sprout Boy meets a Galaxy of Stars |
Marc Hatfield
|
Spyfall |
Chris Chibnall
|
The Star Beast |
Russell T Davies
|
State of Decay |
Terrance Dicks
|
Step Into the 80's! |
Tom Baker
|
The Stolen Earth |
Russell T Davies
|
The Stones of Blood |
David Fisher (writer)
|
Storm Warning (au |
Alan Barnes
|
Summer Scene |
Rob Brydon
|
The Sun Makers |
Robert Holmes
|
Survival |
Rona Munro, Andrew Cartmel
|
Survivors of the Flux |
Chris Chibnall
|
Susan and the Daleks |
Kevin Davies
|
Sven and the Scarf |
Andrew Ireland
|
Symphony of the Daleks |
Steven Moffat
|
The Talons of Weng-Chiang |
Robert Holmes
|
Taphony and the Time Loop |
Graeme Farmer, Anthony Morris
|
T |
Gareth Roberts
|
Ta |
Gareth Roberts
|
Ta |
Gareth Roberts
|
Ta |
Gareth Roberts
|
Ta |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
T |
Gareth Roberts
|
The Temptation of Sarah Jane Smith |
Gareth Roberts
|
The Tenth Planet |
Kit Pedler, Gerry Davis
|
Terminus |
Steve Gallagher
|
Terror of the Autons |
Robert Holmes
|
Terror of the Vervoids |
Pip and Jane Baker
|
Terror of the Zygons |
Robert Banks Stewart
|
They Keep Killing Suzie |
Paul Tomalin, Dan McCulloch
|
Thin Ice |
Sarah Dollard
|
Think You've Seen It All... Think Again! |
Lisa Gledhill
|
The Three Doctors |
Bob Baker, Dave Martin
|
... further results
The list always appears in a collapsed state — a condition which cannot be changed by using this template. Also the list is organised in alphabetical order of the title of the story, but it respects {{TitleSort}}. This means that [[wikipedia:article (grammar)|]]s at the beginning of titles are not considered during alphabetisation.
More complicated cases
When the {{PAGENAME}}
doesn't match the property name
Maybe the name of the page you're working on is visual effects producer but the property is Property:VFX producer. In this case, you'll have to make a slight modification: {{job table|job1=VFX producer}}. This ability to change the property name comes in handy when you want to drop on of these tables onto a completely different page, as was done above with the table of writers.
When there's a lot of output
For some of the more ubiquitous titles, like writer, you'll probably want to break the table down into smaller tables — logically, one for each show. Or maybe you're working on a series page where you want to show only the writers for that particular series. In these cases you'll want to narrow the category down. For instance, {{job table|job1=DOP|cat=Series 5 (Doctor Who) stories}} will show you all the directors of photography for series 5.
Limitations
As of May 2012[update], there are a lot of limitations. At present, you can only categorise one element. This means you can't sort by the story number or the series number — nor can you put, say, directors and cinematographers in the same table — all of which would clearly be desirable. You also can't affect the titles in the headers.
However, none of these problems is likely insoluble. And there's certainly a way to do all of that with SMW, manually. These functionalities have merely not been integrated into this template as of yet.
How it works
This template is powered by SMW, a powerful extension to the standard MediaWiki software which allows the creation of truly relational data. A large part of the reason this template works is because properties have been applied to {{wales crew}}. This means that all the work that has been done on filling out credits on story pages has not been a vanity project. Now we are armed with a vast and complicated database of information about the people who have worked on Doctor Who since 1996. Our database on 1963-era Doctor Who still needs to be built.
Specifics of the template
This template uses a standard #ask: query, but then pumps the results through three additional templates. The head of the tables is created by {{job table head}}, while {{job table foot}} closes the table. The guts — that is, the nitty-gritty of format each row of text — is handled by {{job table core}}.
It looks like this:
1. {{#ask:[[Category:{{{cat|Television stories}}}]] [[{{{job1|{{PAGENAME}} }}}::+]]
2. | ? {{{job1|{{PAGENAME}} }}}
3. |limit=500
4. |format=template
5. |template=job table core
6. |introtemplate=job table head
7. |outrotemplate=job table foot
}}
To put this into plain English:
- asks of a category, usually Television stories, what are the names of all the people who did job1?
- creates a column with the names of the people who did the job1 (or, if undefined, the job with the name of the page)
- limits the output to 500 people
- sets the format of the output to template, meaning that it will pump the output through a template
- defines the name of the template handling the bulk of the data, in this case {{job table core}}
- defines which template is called before the first line of raw data. In other words, it calls the template that creates the template headers. At a minimum, this template must have {| in it.
- defines what comes after the last line of raw data. In other words, it call the template that closes the template. At a minimum, this template must have |} in it.