Difference between revisions of "Template:Author"

From PKC
Jump to navigation Jump to search
m (1 revision imported)
Line 2: Line 2:
This is the "Author" template.
This is the "Author" template.


{{#cargo_declare:_table=Authors
<syntaxhighlight>
|Country=String}}
{{Author
|name= Some name
|description= Some description text.
|email= name@example.org
}}
</syntaxhighlight>
 
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{{#cargo_store:_table=Authors}}
{{{name}}} is an author. {{{description}}}
{|
 
! Country of origin
=References=
| {{{Country|}}}
|-
! Books
| {{#cargo_query:tables=Books|where=Authors HOLDS '{{PAGENAME}}'}}
|}
</includeonly>
</includeonly>

Revision as of 19:23, 1 July 2021

This is the "Author" template.

{{Author
|name= Some name
|description= Some description text.
|email= name@example.org
}}