Difference between revisions of "Template:Author-test"
Gianfranco (talk | contribs) (Created page with "<noinclude>REQUIRES CARGO <br>This template holds information on an author; it should be called with the following structure: <pre>{{Author |first name=The author's first name...") |
Gianfranco (talk | contribs) m (added Category:Test templates using HotCat) |
||
Line 21: | Line 21: | ||
[[Category:Authors]] | [[Category:Authors]] | ||
+ | [[Category:Test templates]] | ||
{{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}} | {{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}} | ||
</includeonly> | </includeonly> |
Revision as of 16:46, 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}}