Template:Heading/doc: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Fandyllic (update docs) |
m (3 revisions imported) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
:<code><nowiki>{{Heading|Header title|color=gray}}</nowiki></code> gives... |
:<code><nowiki>{{Heading|Header title|color=gray}}</nowiki></code> gives... |
||
:{{Heading|Header title|color=gray}} |
:{{Heading|Header title|color=gray}} |
||
<includeonly>[[Category: |
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 17:57, 12 December 2020
- 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