Template:Ask button/doc

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

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[edit]

Simply, just add {{TNT|Ask button}} to a page.