Protected page

Template:Documentation

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

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>