Until Wiki
Advertisement
{{{text}}}

Purpose

The CustomHeader template is used to provide a heading, usually for a template, that helps to separate the page into smaller and more visually appealing sections.

Parameters

1

This parameter is the text displayed within the header.

The {{Navbar}} template can be used here when the header is used within a template, such as a character gallery.

The {{Color}} template can be used to style the color of the text.

2

This parameter is the theme of the template.

Usage with {{Page Theme}}

  • When used in templates, do not set this parameter
  • When used on a page that also uses {{Page Theme}}:
    • Do not set the parameter if the theme of the {{CustomHeader}} matches the {{Page Theme}}
    • Do set the parameter if the theme of the {{CustomHeader}} does not match the {{Page Theme}}

Usage

Blank Template

{{CustomHeader||}}

Example 1

gen

Basic inputs.

{{CustomHeader|Example|gen}}


Example

Example 2

gen

Using {{Navbar}}.

{{CustomHeader|{{Navbar|CustomHeader}}Example|gen}}


Example

Example 3

gen

Using {{Navbar}} and a link.

{{CustomHeader|{{Navbar|CustomHeader}}[[Example]]|gen}}


Example

Example 4

gen

Using {{Navbar}} and a link styled with {{Color}}.

{{CustomHeader|{{Navbar|CustomHeader}}[[Example|{{Color|gen|Example}}]]|gen}}


Example

Related Templates

Often used with

Often used in

Template Data

Adds a section header.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11 text

Header text

Stringsuggested
22 theme

Header theme

Stringdeprecated
Advertisement