Difference between revisions of "Template:Template Explanation"

From Krafties
Jump to navigation Jump to search
m
m
Line 15: Line 15:
 
<pre>
 
<pre>
 
{| {{Template Explanation}}
 
{| {{Template Explanation}}
The content
+
The information about specific template
 
|}
 
|}
 
</pre>
 
</pre>
Line 22: Line 22:
 
*'''title=''' will let you change the text in the header
 
*'''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).
 
*'''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
 +
{|class=bluetable style="width:700px"
 +
<!-- GENERAL HELP TEMPLATES -->
 +
!colspan=2|Help Templates and info
 +
|-
 +
|[[Template:Tag/help|Tag/help]] ||General information about [[Template:Tag|Tag]] templates
 +
|-
 +
|[[Template:Table Cell Templates/help|Table Cell Templates/help]] ||General information about [[Template:Table Cell Templates|Table Cell Templates]]
 +
|-
 +
<!-- MULTI-TEMPLATES -->
 +
!colspan=2|Multi-template directions
 +
|-
 +
|[[Template:Navbox/help|Navbox/help]] || how to use the [[Template:Navbox|Navbox]] templates together
 +
|-
 +
|[[Template:LearnSpell/help|LearnSpell/help]] || how to use the [[Template:LearnSpell|LearnSpell]] templates together
 +
|}
 
|}
 
|}

Revision as of 06:39, 25 June 2015

Template Explanation

contents

Template Explanation
  • You need to create the normal Table parameters yourself though, {| and |}, and insert this template within it at the top.
  • If you run into a template with a broken explanation box, then it would be nice if you could help me fix it. Remember that table parameters only work at the beginning of a line.
    1. just find the beginning of the template, {{Template Explanation|... and change it into {|{{Template Explanation}}...
    2. finish it by closing the table by finding the end of it, }} needs to become |}, then the box will look as intended.

This template will help unify the overall look of the "Template Explanation" box, by inserting the header and styling for you. Because of easy breaking of template when filling it with examples of template use, I had to alter it so you have to insert it within table parameters instead of it including the table.

How to Use

{| {{Template Explanation}}
The information about specific template
|}

Optional commands you can use

  • 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