Template:Infobox Story SMW/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
Line 10: Line 10:
* 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>".
* Including the text "unkown", "various" or "unclear" as one of the things listed in these comma-separated fields will cause that thing to not be autolinked. That allows for arbitary wiki markup to be used, as long as one of these phrases are present. Additonally, "see authorship" as the same behaviour for <tt>|writer=</tt> only.
* If these fields are detected to contain commas, their label will automatically be pluralised. You can force these labels to be pluralised by setting fields like <tt>|plural writer=</tt>, <tt>|plural publisher=</tt>, <tt>plural network=</tt>, etc. to any value.
* For scenarios that are too complicated to represent with one of the above fields, set the problematic field to the text that should be saved to SMW and used in citations. Then, set the display text with a field like <tt>|writer display=</tt>, <tt>|publisher display=</tt>, <tt>|network display=</tt>, etc.
** There is a depracated <tt>|contributors=</tt> that is the same as <tt>|writer display=</tt>, but that also sets <tt>|plural writer=</tt>. This is being phased out.
* Links and dab terms should be removed from all date fields (such as <tt>|release date=</tt> and <tt>|broadcast date=</tt>) that are used. For example, "<tt><nowiki>[[23 November (releases)|23 November]] - [[14 December (releases)|14 December]] [[1963 (releases)|1963]]</nowiki></tt>" would become "<tt>23 November - 14 December 1963</tt>". For more details, see the documentation at {{tlx|date link}}.
* Links and dab terms should be removed from all date fields (such as <tt>|release date=</tt> and <tt>|broadcast date=</tt>) that are used. For example, "<tt><nowiki>[[23 November (releases)|23 November]] - [[14 December (releases)|14 December]] [[1963 (releases)|1963]]</nowiki></tt>" would become "<tt>23 November - 14 December 1963</tt>". For more details, see the documentation at {{tlx|date link}}.
** If there are multiple dates or date ranges separated by commas or <tt><nowiki><br></nowiki></tt>s, or wrapped in {{tlx|il}}, split the field into multiple, numbered fields such as <tt>|release date=</tt>, <tt>|release date2=</tt>, <tt>|release date3=</tt>, etc. The same is true for other date fields (e.g. <tt>|broadcast date2=</tt>...).
** If there are multiple dates or date ranges separated by commas or <tt><nowiki><br></nowiki></tt>s, or wrapped in {{tlx|il}}, split the field into multiple, numbered fields such as <tt>|release date=</tt>, <tt>|release date2=</tt>, <tt>|release date3=</tt>, etc. The same is true for other date fields (e.g. <tt>|broadcast date2=</tt>...). Note that only the original, un-numbered, field is saved to SMW and used in citations.
** If the date is accompanied by a citation, you can add that by using <tt>|release date ref=</tt>, <tt>|broadcast date ref=</tt>, etc. This will add the contents of that field to the end of the date, or list of dates if multiple numbered fields are used.
** For scenarios too complicated to represent with the above fields, set the primary date field (e.g. <tt>|release date=</tt>, <tt>|broadcast date=</tt>, etc.) to the date to be saved to SMW and used for citations. Then, set <tt>|release date display=</tt> (or <tt>|broadcast date display=</tt>, etc.) to the display text for the infobox.


== Customising the additional information ==
== Customising the additional information ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.