From GodWiki
Revision as of 16:48, 30 December 2018 by FeRDNYC (talk | contribs) (Add |content= support)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
[view] [edit] [history] [refresh]
Documentation  Documentation

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

Documentation  Documentation
This is my documentation