Template:Color: Difference between revisions
Template page
More actions
Created page with "{{<includeonly>safesubst:</includeonly>ifsubst|1=<span|2=<templatestyles src="Template:Color/styles.css" /><span class="tmp-color"}} style="color:{{{1|}}}">{{{2|{{{1|}}}}}}<includeonly></span></includeonly><noinclude>{{Documentation}}<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>" |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#Switch: {{{1}}} | |||
|Border = 292929 | |||
|Background = 322d2a | |||
|Background2 = 26211e | |||
|DarkText = 2e201d | |||
|GreyText = 635e5b | |||
|GreyText2 = 4c443b | |||
|Title = 492620 | |||
|RedText = 59231a | |||
|Vendor = 746659 | |||
|WikiHeader = 7d7065 | |||
|LightText = b0a68b | |||
|White = C0C0C0 | |||
|Yellow = b3b282 | |||
|ItemStandard = e0cccc | |||
|Unique = 67d1b4 | |||
|Prototype = 666666 | |||
|Shoddy = d9ccbf | |||
|Standard = 4099b3 | |||
|High = 66fc80 | |||
|Specialist = fceb0d | |||
|Masterwork = fceb0d | |||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | |||
[[Category:Templates using TemplateData]] | |||
[[Category:Templates using TemplateStyles]] | |||
[[Category:Text color templates| ]] |
Latest revision as of 02:28, 14 June 2025
- Description
- This template is used to provide a quick & dirty way of adding pre-defined colors to various elements.
- Syntax
- Type {{Color}} somewhere.
- Sample output
{{Color|Unique}}
gives...- 67d1b4
Css variable style="background: #292929; width: 30px"| Border --custom-color-template-border style="background: #322d2a"| Background --custom-color-template-background style="background: #26211e"| Background2 --custom-color-template-background2 style="background: #2e201d"| DarkText --custom-color-template-darktext style="background: #635e5b"| GreyText --custom-color-template-greytext style="background: #4c443b"| GreyText2 --custom-color-template-greytext2 style="background: #59231a"| RedText --custom-color-template-redtext style="background: #492620"| Title --custom-color-template-title style="background: #746659"| Vendor --custom-color-template-vendor style="background: #7d7065"| WikiHeader --custom-color-template-wikiheader style="background: #b0a68b"| LightText --custom-color-template-lighttext style="background: #C0C0C0"| White --custom-color-template-white style="background: #b3b282"| Yellow --custom-color-template-yellow style="background: #e0cccc"| ItemStandard --custom-color-template-itemstandard style="background: #67d1b4"| Unique --custom-color-template-unique style="background: #666666"| Prototype --custom-color-template-prototype style="background: #d9ccbf"| Shoddy --custom-color-template-shoddy style="background: #4099b3"| Standard --custom-color-template-standard style="background: #66fc80"| High --custom-color-template-high style="background: #fceb0d"| Specialist --custom-color-template-specialist style="background: #fceb0d"| Masterwork --custom-color-template-masterwork
- See also
- Template:Grade
- Template:Grade/Short
- TemplateData
This template is used to provide a quick & dirty way of adding pre-defined colors to various elements.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color | 1 | Pre-defined color's name - chosen from the suggested values.
| Line | required |