Template:Assistant:Add action-test/start/get-entry

To add a test to the [[{{{subject}}}|table of tests for action {{{subject}}}]], specify the page name of the test, and a brief description of the test.

Test (enter subpage name): {{{subject}}}/size=&x
Description: size=40&x
action=do&label=add this test&verb:button-local-field-verb&page:button-local-field-page&test-page&subject:button-local-field-subject&description&not-subpage:button-local-field-not-subpage&cols=&rows=&viewxcols=&rows=&Wikinews:Assistant:Add action-test/add-entryxWikinews:Assistant:Add action-test/add-entrycols=&rows=&{{{subject}}}xcols=&rows=&x
action=do&label=allow non-subpage&verb:button-local-field-verb&page:button-local-field-page&test-page&subject:button-local-field-subject&description&not-subpage:button-local-field-not-subpage&cols=&rows=&viewxcols=&rows=&Wikinews:Assistant:Add action-test/startxWikinews:Assistant:Add action-test/startcols=&rows=&{{{subject}}}xcols=&rows=&xx
action=do&label=reconsider choice of action&verb:button-local-field-verb&page:button-local-field-page&reconsider:button-local-field-reconsider&cols=&rows=&viewxcols=&rows=&Wikinews:Assistant:Add action-test/startxWikinews:Assistant:Add action-test/startcols=&rows=&xx
[edit] Template documentation

Usage

edit
This is part of the Add action-test assistant.

Inputs:

  • subject — name of the table page, known to exist.
  • SUBJECT-CONTENT — if available, content of the table page.
  • not-subpage — if non-blank, the test page is not a subpage of the table.

Function:

Prompts for test-page; button sends request to add-entry. If SUBJECT-CONTENT is used at all, it is used only for advice, not for constructing new page content. Data is entered in fields test-page, description, and not-subpage. If not-subpage is true (i.e., non-blank), test-page is the full name of the test page. If not-subpage is blank, test-page only specifies the subpage suffix to add to the table name, excluding slash. The test page must exist. description may be blank.