Template:Difficulty

From Helldivers Wiki
Jump to navigation Jump to search
Template-info.svg Documentation

The {{Difficulty}} template will output the difficulty icon and text when used on an article.

Usage

Standard

{{Difficulty|1}}Trivial Difficulty Icon.pngTrivial
{{Difficulty|2}}Easy Difficulty Icon.pngEasy
{{Difficulty|3}}Medium Difficulty Icon.pngMedium
{{Difficulty|4}}Challenging Difficulty Icon.pngChallenging
{{Difficulty|5}}Hard Difficulty Icon.pngHard
{{Difficulty|6}}Extreme Difficulty Icon.pngExtreme
{{Difficulty|7}}Suicide Difficulty Icon.pngSuicide Mission
{{Difficulty|8}}Impossible Difficulty Icon.pngImpossible
{{Difficulty|9}}Helldive Difficulty Icon.pngHelldive

No Text

{{Difficulty|5|noText=1}}Hard Difficulty Icon.png

No Icon

{{Difficulty|5|noIcon=1}}Hard

Error case

{{Difficulty|orange}} → Invalid difficulty number

Description

This template displays an image representing the game difficulty level, along with the word "Difficulty" and the provided difficulty number.

Parameters

  • 1= - A number from 1 to 9 representing the difficulty level (1 being the easiest, 9 being the hardest).
  • noText - An optional boolean parameter that will remove the text from the template, leaving just the icon.
  • noIcon - An optional boolean parameter that will remove the icon from the template, leaving just the text.

Note that if both noText and noIcon are set, the output will be blank.

Template Data

Difficulty template will provide image and difficulty name based on the number provided. noText and noIcon can be used to disable text and icon respectively.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Difficulty Number1

Select a number from 1 (Trivial) to 9 (Helldive) representing the difficulty level

Stringrequired
noTextnoText

Optional boolean to remove the text from generating

Default
false
Booleanoptional
noIconnoIcon

Optional boolean to prevent the icon from generating

Default
false
Booleanoptional