Difference between revisions of "Template:/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>MSGJ
(sort key)
blackwiki>Davidgothberg
(Making the example more readable by using class="wikitable". Per request on talkpage by Notmyhandle.)
Line 3: Line 3:
 
| style="vertical-align: top; padding: 1em;" | <div style="color: red; font-size: 250%; font-weight: bold; text-align: center; margin-bottom: 1em;">Stop!</div>
 
| style="vertical-align: top; padding: 1em;" | <div style="color: red; font-size: 250%; font-weight: bold; text-align: center; margin-bottom: 1em;">Stop!</div>
  
If you are viewing this page, you may not be aware of Wikipedia's '''[[Wikipedia:Template documentation#How to create a documentation subpage|template documentation pattern]]'''. Template documentation subpage should be prefixed by the name of the template.
+
If you are viewing this page, you may not be aware of Wikipedia's '''[[Wikipedia:Template documentation#How to create a documentation subpage|template documentation pattern]]'''. A template documentation subpage should be prefixed by the name of the template.
 
Create the {{lc:{{{1|{{PAGENAME}}}}}}} for your template on page: <big>Template:TemplateName{{{1|{{PAGENAME}}}}}</big>.
 
Create the {{lc:{{{1|{{PAGENAME}}}}}}} for your template on page: <big>Template:TemplateName{{{1|{{PAGENAME}}}}}</big>.
  
 
Examples:
 
Examples:
  
{| style="margin: 0 auto"
+
{| class="wikitable" style="margin: 0 auto"
! style="color:red" | bad
+
! style="color:red" | Bad
! style="color:green" | good
+
! style="color:green" | Good
 
|-
 
|-
 
| Template:/doc || Template:Tl/doc
 
| Template:/doc || Template:Tl/doc
Line 22: Line 22:
  
 
|}<noinclude>
 
|}<noinclude>
 +
 
[[Category:Wikipedia maintenance templates|{{PAGENAME}}]]
 
[[Category:Wikipedia maintenance templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 04:20, 23 February 2010

Stop hand.svg
Stop!

If you are viewing this page, you may not be aware of Wikipedia's template documentation pattern. A template documentation subpage should be prefixed by the name of the template. Create the /doc for your template on page: Template:TemplateName/doc.

Examples:

Bad Good
Template:/doc Template:Tl/doc
Template:/doc Template:Non-free media/doc
Template:/doc Template:ArticleHistory/doc

Thank you.