Template:Documents: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 23: Line 23:
====Documents Referencing {{{Links}}}====
====Documents Referencing {{{Links}}}====
<small>
<small>
{{#cargo_query:
{{Documents by Link|{{{Links}}}}}
{{!}}tables=Documents
{{!}}where=Documents.Links HOLDS '{{{Links}}}'
{{!}}fields=Documents._pageName=Document,Documents.Class,Documents.Title=Title,Documents.Authors=Authors,Documents.Year,Documents.Links
}}
</small>
</small>
|}}
|}}

Revision as of 03:32, 7 October 2023

This is the Documents template.

It inserts tables that list documents selected by various criteria.

Call it as

 {{Documents|Author=John Doe}}

leaving no spaces around the name.

Note: The table data comes from the Documents CargoTables. To change the table data, please edit the respective file page