Template:Store variant data: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(Created page with "{{#invoke:Bongolium500/story cite|variantStore|{{FULLPAGENAME}}}}")
 
No edit summary
Line 1: Line 1:
{{#invoke:Bongolium500/story cite|variantStore|{{FULLPAGENAME}}}}
{{#invoke:Bongolium500/story cite|variantStore|{{FULLPAGENAME}}}}<noinclude>'''{{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:
<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 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>
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.
 
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.</noinclude>

Revision as of 22:07, 4 March 2023

Script error: No such module "Bongolium500/story cite".{{Store variant data}} is a template intended to be used with {{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:

{{User:Bongolium500/store variant data|variant=name of the variant|release year=year of the variant's release}}

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

{{User:Bongolium500/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.