Template:Dialog/action page/test entry/footer
Usage
[edit]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 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
[edit]The template itself handles only the logic of determining what action is tested; what to display is handled by a subtemplate.