Template:Store variant data: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
Replaced content with "{{#invoke:Bongolium500/story cite|variantStore|{{FULLPAGENAME}}}}<noinclude>{{TempInUse}}{{documentation}}</noinclude>"
No edit summary
(Replaced content with "{{#invoke:Bongolium500/story cite|variantStore|{{FULLPAGENAME}}}}<noinclude>{{TempInUse}}{{documentation}}</noinclude>")
Tag: Replaced
Line 1: Line 1:
{{#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:
{{#invoke:Bongolium500/story cite|variantStore|{{FULLPAGENAME}}}}<noinclude>{{TempInUse}}{{documentation}}</noinclude>
<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>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.