Template:NCmaterial: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
(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)
(test 1)
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 [[{{{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-->
<p style="font-size:100%;line-height:110%">This page includes information about '''{{{display|{{dau|{{{link|{{ROOTPAGENAME}}}}}}}}}}''' from sources that are [[Tardis:Valid sources|invalid]] or otherwise not covered on this wiki{{{: 2|.}}}
|<!--otherwise, we are on a subpage so do this:--> It complements the main page and assumes familiarity with those valid appearances.}}
{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}}
|<!--if name of the subpage is the same as the full name of the page: ie, nothing-->
|<!--otherwise, we are on a subpage so do this:-->This subpage complements [[{{{link|{{ROOTPAGENAME}}}}}|the root page]] and assumes familiarity with the valid appearances covered there.}}
</p>
</p>
</div><noinclude>{{documentation}}[[Category:Maintenance templates]]</noinclude>
</div><noinclude>{{documentation}}[[Category:Maintenance templates]]</noinclude>

Revision as of 22:27, 18 October 2022

A journal of impossible things . . .

This page includes information about NCmaterial from sources that are invalid or otherwise not covered on this wiki.

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 page includes information about Ace from sources that are invalid or otherwise not covered on this wiki.


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 page includes information about the Cold from sources that are invalid or otherwise not covered on this wiki.


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.
}}