Template:ImageLinkTV: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
annotations
No edit summary
(annotations)
Line 1: Line 1:
<includeonly>{{#switch:{{NAMESPACE}}
<!--
 
A few words about philosophy.  The first part of this template -- that is, the bit that works on category pages, looks for the third-to-last word in the category page title.  This is because all these categories should be in the format "<story name> media something images".  So, TV story image, comic story images, CON episode images, whatever.  All you have to do is simply change the result based on whether it detects "TV", "CON", "comic" or what have you.  The only thing doesn't work for is the TVM.  Thus, the second switch here really is just checking for the TVM.  If later on down the line we find other exceptions, we can add them to the second switch (that is, the one immediately after Category=).  Don't think there will be other exceptions, but there's an allowance for it, anyway.
 
--><includeonly>{{#switch:{{NAMESPACE}}
|Category={{#switch:{{PAGENAME}}
|Category={{#switch:{{PAGENAME}}
|Doctor Who (1996) TV story images=<div id="license"><div id="ssh">The images below come from, or are related to, the [[Doctor Who universe|''Doctor Who'' universe]] televised story, [[Doctor Who (1996)|''Doctor Who'' (1996)]].</div>
|Doctor Who (1996) TV story images=<div id="license"><div id="ssh">The images below come from, or are related to, the [[Doctor Who universe|''Doctor Who'' universe]] televised story, [[Doctor Who (1996)|''Doctor Who'' (1996)]].</div>
85,404

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.