Difference between revisions of "Template:Template Overview"

m (Wow. That was an epic fail.)
m
Line 1: Line 1:
 
<noinclude>{{Template Explanation
 
<noinclude>{{Template Explanation
 
|usedon=template pages
 
|usedon=template pages
|purpose=display the general template information and the template code for copying, pasting, and using in pages
+
|purpose=display the general template information and the required template text for copying, pasting, and using in pages
|template={{Template Explanation
+
|template=<nowiki>{{Template Explanation
 
|usedon=
 
|usedon=
 
|purpose=
 
|purpose=
 
|othernotes=
 
|othernotes=
 
|template=
 
|template=
 +
}}</nowiki>
 
}}
 
}}
 +
{{Parameter Explanation
 +
|name=usedon
 +
|usage=mandatory
 +
|takes=a string or strings
 +
|denotes=the type or types of pages this template is designed for use on
 +
|generates=the middle of the template description's introductory sentence
 +
|validvalues=Any string or strings.
 +
}}
 +
{{Parameter Explanation
 +
|name=purpose
 +
|usage=mandatory
 +
|takes=a string or strings
 +
|denotes=what the template was designed to do or display
 +
|generates=the end of the template description's introductory sentence
 +
|validvalues=Any string or strings.
 +
}}
 +
{{Parameter Explanation
 +
|name=othernotes
 +
|takes=a string or strings
 +
|denotes=any further relevant information about the usage or functionality of the template
 +
|generates=a sentence or sentences after the template description's introductory sentence
 +
|validvalues=Any string or strings.
 +
}}
 +
{{Parameter Explanation
 +
|name=template
 +
|usage=mandatory
 +
|takes=a string or strings
 +
|denotes=the actual text of the template that a user must copy and paste onto a page in order to use the template
 +
|generates=the "Template" section
 +
|othernotes=When entered into the Template Explanation template, the template's transclusion code must be enclosed in <code><nowiki><nowiki></nowiki></nowiki></code> tags, or else the template itself will be transcluded into the <code><nowiki><pre></pre></nowiki></code> block.
 +
|validvalues=The text of the template for transclusion enclosed by <code><nowiki><nowiki></nowiki></nowiki></code> tags.
 
}}</noinclude><includeonly>{{tocright}}
 
}}</noinclude><includeonly>{{tocright}}
 
[[{{NAMESPACE}}:{{PAGENAME}}]] is designed for use on {{{usedon}}} to {{{purpose}}}. {{#if: {{{othernotes|}}} | {{{othernotes}}} | }}
 
[[{{NAMESPACE}}:{{PAGENAME}}]] is designed for use on {{{usedon}}} to {{{purpose}}}. {{#if: {{{othernotes|}}} | {{{othernotes}}} | }}
  
 
==Template==
 
==Template==
{{Pre | {{{template}}} | test }}
+
{{Pre | {{{template}}} }}
  
==Parameters==
+
==Parameters==</includeonly>
</includeonly>
+

Revision as of 13:20, 3 October 2009

Template:Template Explanation Template:Parameter Explanation Template:Parameter Explanation Template:Parameter Explanation Template:Parameter Explanation