Template:Character Icon: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Icon | icon | The character icon image | File | required |
Name (EN) | name_en | The English name of the character | String | required |
Color (Main) | color_main | The main color, in hex | String | suggested |
Color (Sub) | color_sub | The secondary color, in hex | String | suggested |
Link | link | The page to link to | Page name | optional |