Template:Doctor Who/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
Line 3: Line 3:
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''''':
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. <code><nowiki>counterpart name=''{{StoryTitle}}''</nowiki></code> will suffice. (Removing the dab term from <code>counterpart</code> is the default, so it is not necessary in those cases.)
If you have any questions, please [[User talk:SOTO|reach out to SOTO]], the administrator who added SMW support to this template.
If you have any questions, please [[User talk:SOTO|reach out to SOTO]], the administrator who added SMW support to this template.


<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 16:25, 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. counterpart name=''{{StoryTitle}}'' will suffice. (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.