Template:NCmaterial: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
NateBumber (talk | contribs) (Created page with "<includeonly><div id="article-type" class="type-nc"> <div id="type-title">A journal of '''impossible things''' . . .</div> {{#ifeq:{{#titleparts:{{PAGENAME}}|1|1}}|{{PAGENAME}} | <p>This subpage includes information about [[{{PAGENAME}}|{{da|{{PAGENAME}}}}]] from invalid sources or sources not otherwise covered on this wiki.</p> | <p>This subpage includes information about [[{{PAGENAME}}|{{da|{{PAGENAME}}}}]] from Tardis:Valid sources|invalid...") |
NateBumber (talk | contribs) No edit summary |
||
(28 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<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 style="margin-top:5px;font-size:100%;line-height:110%">{{#if: {{{sub|}}} | ||
|<!--if sub=1-->This subpage includes information about '''[[{{{link|{{ROOTPAGENAME}}}}}|{{{display|{{dau|{{{link|{{ROOTPAGENAME}}}}}}}}}}]]''' | |||
|<!--if sub is unspecified-->{{#if: {{{main|}}} | |||
}}</ | |<!--if main=1-->This page includes information about '''{{{display|{{dau|{{{link|{{ROOTPAGENAME}}}}}}}}}}''' | ||
|<!--if main is unspecified-->{{#ifeq:{{SUBPAGENAME}}|{{PAGENAME}} | |||
|<!--if name of subpage = full name of page-->This page includes information about '''{{{display|{{dau|{{{link|{{ROOTPAGENAME}}}}}}}}}}''' | |||
|<!--otherwise, we are on a subpage so do this:-->This subpage includes information about '''[[{{{link|{{ROOTPAGENAME}}}}}|{{{display|{{dau|{{{link|{{ROOTPAGENAME}}}}}}}}}}]]'''}}}} | |||
}} from sources that are [[Tardis:Valid sources|not valid]] on this wiki{{#if:{{{1|}}}|<nowiki />: {{{1|}}}}}.</p> | |||
</div><noinclude>{{documentation}}[[Category:Maintenance templates]][[Category:Templates deliberately classified as "unknown"]]</noinclude> |
Latest revision as of 15:31, 31 July 2023
A journal of impossible things . . .
This page includes information about NCmaterial from sources that are not valid 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 subpage includes information about Ace from sources that are not valid on this wiki: Death Comes to Time and Legacy.
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 not valid 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. }}