Difference between revisions of "Template:Reference Material Query"
From Thermodynamics of Computation
(Add Alphabetical pagination) |
|||
(9 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|}}}| | {{#if:{{{authors|}}}| | ||
− | [[Author name::{{{authors}}}]] | + | {{#ifeq:{{{authors logical|}}}|AND| |
+ | {{#arraymap:{{{authors|}}}|;|x|[[Author name::x]]|\n}}| | ||
+ | [[Author name::{{#arraymap:{{{authors|}}}|;|x|x|{{!}}{{!}}}}]] | ||
+ | }} | ||
}} | }} | ||
{{#if:{{{source|}}}| | {{#if:{{{source|}}}| | ||
Line 14: | Line 30: | ||
}} | }} | ||
{{#if:{{{maxyear|}}}| | {{#if:{{{maxyear|}}}| | ||
− | [[year:: | + | [[year::<{{{maxyear}}}]] |
+ | }} | ||
+ | {{#if:{{{keywords|}}}| | ||
+ | {{#ifeq:{{{keywords logical|}}}|AND| | ||
+ | {{#arraymap:{{{keywords|}}}|;|x|[[keyword::x]]|\n}}| | ||
+ | [[keyword::{{#arraymap:{{{keywords|}}}|;|x|x|{{!}}{{!}}}}]] | ||
}} | }} | ||
− | |||
− | |||
}} | }} | ||
|?Author name | |?Author name | ||
Line 23: | Line 42: | ||
|?Year | |?Year | ||
|?Keyword | |?Keyword | ||
− | |format= | + | |?Citation count |
+ | |?Page views | ||
+ | |valuesep=; | ||
+ | |format=template | ||
|sort=Citation count | |sort=Citation count | ||
|order=desc | |order=desc | ||
|limit=1000 | |limit=1000 | ||
+ | |template=Reference_Material_Query/Body | ||
+ | |introtemplate=Reference_Material_Query/Header | ||
+ | |outrotemplate=Reference_Material_Query/Footer | ||
}} | }} |