Template:Infobox/Palette/doc: Difference between revisions
Jump to navigation
Jump to search
Magic sysop (talk | contribs) No edit summary Tag: Reverted |
Magic sysop (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
;Syntax | ;Syntax | ||
:Include {{t|Infobox/Palette|hexidecimal value}} wherever you would like to display your colors. | :Include {{t|Infobox/Palette|hexidecimal value}} wherever you would like to display your colors. | ||
:You can optionally include a label, i.e.: {{t|Infobox/Palette|hexidecimal value|label}} | |||
;Usage example | ;Usage example | ||
:{{t|Infobox/Palette|f8d82f}} outputs: {{Infobox/Palette|f8d82f}} | :{{t|Infobox/Palette|#f8d82f}} outputs: {{Infobox/Palette|#f8d82f}} | ||
:{{t|Infobox/Palette|#f8d82f|Primary body color}} outputs: {{Infobox/Palette|#f8d82f|Primary body color}} | |||
<includeonly>[[Category:Templates]]</includeonly> | <includeonly>[[Category:Templates]]</includeonly> | ||
Latest revision as of 23:42, 8 April 2025
This is a template documentation subpage for Template:Infobox/Palette.
It contains usage information, categories, and other content that is not part of the original template page
- Description
- This template is used to easily represent hexidecimal color values, typically for usage in Infobox templates.
- Syntax
- Include
{{Infobox/Palette|wherever you would like to display your colors.hexidecimal value}} - You can optionally include a label, i.e.:
{{Infobox/Palette|hexidecimal value|label}} - Usage example
{{Infobox/Palette|outputs:#f8d82f}}
| #f8d82f | test |
{{Infobox/Palette|outputs:#f8d82f|Primary body color}}
| #f8d82f | Primary body color |