Difference between revisions of "Template:Reference Material Query"
From Thermodynamics of Computation
(Add Alphabetical pagination) |
|||
(14 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Reference Materials]] | [[Category:Reference Materials]] | ||
{{#if:{{{reference groups|}}}| | {{#if:{{{reference groups|}}}| | ||
− | {{#arraymap:{{{reference groups}}}| | + | {{#ifeq:{{{reference groups logical|}}}|AND| |
− | [[Reference group::x]] | + | {{#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|}}}| | ||
[[source name::{{{source}}}]] | [[source name::{{{source}}}]] | ||
}} | }} | ||
− | {{#if:{{{year|}}}| | + | {{#if:{{{minyear|}}}| |
− | [[year::{{{ | + | [[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 | |?Author name | ||
|?Source name | |?Source name | ||
− | |||
− | |||
|?Year | |?Year | ||
− | |format= | + | |?Keyword |
− | |sort= | + | |?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 | ||
}} | }} |