FANDOM


(changed category, a little clean up)
(update docs)
 
Line 3: Line 3:
 
:This template produces an h2 heading enclosed in a colored box.
 
:This template produces an h2 heading enclosed in a colored box.
 
;Syntax
 
;Syntax
:Type {{t|heading|header title|3=bg_color=|4=gradient_start=|5=gradient_position=|6=gradient_shape=|style=code}}.
+
:Type {{t|heading|''header title''|3=color=|4=bg_color=|5=gradient_start=|6=gradient_position=|7=gradient_shape=|style=code}}.
 
;Sample output
 
;Sample output
 
:<code><nowiki>{{Heading|Header title}}</nowiki></code> gives...
 
:<code><nowiki>{{Heading|Header title}}</nowiki></code> gives...
Line 9: Line 9:
 
:<code><nowiki>{{Heading|Header title|bg_color=orange}}</nowiki></code> gives...
 
:<code><nowiki>{{Heading|Header title|bg_color=orange}}</nowiki></code> gives...
 
:{{Heading|Header title|bg_color=orange}}
 
:{{Heading|Header title|bg_color=orange}}
  +
:<code><nowiki>{{Heading|Header title|color=gray}}</nowiki></code> gives...
  +
:{{Heading|Header title|color=gray}}
 
<includeonly>[[Category:Page templates]]</includeonly>
 
<includeonly>[[Category:Page templates]]</includeonly>

Latest revision as of 01:24, March 21, 2019

Description
This template produces an h2 heading enclosed in a colored box.
Syntax
Type {{heading|header title|color=|bg_color=|gradient_start=|gradient_position=|gradient_shape=}}.
Sample output
{{Heading|Header title}} gives...

Header title

{{Heading|Header title|bg_color=orange}} gives...

Header title

{{Heading|Header title|color=gray}} gives...

Header title

Community content is available under CC-BY-SA unless otherwise noted.