Thank you for visiting SotAwiki, a Shroud of the Avatar Wiki Encyclopedia. If you see any information that is outdated, please take the time to update it, or if you prefer, leave a message for other editors. This community wiki is for the benefit of all Avatars!
Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m added a single argument to display the documentation of a specific template (rather than automated) |
||
| Line 5: | Line 5: | ||
|- | |- | ||
! style="padding:0.5em; margin:0em; font-size:85%; text-align:right;" | Visit [[Template:{{PAGENAME}}/doc]] to edit this text! ([[Template:Documentation|How does this work]]?) | ! style="padding:0.5em; margin:0em; font-size:85%; text-align:right;" | Visit [[Template:{{PAGENAME}}/doc]] to edit this text! ([[Template:Documentation|How does this work]]?) | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude>{{documentation}}[[Category:Template Documentation| ]]</noinclude> | ||
{{documentation}}[[Category:Template Documentation| ]]</noinclude> | |||
Revision as of 10:45, 16 March 2014
PurposeThis template is used to insert descriptions on template pages. UsageOn the Template page<includeonly> Template code... Any categories to be inserted into articles by the template..</includeonly><noinclude> Template's categories.. {{documentation}}
</noinclude>
Note that, depending on the template, you may need to add a clear or complete a table/div just before The line break is also useful as it helps prevent the documentation template "running into" previous code. On the Template/doc page== Purpose ==
This template is used to do something.
== Usage ==
<pre>{{templatename|template parameters}}</pr e>
== Parameters ==
{| class="sotawikitable"
! Parameter
! Explanation
|-
| firstparameter
| Description of the first parameter
|-
| ...
| ...
...
|}
== Example ==
<pre>{{templatename|template parameters}}</pr e>
{{templatename|template parameters}}
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or further usage information sections.
Parameters
Example
| ||||||
| Visit Template:Documentation/doc to edit this text! (How does this work?) |
|---|