Template:Assistant:Add action-test/add-entry/valid1/doc
Appearance
This is a documentation subpage for Template:Assistant:Add action-test/add-entry/valid1 (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This is part of the Add action-test assistant.
Inputs:
subject
— the full page name of the test table to which an entry is to be added.SUBJECT-EXISTS
— eithertrue
orfalse
, depending on whether the test table page exists.SUBJECT-CONTENT
— the raw content of the test table page.test-fullpage
— the full name of the test page to be added to the table; needn't exist.description
— description of the test page for use in the table.
Function:
- Takes input collected elsewhere (so the input only has to be template-expanded once), assesses it via add-entry/check, and passes the results on to add-entry/valid2 (so that add-entry/check only has to be called once).