Template:Doc

From GodWiki
Jump to: navigation, search
[view] [edit] [history] [refresh]
Documentation  Documentation

Adds documentation for the template.

Parameters

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.

Example

This documentation box is an example of itself.

This wikicode:

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

results in

Documentation  Documentation
This is my documentation