Template:Documents: Difference between revisions

From TekWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 7: Line 7:
<pre>
<pre>
  {{Documents|Author=John Doe}}
  {{Documents|Author=John Doe}}
{{Documents|Author=John Doe|Class=Application Note}}
</pre>
</pre>
or
or
<pre>
<pre>
  {{Documents|Link=7986}}
  {{Documents|Link=7986}}
{{Documents|Link=7986|Class=Application Note}}
</pre>
</pre>


Line 18: Line 20:


</noinclude><includeonly>{{#if:{{{Author|}}}|
</noinclude><includeonly>{{#if:{{{Author|}}}|
====Documents Authored by {{{Author}}}====
===={{#if:{{{Class|}}}|{{{Class}}}s|Documents}} Authored by {{{Author}}}====
<small>
<small>
{{Documents by Author|{{{Author}}}}}
{{Documents by Author|{{{Author}}}|{{{Class|}}}}}
</small>
</small>
|}}{{#if:{{{Link|}}}|
|}}{{#if:{{{Link|}}}|
====Documents Referencing {{{Link}}}====
===={{#if:{{{Class|}}}|{{{Class}}}s|Documents}} Referencing <span style="text-transform:capitalize;">{{{Link}}}</span>====
<small>
<small>
{{Documents by Link|{{{Link}}}|{{{Class|}}}}}
{{Documents by Link|{{{Link}}}|{{{Class|}}}}}
</small>
</small>
|}}
|}}

Latest revision as of 07:35, 20 December 2023

This is the Documents template.

It inserts tables that list documents selected by various criteria.

Call it as

 {{Documents|Author=John Doe}}
 {{Documents|Author=John Doe|Class=Application Note}}

or

 {{Documents|Link=7986}}
 {{Documents|Link=7986|Class=Application Note}}

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