Template:Dialog/action page/test entry/footer/doc
This is a documentation subpage for Template:Dialog/action page/test entry/footer (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
editPlace this template at the bottom of any page used to test a dialog action. Pass parameter test
through to the template, using markup |test={{{test|}}}
.
Optional parameter action
names the test action, either the full name of the action page or to be prefixed by Wikinews:Dialog/
. If action
is unspecified (or blank), and the page is a subpage of an action page, that action is construed to be the action tested.
Examples
edit
This is a test page for dialog action Wikinews:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
This is a test page for dialog action Wikinews:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
This page is testing experimental dialog action Wikinews:Dialog/do, an alternative for dialog action Wikinews:Dialog/do. |
This page is testing experimental dialog action Wikinews:Dialog/do, an alternative for dialog action Wikinews:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
Internals
editThe template itself handles only the logic of determining what action is tested; what to display is handled by a subtemplate.