Editing
Template:Documentation/doc
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
This template is used on template pages to contain documentation, instructions and information about how the template should be used. Templates are a powerful tool, and allow for the display of lots of information in a consistent and manageable way. However, they can be confusing to new users and even experienced users can have difficulty making sense of the more complex ones. Templates should therefore be accompanied by documentation to improve usability, and to encourage others to experiment with templates and use them to their maximum potential. ==What to include== A template's documentation should include a brief summary of what the template is for, and where it is intended to be used. This should be followed by a breakdown of any parameters and what values they accept. Finally, there should be at least one example of the template in use. ==Usage== To include {{template|Documentation}} on a template page, place it at the bottom of the template page, directly after the last line of code, between <code><nowiki><noinclude>...</noinclude></nowiki></code> tags: <pre> ~last line of your template code~<noinclude> {{Documentation}} </noinclude> </pre> The documentation can then be added to the /doc subpage of the template. For example, this documentation for {{template|Documentation}} is located at [[Template:Documentation/doc]]. Optionally, should the location of the appropriate documentation be located elsewhere, it can be added to the <code>Documentation</code> template as an optional parameter: <pre> ~last line of your template code~<noinclude> {{Documentation|Help:Color templates}} </noinclude> </pre> ===TemplateStyles=== For templates that use TemplateStyles, link to the stylesheet by adding <code>|styles=<nowiki>[[</nowiki>''link'']]</code>: <pre> ~last line of your template code~<noinclude> {{Documentation|styles=[[Template:Example/styles.css]]}} </noinclude> </pre> ===Lua=== For templates that use Lua modules, link to the module by adding <code>|lua=<nowiki>[[</nowiki>''link'']]</code>: <pre> ~last line of your template code~<noinclude> {{Documentation|lua=[[Module:Example]]}} </noinclude> </pre> ===Archived templates=== For templates that are no longer used, you can add <code>|old=yes</code> to include the {{template|OldTemplate}} template as well: <pre> ~last line of your template code~<noinclude> {{Documentation|old=yes}} </noinclude> </pre> <noinclude>[[Category:Documentation templates]]</noinclude>
Summary:
Please note that all contributions to The Skullgirls Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
The Skullgirls Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Template
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Search
Navigation
Random page
Recent changes
New Pages
All pages
Guide: Create a Page! (codes n'shit)
Admins
Rules
Discord (+18 Sigma)
Tools
What links here
Related changes
Special pages
Page information