Difference between revisions of "Template:Source"

(Add if statement for no pages)
Line 1: Line 1:
* [[{{{1}}}]] {{#ifexpr: {{{2}}}|(pp. {{{2}}})|}} [{{#arraydefine: links|{{#show: Chinese textbook grammar index|?Amazon link|mainlabel=|headers=hide|limit = 1000|sep=!}}|!|sort=asc, unique}}{{#arraysearcharray: links-filtered|links|{{Regex Prep|{{{1}}}}}}}{{#arrayprint: links-filtered||@@@@|{{#urldecode:{{#explode:@@@@|␞|1}}}}}} →buy] [[resource::{{{1}}}| ]][[resource sort::{{{1}}}␞{{{2}}}␞{{PAGENAME}}| ]]
+
* [[{{{1}}}]] {{#if: {{{2}}}|(pp. {{{2}}})|}} [{{#arraydefine: links|{{#show: Chinese textbook grammar index|?Amazon link|mainlabel=|headers=hide|limit = 1000|sep=!}}|!|sort=asc, unique}}{{#arraysearcharray: links-filtered|links|{{Regex Prep|{{{1}}}}}}}{{#arrayprint: links-filtered||@@@@|{{#urldecode:{{#explode:@@@@|␞|1}}}}}} →buy] [[resource::{{{1}}}| ]][[resource sort::{{{1}}}␞{{{2}}}␞{{PAGENAME}}| ]]

Revision as of 00:59, 24 September 2017

  • [[{{{1}}}]] (pp. {{{2}}}) [ →buy]