Difference between revisions of "ICMS:Laboratory/InstaGov/question"

From ICMS
Jump to navigation Jump to search
(about right; to be tested, when code is written)
(changing the way this works, a bit)
Line 2: Line 2:
 
<echo raw now><form action="/Special:InstaGov/page:qu/do:add" target=newpage method=POST></echo>
 
<echo raw now><form action="/Special:InstaGov/page:qu/do:add" target=newpage method=POST></echo>
 
|-
 
|-
| align=right | Title:       || <echo raw now><input name=title size=40></echo> &lArr; name of wiki page to create
+
| colspan=| Summary: <echo raw now><input name=shorttext size=60></echo> &lArr; for listings
 
|-
 
|-
| colspan=2  | Text of question: <echo raw now><textarea name=text rows=8></textarea></echo>
+
| colspan=2  | More complete version (optional; defaults to summary): <echo raw now><textarea name=fulltext rows=8></textarea></echo>
 
|-
 
|-
 
| align=right | Text for '''positive''' end of rating scale: || <echo raw now><input name=text_pos size=20></echo> (optional)
 
| align=right | Text for '''positive''' end of rating scale: || <echo raw now><input name=text_pos size=20></echo> (optional)
Line 10: Line 10:
 
| align=right | Text for '''negative''' end of rating scale: || <echo raw now><input name=text_pos size=20></echo> (optional)
 
| align=right | Text for '''negative''' end of rating scale: || <echo raw now><input name=text_pos size=20></echo> (optional)
 
|}
 
|}
<echo raw now><input type=hidden name=title_prefix value="Question:"></echo>
 
 
<echo raw now><input type=submit value=Preview> <input type=reset value="-clear-"></echo>
 
<echo raw now><input type=submit value=Preview> <input type=reset value="-clear-"></echo>
 
<echo raw now></form></echo>
 
<echo raw now></form></echo>

Revision as of 14:28, 22 July 2010

<echo raw now><form action="/Special:InstaGov/page:qu/do:add" target=newpage method=POST></echo>
Summary: <echo raw now><input name=shorttext size=60></echo> ⇐ for listings
More complete version (optional; defaults to summary): <echo raw now><textarea name=fulltext rows=8></textarea></echo>
Text for positive end of rating scale: <echo raw now><input name=text_pos size=20></echo> (optional)
Text for negative end of rating scale: <echo raw now><input name=text_pos size=20></echo> (optional)

<echo raw now><input type=submit value=Preview> <input type=reset value="-clear-"></echo> <echo raw now></form></echo>