Template:Color/doc: Difference between revisions
Appearance
Cherrykano (talk | contribs) Created page with ";Description This template is used to easily add unit colors to infobox headers. ;Syntax Type {{t|Color|key}} somewhere, with a key as shown below. Inputs are not case-sensitive. ;Sample output {| class="wikitable" ! Input !! Output |- | <nowiki>{{Color|Muse}}</nowiki> | style="background-color:#ff1493;" | {{Color|Muse}} |- | <nowiki>{{Color|Aqours}}</nowiki> | style="background-color:#00bfff;" | {{Color|Aqours}} |- | <nowiki>{{Color|Nijigasaki}}</nowiki><br>Other keys..." |
(No difference)
|
Latest revision as of 01:39, 21 May 2025
- Description
This template is used to easily add unit colors to infobox headers.
- Syntax
Type {{Color|<key>}} somewhere, with a key as shown below. Inputs are not case-sensitive.
- Sample output
Input | Output |
---|---|
{{Color|Muse}} | #ff1493 |
{{Color|Aqours}} | #00bfff |
{{Color|Nijigasaki}} Other keys: Niji, Nijigaku |
#fcc800 |
{{Color|Liella}} | #9932cc |
{{Color|Hasunosora}} Other keys: Hasu |
#ffc0cb |
{{Color|Musical}} Other keys: SIM |
#d70035 |
{{Color|GnY}} | #008b8b |
{{Color|Ikizulive}} Other keys: Bluebird |
#ED6D00 |