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:Page templates]]</includeonly>
<includeonly>[[Category:Templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 17:57, 12 December 2020

This is a documentation subpage for Template:Heading.
It contains usage information, categories and other content that is not part of the original template page.
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