Template:Ask button/doc
This is a documentation subpage for Template:Ask button. It contains usage information, categories, and other content that is not part of the original template page. |
This template adds a button that, when clicked, preloads an edit window to create a new section on Ask a question/Recent questions, with some additional markup to facilitate linking to individual sections and to make use of labeled section transclusion to transclude individual questions on Ask a question. This is if the gadget is not enabled. If the gadget is enabled, a textbox is added on top of the button, with the extra markup being hidden from the user. The button then becomes a submit button that creates the new section.
Usage
editSimply, just add {{Ask button}}
to a page.