Template:Attribute Name Format: Difference between revisions
From Lilith's Throne
Jump to navigationJump to search
Sightglass (Sọ̀rọ̀ | contribs) Using Template:Color |
Sightglass (Sọ̀rọ̀ | contribs) m Allow anonymous usage |
||
Line 5: | Line 5: | ||
"Attribute": { | "Attribute": { | ||
"aliases": [ | "aliases": [ | ||
"Name" | "Name", | ||
"1" | |||
], | ], | ||
"type": "string", | "type": "string", | ||
Line 13: | Line 14: | ||
"Content": { | "Content": { | ||
"aliases": [ | "aliases": [ | ||
"Text" | "Text", | ||
"2" | |||
], | ], | ||
"description": "The text, falls through to the attribute name if empty." | "description": "The text, falls through to the attribute name if empty." |
Revision as of 04:00, 27 February 2024
{{{Attribute}}}
Formats text for a format's name, looking up the color and applying bold. Uses the "Attribute" parameter to look up, displays "Content" (or "Attribute" if content is empty).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Attribute | Attribute Name 1 | The name of the attribute to color-match. | String | required |
Content | Content Text 2 | The text, falls through to the attribute name if empty. | Unknown | optional |