Template:Documents: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
<pre>
<pre>
  {{Documents|Author=John Doe}}
  {{Documents|Author=John Doe}}
</pre>
or
<pre>
  {{Documents|Link=7986}}
  {{Documents|Link=7986}}
</pre>
</pre>
Line 14: Line 17:
Note: The table data comes from the ''Documents'' [[special:CargoTables|CargoTables]]. To change the table data, please edit the respective file page
Note: The table data comes from the ''Documents'' [[special:CargoTables|CargoTables]]. To change the table data, please edit the respective file page


</noinclude><includeonly>
</noinclude><includeonly>{{#if:{{{Author|}}}|
{{#if:{{{Author|}}}|
====Documents Authored by {{{Author}}}====
====Documents Authored by {{{Author}}}====
<small>
<small>
{{Documents by Author|{{{Author}}}}}
{{Documents by Author|{{{Author}}}}}
</small>
</small>
|}}
|}}{{#if:{{{Link|}}}|
{{#if:{{{Link|}}}|
====Documents Referencing {{{Link}}}====
====Documents Referencing {{{Link}}}====
<small>
<small>

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

or

 {{Documents|Link=7986}}

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