Template:NCmaterial: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
(Minor fixes to the last edit: name should be link; moving {{dau like this will only undab things also meant to act as links: this means that brackets can be included in display text without issues)
Line 1: Line 1:
<div id="article-type" class="type-nc">
<div id="article-type" class="type-nc">
<div id="type-title">A journal of '''impossible things''' . . .</div>
<div id="type-title">A journal of '''impossible things''' . . .</div>
<p>This subpage includes information about [[{{{name|{{ROOTPAGENAME}}}}}|{{dau|{{{display|{{{link|{{ROOTPAGENAME}}}}}}}}}}]] from [[Tardis:Valid sources|invalid sources]] or sources not otherwise covered on this wiki: [insert sources]. {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}} | <!--if name of the subpage is the same as the full name of the page, so nothing-->
<p>This subpage includes information about [[{{{link|{{ROOTPAGENAME}}}}}|{{{display|{{dau|{{{link|{{ROOTPAGENAME}}}}}}}}}}]] from [[Tardis:Valid sources|invalid sources]] or sources not otherwise covered on this wiki: [insert sources]. {{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}} | <!--if name of the subpage is the same as the full name of the page, so nothing-->
|<!--otherwise, we are on a subpage so do this:--> It complements the main page and assumes familiarity with those valid appearances.}}
|<!--otherwise, we are on a subpage so do this:--> It complements the main page and assumes familiarity with those valid appearances.}}
</p>
</p>
</div><noinclude>{{documentation}}[[Category:Maintenance templates]]</noinclude>
</div><noinclude>{{documentation}}[[Category:Maintenance templates]]</noinclude>

Revision as of 19:20, 18 October 2022

A journal of impossible things . . .

This subpage includes information about NCmaterial from invalid sources or sources not otherwise covered on this wiki: [insert sources].

Instructions for {{NCmaterial}}
{{NCmaterial}} is a template for indicating pages and subpages which cite sources that are NOTVALID on this wiki but are nonetheless licensed to use the topic of that page. As an example of the default use of the template, consider this case for the subpage Ace/Non-valid sources:
{{NCmaterial|''[[Death Comes to Time (webcast)|]]'' and ''[[Legacy (video game)|]]''}}
A journal of impossible things . . .

This subpage includes information about Ace from invalid sources or sources not otherwise covered on this wiki: [insert sources].


If the page name has a dab term and you'd like the template to omit it, use the display variable. For instance, for The Cold (Time and Relative),
{{NCmaterial|display=the Cold}}
A journal of impossible things . . .

This subpage includes information about the Cold from invalid sources or sources not otherwise covered on this wiki: [insert sources].


Other variables are available for testing purposes.

{{NCmaterial |Non-valid sources used on the page.
|display = to override the display name without changing the link.
|link    = to override both the link and display name.
|main    = 1 to override page type detection and present the "main page" version on a subpage.
|sub     = 1 to override page type detection and present the "subpage" version on a main page.
}}