Template:Dialog/documentation/doc

Usage
If a page contains interactive dialog that should be documented, and it isn't part of an assistant, place this template at the bottom of the dialog page, and at the top of the documenting page.

The template determines which sort of page it's on by checking to see if the current page name ends with. To override this determination, specify a non-blank parameter ; if , the page is treated as documentation; if   has any other non-blank value, the page is treated as dialog.

Ordinarily, the template assumes the name of the documentation page suffixes  to the name of the dialog page. To override this assumption on the dialog page, provide an unnamed parameter naming the documentation page. To override this assumption on the documentation page, provide one or two unnamed parameters: one named parameter names the dialog page; two non-blank parameters are the dialog page name and a label for the link; and a blank first parameter followed by a non-blank second parameter produce an unlinked description of the dialog.

On a dialog page






On a documentation page






Default on the current page
By default the template would treat this page as a }} page.