Template:SourcedDocuments: Difference between revisions
Appearance
WikiSpooks>Robin fix SMW |
m Plain formatting, no semantic markup |
||
| Line 7: | Line 7: | ||
[[Category:Semantic Templates]] | [[Category:Semantic Templates]] | ||
</noinclude><includeonly>{{SMWDocSection | </noinclude><includeonly>{{SMWDocSection | ||
|expression= | |expression= Document{{PAGENAME}} | ||
|caption_singular=A document sourced from {{PAGENAME}} | |caption_singular=A document sourced from {{PAGENAME}} | ||
|caption_plural=Documents sourced from {{PAGENAME}} | |caption_plural=Documents sourced from {{PAGENAME}} | ||
| Line 15: | Line 15: | ||
}}</includeonly><!-- | }}</includeonly><!-- | ||
2015-07-04 : | 2015-07-04 : | ||
Previously, the semantic query included | Previously, the semantic query included !{{PAGENAME}} in order to exclude documents that were listed in another section. | ||
However, this also excludes any documents which don't have subjects (still quite a lot of documents...) so I removed it. As and when | However, this also excludes any documents which don't have subjects (still quite a lot of documents...) so I removed it. As and when | ||
SMW capabilities are improved (or all the documents here are given subjects, if that ever happens) it should be re-inserted. ~~~~ | SMW capabilities are improved (or all the documents here are given subjects, if that ever happens) it should be re-inserted. ~~~~ | ||
--> | --> | ||
Latest revision as of 22:35, 24 September 2026
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