Template:Doc

From GodWiki
Revision as of 11:18, 24 December 2010 by Spode (talk | contribs) (Created page with "</includeonly>{{ #ifeq: {{{doc-notice|show}}} | show | {{mbox | type = notice | image = 40px | text = '''This is a [[Wikip…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

</includeonly>

[view] [edit] [history] [refresh]
📚 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

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