Difference between revisions of "Template:Reference Material Query"
From Thermodynamics of Computation
(Add Alphabetical pagination) |
|||
(33 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Reference Materials]] | [[Category:Reference Materials]] | ||
{{#if:{{{reference groups|}}}| | {{#if:{{{reference groups|}}}| | ||
− | [[Reference group::{{{reference groups}}}]] | + | {{#ifeq:{{{reference groups logical|}}}|AND| |
+ | {{#arraymap:{{{reference groups|}}}|;|x|[[Reference group::x]]|\n}}| | ||
+ | [[Reference group::{{#arraymap:{{{reference groups|}}}|;|x|x|{{!}}{{!}}}}]] | ||
}} | }} | ||
− | + | }} | |
+ | {{#if:{{{title|}}}| | ||
+ | [[~*{{{title|}}}*]] | ||
+ | }} | ||
+ | <!-- ABC --> | ||
+ | {{#switch: {{{index|}}} | ||
+ | | = [[Primary author last name::Not set]] | ||
+ | |ALL = | ||
+ | |#default = [[Primary author last name::~{{{index|}}}*]] | ||
+ | }} | ||
+ | <!-- END ABC --> | ||
+ | {{#if:{{{authors|}}}| | ||
+ | {{#ifeq:{{{authors logical|}}}|AND| | ||
+ | {{#arraymap:{{{authors|}}}|;|x|[[Author name::x]]|\n}}| | ||
+ | [[Author name::{{#arraymap:{{{authors|}}}|;|x|x|{{!}}{{!}}}}]] | ||
+ | }} | ||
+ | }} | ||
+ | {{#if:{{{source|}}}| | ||
+ | [[source name::{{{source}}}]] | ||
+ | }} | ||
+ | {{#if:{{{minyear|}}}| | ||
+ | [[year::>{{{minyear}}}]] | ||
+ | }} | ||
+ | {{#if:{{{maxyear|}}}| | ||
+ | [[year::<{{{maxyear}}}]] | ||
+ | }} | ||
+ | {{#if:{{{keywords|}}}| | ||
+ | {{#ifeq:{{{keywords logical|}}}|AND| | ||
+ | {{#arraymap:{{{keywords|}}}|;|x|[[keyword::x]]|\n}}| | ||
+ | [[keyword::{{#arraymap:{{{keywords|}}}|;|x|x|{{!}}{{!}}}}]] | ||
+ | }} | ||
+ | }} | ||
+ | |?Author name | ||
+ | |?Source name | ||
+ | |?Year | ||
+ | |?Keyword | ||
+ | |?Citation count | ||
+ | |?Page views | ||
+ | |valuesep=; | ||
+ | |format=template | ||
+ | |sort=Citation count | ||
+ | |order=desc | ||
|limit=1000 | |limit=1000 | ||
+ | |template=Reference_Material_Query/Body | ||
+ | |introtemplate=Reference_Material_Query/Header | ||
+ | |outrotemplate=Reference_Material_Query/Footer | ||
}} | }} |