Difference between revisions of "Template:HeadingA"

From Wolfire Games Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
--><noinclude><!--
 
--><noinclude><!--
 
Categories -->{{CT|Templates}} {{CT|Formatting}}<!--
 
Categories -->{{CT|Templates}} {{CT|Formatting}}<!--
Content -->This template is used for making headers.
+
Content -->This template is used for making headers of a given color.
  
 
Example:
 
Example:
 
<pre>
 
<pre>
{{Template:HeadingA|Test}}
+
{{Template:HeadingA|Header=Test|Color=#a3bfb1}}
 
</pre>
 
</pre>
  
Line 18: Line 18:
 
INCLUDED
 
INCLUDED
 
--><includeonly><!--
 
--><includeonly><!--
Content --><h2 style="padding:0.2em 0.4em; margin:0 0 10px 0; border:1px solid #a3bfb1; background:#cef2e0; color:#000; font-size:120%; font-weight:bold; text-align:;">{{{1}}}</h2><!--
+
Content --><h2 style="padding:0.2em 0.4em; margin:0 0 10px 0; border:1px solid {{{Color}}}; background:#cef2e0; color:#000; font-size:120%; font-weight:bold; text-align:;">{{{Header}}}</h2><!--
 
--></includeonly><!--
 
--></includeonly><!--
  

Latest revision as of 22:48, 9 November 2009

This template is used for making headers of a given color.

Example:

{{Template:HeadingA|Header=Test|Color=#a3bfb1}}

Result:

{{{Header}}}