Template:Character Icon: Difference between revisions

From Umamusume Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
m (Reverted edit by Nem (talk) to last revision by Snep)
Tag: Rollback
 
Line 1: Line 1:
<templatestyles src="Character Icon/styles.css" />
<templatestyles src="Character Icon/styles.css" />
<includeonly><div
<includeonly>
<div
     class="icon-box"
     class="icon-box"
     style="--color-main: #{{{color_main|aaa}}}; --color-sub: #{{{color_sub|ccc}}}"
     style="--color-main: #{{{color_main|aaa}}}; --color-sub: #{{{color_sub|ccc}}}"
Line 11: Line 12:
}}
}}
</div>
</div>
</div></includeonly>
</div>
<noinclude>{{Character Icon
</includeonly><noinclude>
{{Character Icon
|icon=Special Week (Icon).png
|icon=Special Week (Icon).png
|name_en=Special Week
|name_en=Special Week
Line 62: Line 64:
],
],
"format": "block"
"format": "block"
}</templatedata></noinclude>
}
</templatedata></noinclude>

Latest revision as of 00:34, 18 April 2024


Old website design styled character icon with colors

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Iconicon

The character icon image

Filerequired
Name (EN)name_en

The English name of the character

Stringrequired
Color (Main)color_main

The main color, in hex

Stringsuggested
Color (Sub)color_sub

The secondary color, in hex

Stringsuggested
Linklink

The page to link to

Page nameoptional