PsyCrit talk:Code/show/target

Script to display contents of target-data page in a nicely-formatted way

Old code, retired 2008-10-23:

<hide>
<let name=hdr val="=" />
<let name=hdr append copy=title />
<let name=hdr append val="=" />

<let name=catg val="[[category:data/target|" />
<let name=catg append copy=ref />
<let name=catg append val="]]" />

<let name=sqlResp val="(cl_to='" />
<let name=sqlResp append copy=keyname />
<let name=sqlResp append>') AND (page_namespace=0)</let>

</hide><if not flag=including><get name=catg /></if><get name=hdr /><let name=including val=1 />
==Specs==
* '''Target article''': <get name=author /> (<get name=year />) ''<get name=title />''.  <get name=source />.
* '''Commentaries''': <for table="qryW3_Titles_Catgs" where=$sqlResp name=pg hide>
  <let name=rlist.pg_title val="@row.pg.page_title" />
  <load page=$rlist.pg_title />
  <let name=targLink val="[[" />
  <let name=targLink append copy=rlist.pg_title />
  <let name=targLink append val="|" />
  <let name=targLink append copy=respDate />
  <let name=targLink append val="]]" />
  <echo>
** <get name=targLink parse />: "<get name=respTitle />", <get name=respAuth /></echo>
</for>
==Abstract==
<get name=abstract />
-----