Difference between revisions of "Template:Author-test"

Line 19: Line 19:
 
|format=ul
 
|format=ul
 
}}
 
}}
 
+
<noinclude>
 
[[Category:Authors]]
 
[[Category:Authors]]
[[Category:Test templates]]
+
[[Category:Test templates]]</noinclude>
 
{{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}}
 
{{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}}
 
</includeonly>
 
</includeonly>

Revision as of 16:47, 28 August 2021

REQUIRES CARGO
This template holds information on an author; it should be called with the following structure:

{{Author
|first name=The author's first name; used for sorting
|last name=The author's last name; used for sorting
|political affiliation= (This is a very subjective field)
}}

{{#cargo_declare:_table=Authors|First_name=String (hidden)|Last_name=String (hidden)|Political_affiliation=String}}