Template:Assistant:Add action-test/add-entry/check
Table page not found; table name given was <none>
.
[edit] Template documentation
This documentation is transcluded from Template:Assistant:Add action-test/add-entry/check/doc. (edit | history)
Usage
Inputs:
subject
— the full page name of the test table to which an entry is to be added; must begin withWikinews:Dialog/
.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.
Function:
- This template checks that the table exists, that it contains exactly one call to {{dialog/action page/test bottom}}, and that it does not already contain a call to {{dialog/action page/test entry}} for
test-fullpage
. If any of these conditions is not met, generates an error message, otherwise generates the empty string.