Template:Author: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 22: | Line 22: | ||
[[Category:Authors]] | [[Category:Authors]] | ||
{{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}} | {{DEFAULTSORT:{{#if:{{{last name|}}}|{{{last name}}}, {{{first name|}}}|{{PAGENAME}}}}}} | ||
{{#get_web_data:url={{SERVER}}/api.php?action=query&prop=extracts&exchars=150&titles={{PAGENAMEE}}&exsectionformat=plain&explaintext&format=json | {{#get_web_data:url={{SERVER}}/w/api.php?action=query&prop=extracts&exchars=150&titles={{PAGENAMEE}}&exsectionformat=plain&explaintext&format=json | ||
|format=json | |format=json | ||
|use jsonpath | |use jsonpath |
Revision as of 13:33, February 21, 2024
This template holds information on an author of opinion items; 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=Liberal, Conservative, etc. (This is a very subjective field) }}
This template defines the table "Authors". View table.