Template:Documents: Difference between revisions

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

Revision as of 03:28, 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