Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Badge/doc

Template page
Revision as of 20:19, 20 October 2024 by Alurel (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Page Module:Mbox/styles.css has no content.

{{#seo:

|type = website |description = Template:Badge/doc is a template page used on the Star Citizen Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. |site_name = Star Citizen Wiki |locale = en }}

This template is used to style text as a badge.

Usage

{{Badge|Lando's favourite ship}} gives Lando's favourite ship

{{Badge|Lando's favourite ship|color=#666}} gives Lando's favourite ship

{{Badge|Lando's favourite ship|bg=#d0817d}} gives Lando's favourite ship

{{Badge|Lando's favourite ship|bg=#d0817d|color=#222}} gives Lando's favourite ship

TemplateData

Style text as a badge

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Text in the badge

Stringrequired
Background colorbg

Background color of the badge (HEX/RGB(A)/HSL(A))

Stringoptional
Colorcolor

Color of the text on the badge

Example
#000
Stringoptional
HTML classclass

Additional HTML class

Stringoptional

See also

  • {{Transit}} - used for transit lines