Jump to content

Template:Infobox character test: Difference between revisions

From SchoolIdolWiki
No edit summary
No edit summary
 
Line 2: Line 2:
<div class="character-infobox" style="float: right; padding-left: 20px; padding-right: 20px; padding-bottom: 20px; --infobox-title-bg:{{{title-bg|#ff3399}}}; --section-bg:{{{section-bg|#ff3399}}}; --subsection-bg:{{{subsection-bg|#ff3399}}}; --infobox-bg:{{{infobox-bg|#f9f9f9}}};">
<div class="character-infobox" style="float: right; padding-left: 20px; padding-right: 20px; padding-bottom: 20px; --infobox-title-bg:{{{title-bg|#ff3399}}}; --section-bg:{{{section-bg|#ff3399}}}; --subsection-bg:{{{subsection-bg|#ff3399}}}; --infobox-bg:{{{infobox-bg|#f9f9f9}}};">
<style>
<style>
.infobox .empty { display: none; }
.character-infobox .empty-row { display: none; }
.character-infobox .empty-section { display: none; }
</style>
</style>
{| class="infobox" style="width: 270px; font-size: 90%; text-align: left; border: 1px solid #ccc; background-color: var(--infobox-bg);"
{| class="wikitable" style="width: 270px; font-size: 90%; background-color: var(--infobox-bg);"
|+ style="text-align:center; font-weight:bold; font-size: 120%; background-color: var(--infobox-title-bg); color: white; padding: 8px;" | {{{Name|{{PAGENAME}}}}}
|+ style="text-align:center; font-weight:bold; font-size: 120%; background-color: var(--infobox-title-bg); color: white; padding: 8px;" | {{{Name|{{PAGENAME}}}}}
|-  
|-  
| colspan="2" style="text-align:center; background-color: #eee;" | {{{image|[[File:Placeholder.png|250px]]}}}
| colspan="2" style="text-align:center; background-color: #eee;" |  
<!-- NAME SECTION -->
<tabber>
|- class="{{{Japanese Name|empty}}"
All Stars = [[File:PDP Rina.png|250px]]
|-
Anime (Summer) = [[File:Rina Anime Summer.png|250px]]
|-
Anime (Winter) = [[File:Rina Anime Winter (Unmasked).png|250px]]
</tabber>
 
<!-- Basic Info -->
{{#if:{{{Japanese Name|}}}
|-
! style="background-color:#f2f2f2; color:#333; padding: 6px;" | Kanji
! style="background-color:#f2f2f2; color:#333; padding: 6px;" | Kanji
| style="padding: 6px;" | {{{Japanese Name|—}}}
| style="padding: 6px;" | {{{Japanese Name}}}
|- class="{{{Romanized Name|empty}}"
{{!}}-{{!}} class="empty-row"
}}
 
{{#if:{{{Romanized Name|}}}
|-
! style="background-color:#f2f2f2; color:#333; padding: 6px;" | Romaji
! style="background-color:#f2f2f2; color:#333; padding: 6px;" | Romaji
| style="padding: 6px;" | ''{{{Romanized Name|—}}}''
| style="padding: 6px;" | ''{{{Romanized Name}}}''
<!-- STATISTICS SECTION -->
{{!}}-{{!}} class="empty-row"
|- class="{{{Year|}}}{{{Birthday|}}}{{{Gender|}}}{{{Blood Type|}}}{{{Height|}}}{{{Three Sizes|empty}}"
}}
 
<!-- Statistics Section -->
{{#if:{{{Year|}}}{{{Birthday|}}}{{{Gender|}}}{{{Blood Type|}}}{{{Height|}}}{{{Three Sizes|}}}
|-
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Statistics
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Statistics
|- class="{{{Year|empty}}"
{{!}}-{{!}} class="empty-section"
}}
 
{{#if:{{{Year|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Year
! style="background-color:#f2f2f2; padding: 6px;" | Year
| style="padding: 6px;" | {{{Year|—}}}
| style="padding: 6px;" | {{{Year}}}
|- class="{{{Birthday|empty}}"
{{!}}-{{!}} class="empty-row"
}}
 
{{#if:{{{Birthday|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Birthday
! style="background-color:#f2f2f2; padding: 6px;" | Birthday
| style="padding: 6px;" | {{{Birthday|—}}}
| style="padding: 6px;" | {{{Birthday}}}
|- class="{{{Gender|empty}}"
{{!}}-{{!}} class="empty-row"
! style="background-color:#f2f2f2; padding: 6px;" | Gender
}}
| style="padding: 6px;" | {{{Gender|—}}}
 
|- class="{{{Blood Type|empty}}"
<!-- Continue with other sections similarly... -->
! style="background-color:#f2f2f2; padding: 6px;" | Blood Type
 
| style="padding: 6px;" | {{{Blood Type|—}}}
|- class="{{{Height|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Height
| style="padding: 6px;" | {{{Height|—}}}
|- class="{{{Three Sizes|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Three Sizes
| style="padding: 6px;" | {{{Three Sizes|—}}}
<!-- OTHER SECTION -->
|- class="{{{Zodiac Sign|}}}{{{Favorite Food|}}}{{{Disliked Food|}}}{{{Favorite Subject|}}}{{{Favorite Animal|}}}{{{Charm Point|}}}{{{Special Skill|empty}}"
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Other
|- class="{{{Zodiac Sign|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Zodiac Sign
| style="padding: 6px;" | {{{Zodiac Sign|—}}}
|- class="{{{Favorite Food|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Favorite Food
| style="padding: 6px;" | {{{Favorite Food|—}}}
|- class="{{{Disliked Food|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Disliked Food
| style="padding: 6px;" | {{{Disliked Food|—}}}
|- class="{{{Favorite Subject|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Favorite Subject
| style="padding: 6px;" | {{{Favorite Subject|—}}}
|- class="{{{Favorite Animal|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Favorite Animal
| style="padding: 6px;" | {{{Favorite Animal|—}}}
|- class="{{{Charm Point|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Charm Point
| style="padding: 6px;" | {{{Charm Point|—}}}
|- class="{{{Special Skill|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Special Skill
| style="padding: 6px;" | {{{Special Skill|—}}}
<!-- FIRST APPEARANCE -->
|- class="{{{Debut|empty}}"
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | First Appearance
|- class="{{{Debut|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Debut
| style="padding: 6px;" | {{{Debut|—}}}
<!-- VOICE ACTORS -->
|- class="{{{Seiyuu Kanji|}}}{{{Seiyuu Romaji|empty}}"
! colspan="2" style="background-color: var(--subsection-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Japanese Voice Actress/Actor
|- class="{{{Seiyuu Kanji|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Kanji
| style="padding: 6px;" | {{{Seiyuu Kanji|—}}}
|- class="{{{Seiyuu Romaji|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Romaji
| style="padding: 6px;" | ''{{{Seiyuu Romaji|—}}}''
|- class="{{{English Seiyuu Name|empty}}"
! colspan="2" style="background-color: var(--subsection-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | English Voice Actress/Actor
|- class="{{{English Seiyuu Name|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Name
| style="padding: 6px;" | {{{English Seiyuu Name|—}}}
<!-- ICON/SIGNATURE -->
|- class="{{{icon|}}}{{{signature|empty}}"
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Icon and Signature
|- class="{{{icon|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Icon
| style="padding: 6px; text-align:center;" | {{{icon|Placeholder_Icon.png|125px}}}
|- class="{{{signature|empty}}"
! style="background-color:#f2f2f2; padding: 6px;" | Signature
| style="padding: 6px; text-align:center;" | {{{signature|Placeholder_Signature.png|125px}}}
|}
|}
</div>
</div>
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<br style="clear:both;" />
{{documentation}}
{{documentation}}
[[Category:Infobox templates]]
[[Category:Infobox templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 06:59, 12 April 2025


Template documentation (for the above template, sometimes hidden or invisible)