Difference between revisions of "Template:HeadingA"

From Wolfire Games Wiki
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<!--
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Formatting|{{PAGENAME}}]]
 
  
This Template is for Easily creating a Header.
+
PRIVATE
 +
--><noinclude><!--
 +
Categories -->{{CT|Templates}} {{CT|Formatting}}<!--
 +
Content -->This template is used for making headers of a given color.
  
 
Example:
 
Example:
<pre>{{HeadingA|Test}}</pre>
+
<pre>
results in:
+
{{Template:HeadingA|Header=Test|Color=#a3bfb1}}
{{HeadingA|Test}}
+
</pre>
</noinclude>
 
  
 +
Result:
 +
{{Template:HeadingA|Test}}
 +
<!--
 +
--></noinclude><!--
  
<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>
+
INCLUDED
 +
--><includeonly><!--
 +
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><!--
 +
 
 +
PUBLIC
 +
-none-
 +
-->

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}}}