Template:Doctor Who/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(This now needs a documentation page, since I've implemented SMW.)
Tags: Mobile edit Mobile web edit
 
No edit summary
Tags: Mobile edit Mobile web edit
Line 1: Line 1:
This template provides '''navigation for elements of ''[[Doctor Who]]'' [[Doctor Who (in-universe)|as they exist in-universe]].
This template provides '''navigation for elements of ''[[Doctor Who]]'' [[Doctor Who (in-universe)|as they exist in-universe]].


Because it also provides [[Help:Semantic MediaWiki|SMW]] data, unusually for a [[:Category:Navigation template|navbox]], '''''you are instructed to use one or two variables, as necessary''''':
Because it also provides [[Help:Semantic MediaWiki|SMW]] data, unusually for a [[:Category:Navigation templates|navbox]], '''''you are instructed to use one or two variables, as necessary''''':
* <code>counterpart</code> is for pointing to the real world page that covers the topic where you're placing this navbox. By default, it will simply automatically remove the [[Help:Dab terms|dab term]].
* <code>counterpart</code> is for pointing to the real world page that covers the topic where you're placing this navbox. By default, it will simply automatically remove the [[Help:Dab terms|dab term]].
* <code>counterpart name</code> is for overriding the output name. For instance, you'll want to use this for '''stories''', in order to add italics. (Removing the dab term from <code>counterpart</code> is the default, so it is not necessary in those cases.)
* <code>counterpart name</code> is for overriding the output name. For instance, you'll want to use this for '''stories''', in order to add italics. (Removing the dab term from <code>counterpart</code> is the default, so it is not necessary in those cases.)

Revision as of 16:04, 15 March 2024

This template provides navigation for elements of Doctor Who as they exist in-universe.

Because it also provides SMW data, unusually for a navbox, you are instructed to use one or two variables, as necessary:

  • counterpart is for pointing to the real world page that covers the topic where you're placing this navbox. By default, it will simply automatically remove the dab term.
  • counterpart name is for overriding the output name. For instance, you'll want to use this for stories, in order to add italics. (Removing the dab term from counterpart is the default, so it is not necessary in those cases.)

If you have any questions, please reach out to SOTO, the administrator who added SMW support to this template.