Template:Infobox character old: Difference between revisions
Appearance
SheeplyWaltz (talk | contribs) Roughly tried to make the infobox work. At least now *I think* it can be used on character pages |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| class="infobox" style="width: | {| class="infobox" style="width:300px; font-size:90%; text-align:left; border:1px solid #ccc; background:{{{bgcolor|#fff}}}; font-family:sans-serif;" | ||
|+ style=" | |+ style="background:{{{headerbg|#ff3399}}}; color:{{{headertxt|white}}}; font-size:120%; font-weight:bold; padding:6px; text-align:center;" | {{{name|{{PAGENAME}}}}} | ||
|- | |- | ||
| colspan="2" style="text-align:center; | | colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|[[File:{{{image}}}|center|250px|frameless|style="box-shadow:0 0 5px #aaa;"]]|}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Kanji | ||
| <span lang="ja">{{{ | | <span lang="ja">{{{Japanese Name|}}}</span> | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Romaji | ||
| ''{{{Romanized Name|}}}'' | | ''{{{Romanized Name|}}}'' | ||
|- | |- | ||
! colspan="2" style="background | ! colspan="2" style="background:{{{headerbg|#ff3399}}}; color:{{{headertxt|white}}}; font-weight:bold; text-align:center;" | Statistics | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Year | ||
| | | {{{Year|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Birthday | ||
| | | {{{Birthday|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Gender | ||
| | | {{{Gender|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Blood Type | ||
| | | {{{Blood Type|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Height | ||
| | | {{{Height|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Three Sizes | ||
| | | {{{Three Sizes|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Favorite Food | ||
| | | {{{Favorite Food|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Disliked Food | ||
| | | {{{Disliked Food|}}} | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Charm Point | ||
| | | {{{Charm Point|}}} | ||
|- | |- | ||
! colspan="2" style="background | ! colspan="2" style="background:{{{headerbg|#ff3399}}}; color:{{{headertxt|white}}}; font-weight:bold; text-align:center;" | First Appearance | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Debut | ||
| | | {{{Debut|}}} | ||
|- | |- | ||
! colspan="2" style="background | ! colspan="2" style="background:{{{headerbg|#ff3399}}}; color:{{{headertxt|white}}}; font-weight:bold; text-align:center;" | Japanese Voice Actress/Actor | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Kanji | ||
| | | <span lang="ja">{{{Seiyuu Kanji|}}}</span> | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Romaji | ||
| ''{{{Seiyuu Romaji|}}}'' | | ''{{{Seiyuu Romaji|}}}'' | ||
|- | |- | ||
! style="background | ! colspan="2" style="background:{{{headerbg|#ff3399}}}; color:{{{headertxt|white}}}; font-weight:bold; text-align:center;" | English Voice Actress/Actor | ||
|- | |- | ||
! | ! style="color:{{{labelcolor|#555}}};" | Name | ||
| {{{English Seiyuu Name|}}} | |||
|- | |- | ||
! style="background | ! colspan="2" style="background:{{{headerbg|#ff3399}}}; color:{{{headertxt|white}}}; font-weight:bold; text-align:center;" | Icon and Signature | ||
|- | |- | ||
! style=" | ! style="color:{{{labelcolor|#555}}};" | Icon | ||
| | | {{{Icon|}}} | ||
|- | |||
! style="color:{{{labelcolor|#555}}};" | Signature | |||
| {{{Signature|}}} | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
{{ | == Usage == | ||
This infobox template now supports custom color schemes through these parameters: | |||
; bgcolor | |||
: Background color of the infobox (default: #fff) | |||
; headerbg | |||
: Background color for headers (default: #ff3399) | |||
; headertxt | |||
: Text color for headers (default: white) | |||
; labelcolor | |||
: Color for label text (default: #555) | |||
=== Example === | |||
<pre> | |||
{{Infobox Character | |||
| name = Example | |||
| headerbg = #3366ff | |||
| headertxt = #fff | |||
| labelcolor = #333 | |||
| bgcolor = #f8f8f8 | |||
| Japanese Name = 例 | |||
| Romanized Name = Rei | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
[[Category:Templates]] | |||
</noinclude> | </noinclude> |
Revision as of 02:14, 11 April 2025
Usage
This infobox template now supports custom color schemes through these parameters:
- bgcolor
- Background color of the infobox (default: #fff)
- headerbg
- Background color for headers (default: #ff3399)
- headertxt
- Text color for headers (default: white)
- labelcolor
- Color for label text (default: #555)
Example
{{Infobox Character | name = Example | headerbg = #3366ff | headertxt = #fff | labelcolor = #333 | bgcolor = #f8f8f8 | Japanese Name = 例 | Romanized Name = Rei }}