Difference between revisions of "PsyCrit:Add Response"

m (arg test)
(target -> targReq to avoid confusion)
Line 7: Line 7:
</func>
</func>


<let name=target arg=target /> get requested target, if any
<let name=targReq arg=target /> get requested target, if any
</hide>
</hide>
'''requested target''': <get name=target />
{|
{|
<echo raw now><form action="/Special:CreatePage" target=newpage method=POST></echo>
<echo raw now><form action="/Special:CreatePage" target=newpage method=POST></echo>
Line 23: Line 22:
   <let name=opt_tag append copy=keyname />
   <let name=opt_tag append copy=keyname />
   <let name=opt_tag append>"</let>
   <let name=opt_tag append>"</let>
   <if comp=$keyname with=target>
   <if comp=$keyname with=$targReq>
     <let name=opt_tag append> selected</let>
     <let name=opt_tag append> selected</let>
   </if>
   </if>

Revision as of 23:40, 17 September 2008

Target article: <call xmltag contents="SELECT NAME=target" />

<call xmltag contents="option value" />Select a target...<call xmltag contents="/option" />

<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide>

 <load page=$pg_title />
 
 
 
 
 <call xmltag contents=$opt_tag />ERROR: there is no variable named [keyname]. - ERROR: there is no variable named [title].<call xmltag contents="/OPTION" />

</for> <call xmltag contents="/SELECT" /> [refresh]

Title:
Author attribution:
  • usually author's name and institutional affiliation
Date:
Short name:
  • usually author's last name; used for page title => targetname/date short name
  • this is used for referencing the article; readers will see it
Snippet: