Template:Infobox Story SMW/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Line 6: Line 6:
* [[Property:Range]] - already used in infobox
* [[Property:Range]] - already used in infobox
* [[Property:Audio series]] - already used in infobox
* [[Property:Audio series]] - already used in infobox
* [[Property:Writer]] - already used in {{tlx|Wales crew}}, needs to be removed if in infobox
* [[Property:Writer]]
* [[Property:Publisher]] - already used in infobox
* [[Property:Publisher]] - already used in infobox
* [[Property:Release date]]
* [[Property:Release date]]
Line 13: Line 13:
* [[Property:Adapted from]] - [[Special:Types/Page]]
* [[Property:Adapted from]] - [[Special:Types/Page]]
* [[Property:Citation series]] - [[Special:Types/Text]] (needs to be text due to the fact that the field that provides this property is free-form)
* [[Property:Citation series]] - [[Special:Types/Text]] (needs to be text due to the fact that the field that provides this property is free-form)
* [[Property:Premiere network]]


== 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>, <nowiki>{{{audio anthology}}}</nowiki> and <nowiki>{{{network}}}</nowiki>.
* 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.
* 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.
* <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.
* <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 one of the 2 comma seperated list detailed above contains a comma in it's page name or display text, <nowiki>{{{seperator}}}</nowiki> should be specified as a suitable seperator (such as ";") for both of the 2 lists. The seperating commas in these lists should be changed to the new specified seperator.
* If a anything that would otherwise be in a one of the 2 comma seperated list detailed above contains a comma in it's page name or display text, <nowiki>{{{seperator}}}</nowiki> should be specified as a suitable seperator (such as ";") for both of the 2 lists. The separating 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 15:22, 12 August 2022

Properties used

Differences in usage

  • Links should be removed from {{{anthology}}}, {{{audio anthology}}} and {{{network}}}.
  • 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 one of the 2 comma seperated list detailed above contains a comma in it's page name or display text, {{{seperator}}} should be specified as a suitable seperator (such as ";") for both of the 2 lists. The separating 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