Wikia

WoWWiki

Template

Talk0
100,542pages on
this wiki

Template page

Revision as of 18:20, July 7, 2008 by Charibot (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
Description
This template is simply for making template documentation easier for authors.
For a guideline on terms to use while documentating a template see here
Syntax
Simply copy and past the the following into your template page.
;Description
:What this template does.

;Syntax
:{{syntax|{{FULLPAGENAME}}|params={{param|any}}{{param|test|any}}}}

;Parameters:
<div style="font-size: 0.925em;">
:;1=:Explanation of this unamed parameter.
:;test=:Explanation of this named parameter.
</div>

;Example

:;Code
<div style="font-size: 0.925em;">
::<code>{{{{FULLPAGENAME}}</code>
:::<code>|example value 1</code>
:::<code>|test=example value 2</code>
::<code>}}</code>
</div>
:;Result
<div style="margin-left: 4em; border: 1px solid #444; padding: 0.5em;">
{{{{FULLPAGENAME}}|example value 1|test=test=example value 2}}
</div>

<onlyinclude><includeonly><!-- Template Code --></includeonly></onlyinclude>
[[Category:Templates|{{PAGENAME}}]]

Around Wikia's network

Random Wiki