Difference between revisions of "Template:Template Explanation"

From Krafties
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
!{{{title|Template Explanation}}}
 
!{{{title|Template Explanation}}}
 
|-
 
|-
|style="{{{style|padding-left:10px;}}}"|</onlyinclude>
+
|style="{{{style|padding-left:10px;}}}" |if this box is broken then [[template:Template Explanation|please fix it, its easy]]<br></onlyinclude>
 
|}
 
|}
  

Revision as of 04:16, 30 March 2015

Template Explanation
if this box is broken then please fix it, its easy
Template Explanation
if this box is broken then please fix it, its easy

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.

  • 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.

How to Use

{| {{Template Explanation}}
The content
|}

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).