From Arms of God Wiki
bot: operator iteration 2026-06-10 |
bot: dark theme for remaining light surfaces (hand-authored tables, /doc + notice panels) |
||
| Line 6: | Line 6: | ||
Examples: | Examples: | ||
{| class="wikitable" | {| class="wikitable" style="background:var(--table-row-odd, #1b1c20);color:var(--table-text, #e6e6e6);border-color:var(--table-border, #3a3c44);" | ||
! Code !! Result | ! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Code !! style="background:var(--table-header-bg, #26272e);color:var(--infobox-header-fg, #f1e9d2);" | Result | ||
|- | |- | ||
| <code><nowiki>{{Color|#ff0000|red}}</nowiki></code> || {{Color|#ff0000|red}} | | <code><nowiki>{{Color|#ff0000|red}}</nowiki></code> || {{Color|#ff0000|red}} | ||
Latest revision as of 04:39, 10 June 2026
Usage
{{Color|#ff0000|red text}}
First positional arg is any CSS color (hex / rgb / named / variable); second is the text.
Examples:
| Code | Result |
|---|---|
{{Color|#ff0000|red}} |
red |
{{Color|var(--theme-primary, #26272e)|themed}} |
themed |
Colorize inline text.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Color (any CSS color value) | 1 | no description
| Unknown | required |
| Text | 2 | no description | Unknown | required |