Template:Hatnote

From Dota 2 Wiki
Jump to: navigation, search

Documentation for Template:Hatnote [ view | edit | purge ]

Lua logo.svg
▶️ Swapsies!
This template uses Lua.
Its code can be found under Module:Hatnote.


Usage

{{Hatnote|Some text}}

Some text
  • If the Hatnote text contains an = add 1= in front of it.
    • {{Hatnote|1=1+2=3}} instead of {{Hatnote|1+2=3}}

TemplateData

Used to display a short note above an article or section.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Note1

The hatnote text.

Stringrequired
CSS Stylestyle

Additional CSS styling to be applied to the hatnote.

Example
color: red;
Stringoptional

See also

  • {{See also}} – link to a related article inline.
  • {{Main}} – "main article" template.