Template:Documentation
Jump to navigation
Jump to search
| This template uses Lua: |
| 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! |
For documenting templates. Gives your templates that sheen of professionalism otherwise absent in those lesser wikis. It should be surrounded by <noinclude>...</noinclude> tags. 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.
Usage
This is the general syntax for using this template:
<!--Last line of your template code--><noinclude>
{{Documentation}}
<!-- Add categories to the /doc subpage -->
</noinclude>
You can also use the content parameter if you don't want to bother clicking the [Create] button, although it's not recommended.
<!--Last line of your template code--><noinclude>
{{Documentation
| content =
<!-- template documentation -->
}}</noinclude>
Examples
Using documentation page:
<templatestyles src="Meatspin/styles.css" /><div class="meatspin">{{{1|[[File:Meatspin_veiny_and_glistening.png|600px|center]]}}}</div><noinclude>
<!-- categories and interwikis go on the /doc subpage -->{{Documentation}}
</noinclude>
With content parameter.
<templatestyles src="Meatspin/styles.css" /><div class="meatspin">{{{1|[[File:Meatspin_veiny_and_glistening.png|600px|center]]}}}</div><noinclude>
<!-- categories and interwikis go on the /doc subpage -->{{Documentation
|content = MEATSPIN
}}</noinclude>