Template:Infobox Story SMW/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Line 16: Line 16:
== Differences in usage ==
== Differences in usage ==
* Links should be removed from <nowiki>{{{anthology}}}</nowiki> and <nowiki>{{{audio anthology}}}</nowiki>.
* Links should be removed from <nowiki>{{{anthology}}}</nowiki> and <nowiki>{{{audio anthology}}}</nowiki>.
* Links should be removed from <nowiki>{{{writer}}}</nowiki>. If there are a multiple, a non-linking, comma separated list, should be used.
* Links should be removed from <nowiki>{{{writer}}}</nowiki>. If there are a multiple, a non-linking, comma separated list, should be used. Display text for each item can be specified using <nowiki>{{!}}</nowiki> between the page name and the display text. Simple dabs are automatically removed from the display.
:* As a temporary measure (not in final implementation), <nowiki>{{{wales crew}}}</nowiki> should be set to any value if {{tlx|Wales crew}} is used on the page.
* <nowiki>{{{publisher}}}</nowiki>, <nowiki>{{{publisher2}}}</nowiki> and <nowiki>{{{publisher3}}}</nowiki> should be merged into just <nowiki>{{{publisher}}}</nowiki> as a comma seperated list. This also means that more then 3 publishers can be specified. Display text can be specified using <nowiki>{{!}}</nowiki> between the page name and the display text. Simple dabs are automatically removed from the display.
* If a anything that would otherwise be in a comma seperated list contains a comma in it's page name or display text, <nowiki>{{{seperator}}}</nowiki> should be specified as a suitable seperator (such as ";") for all comma seperated lists in the infobox. The seperating commas in these lists should be changed to the new specified seperator.
* Links should be removed from '''all''' date fields (such as <nowiki>{{{release date}}}</nowiki> and <nowiki>{{{broadcast date}}}</nowiki>) in accordance with the documentation found at {{tlx|Date link}}.
* Links should be removed from '''all''' date fields (such as <nowiki>{{{release date}}}</nowiki> and <nowiki>{{{broadcast date}}}</nowiki>) in accordance with the documentation found at {{tlx|Date link}}.
* If <nowiki>{{{range}}}</nowiki>, <nowiki>{{{series in range}}}</nowiki> and <nowiki>{{{series}}}</nowiki> offer no suitable series for a citation or if the series is more complicated then can be entered into any of these fields (in the case where there are multiple series, for example), <nowiki>{{{citation series}}}</nowiki> should be set as an override. This field is not displayed in the infobox.
* If <nowiki>{{{range}}}</nowiki>, <nowiki>{{{series in range}}}</nowiki> and <nowiki>{{{series}}}</nowiki> offer no suitable series for a citation or if the series is more complicated then can be entered into any of these fields (in the case where there are multiple series, for example), <nowiki>{{{citation series}}}</nowiki> should be set as an override. This field is not displayed in the infobox.

Revision as of 12:42, 21 December 2021

Properties used

Differences in usage

  • Links should be removed from {{{anthology}}} and {{{audio anthology}}}.
  • Links should be removed from {{{writer}}}. If there are a multiple, a non-linking, comma separated list, should be used. Display text for each item can be specified using {{!}} between the page name and the display text. Simple dabs are automatically removed from the display.
  • {{{publisher}}}, {{{publisher2}}} and {{{publisher3}}} should be merged into just {{{publisher}}} as a comma seperated list. This also means that more then 3 publishers can be specified. Display text can be specified using {{!}} between the page name and the display text. Simple dabs are automatically removed from the display.
  • If a anything that would otherwise be in a comma seperated list contains a comma in it's page name or display text, {{{seperator}}} should be specified as a suitable seperator (such as ";") for all comma seperated lists in the infobox. The seperating commas in these lists should be changed to the new specified seperator.
  • Links should be removed from all date fields (such as {{{release date}}} and {{{broadcast date}}}) in accordance with the documentation found at {{Date link}}.
  • If {{{range}}}, {{{series in range}}} and {{{series}}} offer no suitable series for a citation or if the series is more complicated then can be entered into any of these fields (in the case where there are multiple series, for example), {{{citation series}}} should be set as an override. This field is not displayed in the infobox.

Performance tests

Values collected over 5 page previews from the parser profiling data dropdown.

Page {{Infobox Story}} This infobox Difference
Skywatch-7 (comic story) Average CPU time usage: 0.205s
Average real time usage: 0.234
0.233s
0.277s
+0.072s
+0.043s