测试页面
SURVIVAL DIFFICULTY:
Class {$class}
  • {$one}.
  • {$two}.
  • {$three}.

How to use:

[[include :backrooms-wiki:component:level-class
|class=ClassName
]]

You can choose a ClassName from list below:

Standard Class 0 1 2 3 4 5
Special Class habitable deadzone
unknown pending
n/a omega
amended

Each preset class has a special symbol and three lines of description.


Customize

You can customize the component by following parameters:

[[include :backrooms-wiki:component:level-class
|class=ClassName
|color=#000000 (Hex code with hashtag.)
|image=URL (URL to image)
|one=First Line
|two=Second Line
|three=Third Line
]]

By using module CSS, you can even go further:

[[module CSS]]
:root {
/* Text */
--sd-font: "Poppins", var(--body-font), sans-serif; /* Font used */
--sd-font-size: 16px; /* This size must be set to 4*n */

/* Background Color */
--sd-background: var(--swatch-background); /* Inner Border */

/* Border Color */
--sd-border: var(--gray-monochrome); /* Outer Border */
--sd-border-secondary: 0, 0, 0; /* Outer Border of Unknown & N/A */
--sd-border-deadzone: 20, 0, 0; /* Outer Border of Deadzone */

/* Symbol Color */
--sd-symbol: var(--sd-border); /* Color of the symbol */
--sd-symbol-secondary: 255, 255, 255; /* Used by most dark classes */

/* Text Color */
--sd-bullets: var(--sd-border); /* Color of 3 lines */
--sd-text: var(--pale-gray-monochrome); /* Color of text in the box */

/* Color for Classes */
--class-0: 247, 227, 117;
--class-1: 255, 201, 14;
--class-2: 245, 156, 0;
--class-3: 249, 90, 0;
--class-4: 254, 23, 1;
--class-5: 175, 6, 6;
--class-unknown: 38, 38, 38;
--class-habitable: 26, 128, 111;
--class-deadzone: 44, 13, 12;
--class-pending: 182, 182, 182;
--class-n-a: 38, 38, 38;
--class-amended: 185, 135, 212;
--class-omega: 25, 46, 255;
}
[[/module]]

除非特别注明,本页内容采用以下授权方式: Creative Commons Attribution-ShareAlike 3.0 License