Difference between revisions of "Template:Template Explanation"

From Krafties
Jump to navigation Jump to search
m (Undo revision 14552 by MyraMidnight (talk))
m (Undo revision 14553 by MyraMidnight (talk))
Line 2: Line 2:
 
!{{{title|Template Explanation}}}
 
!{{{title|Template Explanation}}}
 
|-
 
|-
|style="{{{style|padding-left:10px;}}}" |{{TOC none}}{{{1|}}}</onlyinclude>
+
|style="{{{style|padding-left:10px;}}}" |{{TOC none}}</onlyinclude>
contents
+
<noinclude>contents</noinclude>
<onlyinclude>|}</onlyinclude>
+
|}
  
 
{|{{Template Explanation}}[[Category:Templates]]
 
{|{{Template Explanation}}[[Category:Templates]]

Revision as of 14:01, 1 May 2017

Template Explanation

contents

Template Explanation
This template does NOT automatically include the <noinclude>

The Template Explanation is for creating a obvious explanation section on the template page itself which is easy to identify. Within it should be the details about the specific template and how to use it.

There are various ways the include tags are used to direct what content displays when templates are used, thats why it has not been automatically included on this template. That is why you need to be sure that the Template Explanation is located in the appropriate place so it wont also appear when template is used.

How to use "Template Explanation" template

  • You need to create the normal Table parameters yourself though, {| and |}, and insert this template within it at the top.
  • Also remember to have the template explanation tags within <noinclude> tags so it wont appear outside of the template-page itself.
{| {{Template Explanation}}
The information about specific template
|}
Optional commands for the Template Explanation
  • title= will let you change the text in the header
  • style= lets you customize the styling of the content cell (to change padding and such).

Using the "help templates" for repeating information

When multiple templates function identically, then it can be tedious to fill in repeating information. Thats why I have made a few help-templates

  • Please add any template specific information before the help template
  • Insert the appropriate help template at the end, within the Explanation section
Help Templates and info
Tag/help General information about Tag templates
Table Cell Templates/help General information about Table Cell Templates
Multi-template directions
Navbox/help how to use the Navbox templates together
LearnSpell/help how to use the LearnSpell templates together

See Also