Template:Store variant data/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "'''{{tlx|{{PAGENAME}}}}''' is a template intended to be used with {{tlx|Bongolium500/cite source}}, specifically the variant citing feature. To use it, place the following either directly below the infobox or in a section specifically about the variant: <pre>{{User:Bongolium500/store variant data|variant=name of the variant|release year=year of the variant's release}}</pre> For example, to define variant information for t...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''{{tlx|{{PAGENAME}}}}''' is a template intended to be used with {{tlx|Bongolium500/cite source}}, specifically the [[User:Bongolium500/cite source#Citing variants|variant citing]] feature. To use it, place the following either directly below the infobox or in a section specifically about the variant:
'''{{tlx|{{PAGENAME}}}}''' is a template intended to be used with {{tlx|Cite source}}, specifically the [[Template:Cite source#Citing variants|variant citing]] feature. To use it, place the following either directly below the infobox or in a section specifically about the variant:
<pre>{{User:Bongolium500/store variant data|variant=name of the variant|release year=year of the variant's release}}</pre>
<pre>{{Store variant data|variant=name of the variant|series=series that the variant is part of|anthology=anthology that the series is part of|publisher=publisher of the variant|network=television network of the variant|release year=year of the variant's release}}</pre>All parameters other than <tt>|variant=</tt> are optional.
 
For example, to define variant information for the [[1995 (releases)|1995]] special edition of ''[[The Five Doctors (TV story)|The Five Doctors]]'', you'd type the following:
For example, to define variant information for the [[1995 (releases)|1995]] special edition of ''[[The Five Doctors (TV story)|The Five Doctors]]'', you'd type the following:
<pre>{{User:Bongolium500/store variant data|variant=special edition|release date=1995}}</pre>
<pre>{{Store variant data|variant=special edition|release date=1995}}</pre>
The name provided to the <tt>|variant=</tt> parameter is then used when citing this variant. Currently, the only variant data collected by this template is the release year. More may be added in future.
The name provided to the <tt>|variant=</tt> parameter is then used when citing this variant. Currently, the only variant data collected by this template is the release year. More may be added in future.



Latest revision as of 15:26, 27 May 2023

{{Store variant data/doc}} is a template intended to be used with {{Cite source}}, specifically the variant citing feature. To use it, place the following either directly below the infobox or in a section specifically about the variant:

{{Store variant data|variant=name of the variant|series=series that the variant is part of|anthology=anthology that the series is part of|publisher=publisher of the variant|network=television network of the variant|release year=year of the variant's release}}

All parameters other than |variant= are optional.

For example, to define variant information for the 1995 special edition of The Five Doctors, you'd type the following:

{{Store variant data|variant=special edition|release date=1995}}

The name provided to the |variant= parameter is then used when citing this variant. Currently, the only variant data collected by this template is the release year. More may be added in future.

Note that this template produces no visible output. To check it is functioning, you can check the "facts" box at the bottom of the page. Look for the "story info" row. If 2 or more story infos are listed, one of which starts with the variant name you defined, the template is likely working as intended.

It is possible to use this template as many times as required to define multiple variants for the same page.