Template:ImageLinkTV/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
Line 1: Line 1:
{{tl|StoryImages}} is a template that works differently in different [[namespace]]s.  In the category namespace it provides a link to the story page from which the images are drawn.  In the main namespace, it provides a little tag that looks. Users can then click on that image and go to the relevant category of images.
'''{{tl|ImageLink}}''', formerly known as {{tl|StoryImages}}, is a template that works differently in different [[namespace]]s.  In the category namespace it provides a link to the story page from which the images are drawn.  In the main namespace, it provides a little tag that looks. Users can then click on that image and go to the relevant category of images.
==Usage==
==Usage==
Usage is easy.  Just place {{tl|StoryImages}} on both the story page and the related category page.  So, you'd put {{tl|StoryImages}} on both [[Castrovalva (TV story)]] and [[:Category:Castrovalva TV story images]].
Usage is easy.  Just place {{tl|ImageLink}} on both the story page and the related category page.  So, you'd put {{tl|ImageLink}} on both [[Castrovalva (TV story)]] and [[:Category:Castrovalva TV story images]].
==Example==
==Example==
[[file:ImagesAvailable.png|frame|left]]
[[file:ImagesAvailable.png|frame|left]]
It's impossible to show all that this template does in the template namespace, because it's not designed to work in this namespace.  But the tag which is displayed on a story page is shown at left.
It's impossible to show all that this template does in the template namespace, because it's not designed to work in this namespace.  But the tag which is displayed on a story page is shown at left.
85,404

edits

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