Difference between revisions of "PsyCrit:Add Response"

(tweaks to w3tpl tag syntax - form now renders properly, but target list is empty)
(layout fixed)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<let name=targReq arg=target /> get requested target, if any
<let name=targReq arg=target /> get requested target, if any
</hide>
</hide>
<echo raw tag>form action="/Special:MakePage" target=newpage method=POST</echo>
{|
{|
<echo raw tag>form action="/Special:MakePage" target=newpage method=POST</echo>
|-
|-
| align=right | Target article:
| align=right | Target article: || <exec mod=psycrit func=List_Targets_dropdown />
|<echo tag>SELECT NAME=target</echo>
|[<small>[{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh]</small>]
<echo tag>option value</echo>Select a target...<echo tag>/option</echo>
<let name=including val=1 />
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_title LIKE 'Targets/%')" sort="page_title DESC" name=pg hide>
  <let name=pg_title val="@row.pg.page_title" />
  <load page=$pg_title />
  <let name=opt_tag>option value="</let>
  <let name=opt_tag append copy=keyname />
  <let name=opt_tag append>"</let>
  <if comp=$keyname with=$targReq>
    <let name=opt_tag append> selected</let>
  </if>
  <echo tag val=$opt_tag /><get name=keyname /> - <get name=title /><echo tag>/OPTION</echo>
</for>
<echo tag>/SELECT</echo> [<small>[{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh]</small>]
|-
|-
| align=right | Title:  || <echo tag>input name=respTitle size=40</echo>
| align=right | Title:  || <echo tag>input name=respTitle size=40</echo>

Latest revision as of 15:54, 4 February 2018

Target article: <exec mod=psycrit func=List_Targets_dropdown /> [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
Headline:
Snippet: