Template:Main Page/Highlight

Revision as of 11:21, 2 May 2026 by Stevium (talk | contribs) (Created Template:Main Page/Highlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
Note: parts of or the entire template might not be visible without values provided.
This template uses CSS found at Template:Main Page/styles.css.

Template that creates highlight cards for {{Main Page}}.

Syntax

{{Main Page/Highlight
|image = 
|title = 
|link  = 
|tag   = 
|tag_text = 
}}
  • image – Destination filename (including the file extension).
  • title – Title of the highlight card.
  • link – Link of the highlight card.
  • tag – Type of tag that will be displayed on the highlight card. Default: Update
  • tag_text – Text displayed in the tag on the highlight card. Default: tag

Example

{{Main Page/Highlight
|image = Stardrift Test Splashscreen.png
|title = Stardrift Test
|link  = Version/Stardrift Test
|tag_text = Beta
}}
{{Main Page/Highlight
|image = Coziness Test Splashscreen.png
|title = Coziness Test
|link  = Version/Coziness Test
|tag_text = Beta
}}

Stardrift Test

Beta
Version/Stardrift Test

Coziness Test

Beta
Version/Coziness Test

Template Data

Template that creates highlight cards for the Main Page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Destination filename (including the extension).

Example
Coziness Test Splashscreen.png
Filerequired
Titletitle

Title of the highlight card.

Example
Coziness Test
Stringrequired
Linklink

Link of the highlight card.

Example
Version/Coziness Test
Stringrequired
Tagtag

Type of tag that will be displayed on the highlight card.

Default
Update
Example
Featured
Stringsuggested
Tag texttag_text

Text displayed in the tag on the highlight card.

Default
<tag>
Example
Beta
Stringoptional