Template:ColorText: Difference between revisions
From He is Coming Official Wiki
Benjiminio (talk | contribs) mNo edit summary |
Benjiminio (talk | contribs) mNo edit summary |
||
| Line 2: | Line 2: | ||
This template colors keywords and optionally links them if a page exists. | This template colors keywords and optionally links them if a page exists. | ||
Usage: <nowiki>{{ColorText| | Usage: <nowiki>{{ColorText|keyword}}</nowiki> | ||
Below is a single example table showing all keywords, their type, and their colors. | Below is a single example table showing all keywords, their type, and their colors. | ||
</noinclude> | </noinclude> | ||
<!-- Only output when template is invoked --> | <!-- Only output when template is invoked --> | ||
<includeonly>{{#switch:{{{1|}}}} | <includeonly>{{#switch:{{{1|}}}} | ||
| | |attack=<span style="color:#e74444;">attack</span> | ||
| | |armor=<span style="color:#4179ab;">armor</span> | ||
| | |health=<span style="color:#93c13e;">health</span> | ||
| | |speed=<span style="color:#ffd569;">speed</span> | ||
| | |acid=<span style="color:#ccf61f;">acid</span> | ||
| | |freeze=<span style="color:#62abd4;">freeze</span> | ||
| | |poison=<span style="color:#bbc44e;">poison</span> | ||
| | |purity=<span style="color:#62abd4;">purity</span> | ||
| | |regeneration=<span style="color:#9b4c51;">regeneration</span> | ||
| | |riptide=<span style="color:#5880cc;">riptide</span> | ||
| | |stun=<span style="color:#ffd569;">stun</span> | ||
| | |thorns=<span style="color:#8a961f;">thorns</span> | ||
|#default={{{1}}}}</includeonly> | |#default={{{1}}}}</includeonly> | ||
<!-- Example table | <!-- Example table --> | ||
<noinclude> | <noinclude> | ||
{| class="wikitable" | {| class="wikitable" | ||
! Keyword !! Type !! Hex | ! Keyword !! Type !! Hex | ||
|- | |- | ||
| <span style="color:#e74444;"> | | <span style="color:#e74444;">attack</span> || Base stat || #e74444 | ||
|- | |- | ||
| <span style="color:#4179ab;"> | | <span style="color:#4179ab;">armor</span> || Base stat || #4179ab | ||
|- | |- | ||
| <span style="color:#93c13e;"> | | <span style="color:#93c13e;">health</span> || Base stat || #93c13e | ||
|- | |- | ||
| <span style="color:#ffd569;"> | | <span style="color:#ffd569;">speed</span> || Base stat || #ffd569 | ||
|- | |- | ||
| <span style="color:#ccf61f;"> | | <span style="color:#ccf61f;">acid</span> || Status effect || #ccf61f | ||
|- | |- | ||
| <span style="color:#62abd4;"> | | <span style="color:#62abd4;">freeze</span> || Status effect || #62abd4 | ||
|- | |- | ||
| <span style="color:#bbc44e;"> | | <span style="color:#bbc44e;">poison</span> || Status effect || #bbc44e | ||
|- | |- | ||
| <span style="color:#62abd4;"> | | <span style="color:#62abd4;">purity</span> || Status effect || #62abd4 | ||
|- | |- | ||
| <span style="color:#9b4c51;"> | | <span style="color:#9b4c51;">regeneration</span> || Status effect || #9b4c51 | ||
|- | |- | ||
| <span style="color:#5880cc;"> | | <span style="color:#5880cc;">riptide</span> || Status effect || #5880cc | ||
|- | |- | ||
| <span style="color:#ffd569;"> | | <span style="color:#ffd569;">stun</span> || Status effect || #ffd569 | ||
|- | |- | ||
| <span style="color:#8a961f;"> | | <span style="color:#8a961f;">thorns</span> || Status effect || #8a961f | ||
|} | |} | ||
</noinclude> | </noinclude> | ||
Revision as of 10:17, 7 November 2025
This template colors keywords and optionally links them if a page exists.
Usage: {{ColorText|keyword}}
Below is a single example table showing all keywords, their type, and their colors.
| Keyword | Type | Hex |
|---|---|---|
| attack | Base stat | #e74444 |
| armor | Base stat | #4179ab |
| health | Base stat | #93c13e |
| speed | Base stat | #ffd569 |
| acid | Status effect | #ccf61f |
| freeze | Status effect | #62abd4 |
| poison | Status effect | #bbc44e |
| purity | Status effect | #62abd4 |
| regeneration | Status effect | #9b4c51 |
| riptide | Status effect | #5880cc |
| stun | Status effect | #ffd569 |
| thorns | Status effect | #8a961f |


