Template:Doc/end/doc

This template is used at the top of all Category:Documentation pages to create a footer that displays a notification dependent on the page it is seen on. If it is seen on the documentation page, it notifies the user that this is a documentation page that should be transcluded onto the main page. If it is seen on the main page, it notifies the user that the documentation is transcluded and links to the proper page to edit if needed.

This category automatically adds Category:Template documentation to any page that uses it in the Template namespace, Category:Widget documentation to any page that uses it in the Widget namespace, Category:Module documentation to any page that uses it in the Module namespace, Category:Gadget documentation to any page that uses it in the Gadget namespace, and Category:Gadget definition documentation to any page that uses it in the Gadget definition documentation namespace.

Usage
This template can be used by entering the following onto a relevant page, along with filling in any required parameters, along with any optional parameters if the page requires them.

Example
An example can be seen at the bottom of this page and will not be provided here as it would mess with the page's formatting.