Difference between revisions of "Template:SourcedDocuments"

From Wikispooks
Jump to navigation Jump to search
(fix)
(remove duplication)
Line 7: Line 7:
 
[[Category:Semantic Templates]]
 
[[Category:Semantic Templates]]
 
</noinclude><includeonly>{{SMWDocSection
 
</noinclude><includeonly>{{SMWDocSection
|expression= [[Sourced from::{{PAGENAME}}]]
+
|expression= [[Sourced from::{{PAGENAME}}]][[Is about::!{{PAGENAME}}]]
 
|captionSingular=A document sourced from {{PAGENAME}}
 
|captionSingular=A document sourced from {{PAGENAME}}
 
|captionPlural=Documents sourced from {{PAGENAME}}
 
|captionPlural=Documents sourced from {{PAGENAME}}

Revision as of 21:52, 24 November 2014

Template for use on pages that are referenced by the metadata of pages in the Document and/or File namespaces. It has no parameters.

If there are any related documents, it places a heading:

Document(s) sourced from {{PAGENAME}}

Plus a table of sourced document(s) under this heading