Template:Documentation
Jump to navigation
Jump to search
[edit] [ ]
Template documentation

![]() | This template was originally sporked from w:Template:Documentation Template documentation imported from sites like Wikipedia may have information irrelevant/inapplicable to Uncyclopedia. Use discretion, and some common sense! |
Usage
For documenting templates. Gives your templates that sheen of professionalism otherwise absent in those lesser wikis. It should be surrounded by <noinclude></noinclude>
tags.
Here is an example of some template code with the {{Documentation}} template in use.
<templatestyles src="Meatspin/styles.css" /><div class="meatspin">{{{1|[[File:Meatspin_veiny_and_glistening.png|600px|center]]}}}</div> <noinclude>{{Documentation}}<!-- Categories and interwikis go on the /doc subpage --></noinclude>
It has the beneficial side effect of allowing users to update documentation and categories, even if the template itself is edit protected for admins only.
Content parameter
You can also use the content
parameter if you don't want to bother clicking the [Create]
button, although it's not recommended.
<templatestyles src="Meatspin/styles.css" /><div class="meatspin">{{{1|[[File:Meatspin_veiny_and_glistening.png|600px|center]]}}}</div> <noinclude>{{Documentation|content = MEATSPIN}}</noinclude>