Template:Documentation/doc: Difference between revisions

From Polcompball Wiki
Jump to navigationJump to search
no edit summary
(Created page with "==Description== This template is used to insert descriptions on template pages. ==Syntax== Add <code><nowiki><noinclude></nowiki>{{t|documentation}}<nowiki></noinclude></nowi...")
No edit summary
Line 3:
 
==Syntax==
Add <code><nowiki><noinclude></nowiki><nowiki>{{t|documentation}}</nowiki><nowiki></noinclude></nowiki></code> at the end of the template page.
 
Add <code><nowiki><noinclude></nowiki><nowiki>{{t|documentation|<documentation page>}}</nowiki><nowiki></noinclude></nowiki></code> to transclude an alternative page from the /doc subpage.
 
==Usage==
Line 31:
 
==Syntax==
Type <code>{{texample|templatename}}</code> somewhere.
 
==Samples==
Line 45:
Use any or all of the above description/syntax/sample output sections. You may also want to add "see also" or other sections.
 
Note that the above example also uses the [[Template:T]] and [[Template:T/piece]] templates.
 
<includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu