Template:Infobox Story SMW/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m
Correcting typos.
m (Correcting typos.)
Line 7: Line 7:
** In more complex scenarios, such as when parentheticals and/or footnotes are used, or if {{tlx|il}} is used, <tt>|writer=</tt> should be set as above, without links, parentheticals, footnotes or templates like {{tlx|il}}. In addition, <tt>|contributors=</tt> should be set with the old text of <tt>|writer=</tt>, including all parentheticals, footnotes, templates and links that were used. This parameter will be used as the display text.
** In more complex scenarios, such as when parentheticals and/or footnotes are used, or if {{tlx|il}} is used, <tt>|writer=</tt> should be set as above, without links, parentheticals, footnotes or templates like {{tlx|il}}. In addition, <tt>|contributors=</tt> should be set with the old text of <tt>|writer=</tt>, including all parentheticals, footnotes, templates and links that were used. This parameter will be used as the display text.
* <tt>|publisher=</tt>, <tt>|publisher2=</tt> and <tt>|publisher3=</tt> should be merged into <tt>|publisher=</tt> as an unlinked, comma separated list, if they are used.
* <tt>|publisher=</tt>, <tt>|publisher2=</tt> and <tt>|publisher3=</tt> should be merged into <tt>|publisher=</tt> as an unlinked, comma separated list, if they are used.
* Links should be removed from <tt>|anthology=</tt>, <tt>audio anthology=</tt> and <tt>|network=</tt>, if they are used. If there are mutliple items for any of these fields, use a comma separated list.
* Links should be removed from <tt>|anthology=</tt>, <tt>audio anthology=</tt> and <tt>|network=</tt>, if they are used. If there are multiple items for any of these fields, use a comma separated list.
* If any of the individual items (even if it is the only item) in <tt>|writer=</tt>, <tt>|publisher=</tt>, <tt>|anthology=</tt>, <tt>audio anthology=</tt> or <tt>|network=</tt> contain a comma, set <tt>|separator=</tt> to some other suitable deliminator, such as "<tt>;</tt>", and replace all commas used for separating items in each of those fields with this new separator.
* If any of the individual items (even if it is the only item) in <tt>|writer=</tt>, <tt>|publisher=</tt>, <tt>|anthology=</tt>, <tt>audio anthology=</tt> or <tt>|network=</tt> contain a comma, set <tt>|separator=</tt> to some other suitable deliminator, such as "<tt>;</tt>", and replace all commas used for separating items in each of those fields with this new separator.
* Simple [[T:DAB|dab terms]] are automatically removed from the display text of the unlinked fields mentioned so far. In more complex scenarios, custom display text can be specified by adding "<nowiki>{{!}}</nowiki>" after the unlinked page name, followed by the display text. Note that any pipes ("|") that appear in the display text should also be replaced with "<nowiki>{{!}}</nowiki>". For example, to produce [[2 entertain|2|entertain]], you would type "<tt><nowiki>2 entertain{{!}}2{{!}}entertain</nowiki></tt>".
* Simple [[T:DAB|dab terms]] are automatically removed from the display text of the unlinked fields mentioned so far. In more complex scenarios, custom display text can be specified by adding "<nowiki>{{!}}</nowiki>" after the unlinked page name, followed by the display text. Note that any pipes ("|") that appear in the display text should also be replaced with "<nowiki>{{!}}</nowiki>". For example, to produce [[2 entertain|2|entertain]], you would type "<tt><nowiki>2 entertain{{!}}2{{!}}entertain</nowiki></tt>".
Line 16: Line 16:
As previously mentioned, data collected from this template is used to produce the additional information that forms the core of {{tlx|cite source}}. While this usually works fine without making any adjustments, sometimes it doesn't; in those cases, the additional information can be customised.  
As previously mentioned, data collected from this template is used to produce the additional information that forms the core of {{tlx|cite source}}. While this usually works fine without making any adjustments, sometimes it doesn't; in those cases, the additional information can be customised.  


The source's series is normally taken from <tt>|range=</tt> or <tt>|series=</tt>, in that order of preference. If these fail to produce satisfactory text, custom series text can be set using <tt>|citation series=</tt>. This parameter is not displayed anywhere in the infobox: it's only used in {{tlx|cite source}}, and it can contain arbritary wiki markup. Very common series overrides can be set globally to apply to all pages according to the documentation at [[Module:Cite source/series overrides]].
The source's series is normally taken from <tt>|range=</tt> or <tt>|series=</tt>, in that order of preference. If these fail to produce satisfactory text, custom series text can be set using <tt>|citation series=</tt>. This parameter is not displayed anywhere in the infobox: it's only used in {{tlx|cite source}}, and it can contain arbitrary wiki markup. Very common series overrides can be set globally to apply to all pages according to the documentation at [[Module:Cite source/series overrides]].


The entire additional information text can be overridden fully using <tt>|citation text=</tt>. This parameter is not displayed anywhere in the infobox, only in {{tlx|cite source}}. It can contain arbritary wiki markup.
The entire additional information text can be overridden fully using <tt>|citation text=</tt>. This parameter is not displayed anywhere in the infobox, only in {{tlx|cite source}}. It can contain arbitrary wiki markup.


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.