Template:ImageLinkTV/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "{{tl|StoryImages}} is a template that works differently in different namespaces. In the category namespace it provides a link to the story page from which the images are dra...")
 
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 like this:
{{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.
[[file:ImagesAvailable.png]]
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|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]].
==Example==
[[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.

Revision as of 05:33, 18 February 2012

{{StoryImages}} is a template that works differently in different namespaces. 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 is easy. Just place {{StoryImages}} on both the story page and the related category page. So, you'd put {{StoryImages}} on both Castrovalva (TV story) and Category:Castrovalva TV story images.

Example

ImagesAvailable.png

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.