W A R N I N G
PLEASE DO NOT TOUCH THIS PAGE WITHOUT STAFF PERMISSION.
This is a template page used internally by the Backrooms Wiki.
- {$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 | [1-5]e | |||||
Each preset class has a special symbol and three lines of description.
Customize
You can customize the component with following parameters:
[[include :backrooms-wiki:component:level-class
|class=ClassName
|color=#000000 (Hex code with hashtag.)
|image=(URL to image or A Preset Symbol)
|one=First Line
|two=Second Line
|three=Third Line
]]
Here is an example:
[[include :backrooms-wiki:component:level-class
|class=My Custom Class
|image=unknown
|one=Maybe Safe
|two=What
|three=No
|color=#96A5D4
]]
And this is how it looks like:
- Maybe Safe.
- What.
- No it's NOT SAFE.
Additionally, use |white=enabled to make the text and symbol white. This would be very helpful if you choose a dark color.
[[include :backrooms-wiki:component:level-class
|class=0
|color=#333333
|white=enabled
]]
- {$one}.
- {$two}.
- {$three}.
Further Customize
By using module CSS, you can even go further:
[[module CSS]]
.sd-container {
/* Text */
--sd-font: "Poppins", var(--body-font), sans-serif;
--sd-font-size: 16px; /* This size must be set to 4*n */
/* Background Color */
--sd-background: var(--swatch-background);
/* Border Color */
--sd-border: var(--gray-monochrome);
--sd-border-secondary: 0, 0, 0;
--sd-border-deadzone: 20, 0, 0;
/* Icon Color */
--sd-symbol: var(--sd-text);
/* Text Color */
--sd-bullets: var(--sd-border);
--sd-text: var(--sd-border);
--sd-text-secondary: 255, 255, 255;
/* Color for Classes */
/* Why didn't they add a "sd-" prefix for these variables?? */
--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]]
