From GodWiki
Jump to navigation Jump to search

Adds documentation for the template.


Normally (when called with no parameters), creates a documentation box and transcludes the contents of a /Documentation subpage of the current page as its contents.

{{doc|pagename}} — The first unnamed parameter can be set to a pagename to transclude the contents of pagename instead of the /Documentation subpage.

|content=Documentation content
Optional: If set, display the provided content formatted as documentation, rather than transcluding the documentation from another page. Suppresses view/edit/history/purge links.


This documentation box is an example of itself.

This wikicode:

{{doc|content=This is my documentation}}

results in

[view] [edit] [history] [refresh]
📚 Documentation
This is my documentation