Template:Dialog/action page/test entry/footer/doc
Appearance
This is a documentation subpage for Template:Dialog/action page/test entry/footer It contains usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]Place 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 Wikibooks: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 source]This is a test page for dialog action Wikibooks:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
This is a test page for dialog action Wikibooks:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
This page is testing experimental dialog action Wikinews:Dialog/do, an alternative for dialog action Wikibooks:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
This page is testing experimental dialog action Wikinews:Dialog/do, an alternative for dialog action Wikibooks:Dialog/do. <waiting to detect dialog> Consult diagnostic panel. |
Internals
[edit source]The template itself handles only the logic of determining what action is tested; what to display is handled by a subtemplate.