Jump to content

Template:Infobox character test: Difference between revisions

From SchoolIdolWiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<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}}};">
{| class="infobox" style="width: 270px; font-size: 90%; text-align: left; border: 1px solid #ccc; background-color: var(--infobox-bg);"
<style>
.character-infobox .empty-row { display: none; }
.character-infobox .empty-section { display: none; }
</style>
{| 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>
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|}}}
{{#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="empty-row"
}}
}}
{{#if:{{{Romanized Name|}}}
{{#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}}}''
{{!}}-{{!}} class="empty-row"
}}
}}
<!-- STATISTICS SECTION -->
 
<!-- Statistics Section -->
{{#if:{{{Year|}}}{{{Birthday|}}}{{{Gender|}}}{{{Blood Type|}}}{{{Height|}}}{{{Three Sizes|}}}
{{#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="empty-section"
}}
}}
{{#if:{{{Year|}}}
{{#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="empty-row"
}}
}}
{{#if:{{{Birthday|}}}
{{#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="empty-row"
}}
}}
{{#if:{{{Gender|}}}
 
|-
<!-- Continue with other sections similarly... -->
! style="background-color:#f2f2f2; padding: 6px;" | Gender
 
| style="padding: 6px;" | {{{Gender}}}
}}
{{#if:{{{Blood Type|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Blood Type
| style="padding: 6px;" | {{{Blood Type}}}
}}
{{#if:{{{Height|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Height
| style="padding: 6px;" | {{{Height}}}
}}
{{#if:{{{Three Sizes|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Three Sizes
| style="padding: 6px;" | {{{Three Sizes}}}
}}
<!-- OTHER SECTION -->
{{#if:{{{Zodiac Sign|}}}{{{Favorite Food|}}}{{{Disliked Food|}}}{{{Favorite Subject|}}}{{{Favorite Animal|}}}{{{Charm Point|}}}{{{Special Skill|}}}
|-
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Other
}}
{{#if:{{{Zodiac Sign|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Zodiac Sign
| style="padding: 6px;" | {{{Zodiac Sign}}}
}}
{{#if:{{{Favorite Food|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Favorite Food
| style="padding: 6px;" | {{{Favorite Food}}}
}}
{{#if:{{{Disliked Food|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Disliked Food
| style="padding: 6px;" | {{{Disliked Food}}}
}}
{{#if:{{{Favorite Subject|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Favorite Subject
| style="padding: 6px;" | {{{Favorite Subject}}}
}}
{{#if:{{{Favorite Animal|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Favorite Animal
| style="padding: 6px;" | {{{Favorite Animal}}}
}}
{{#if:{{{Charm Point|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Charm Point
| style="padding: 6px;" | {{{Charm Point}}}
}}
{{#if:{{{Special Skill|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Special Skill
| style="padding: 6px;" | {{{Special Skill}}}
}}
<!-- FIRST APPEARANCE -->
{{#if:{{{Debut|}}}
|-
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | First Appearance
|-
! style="background-color:#f2f2f2; padding: 6px;" | Debut
| style="padding: 6px;" | {{{Debut}}}
}}
<!-- VOICE ACTORS -->
{{#if:{{{Seiyuu Kanji|}}}{{{Seiyuu Romaji|}}}
|-
! colspan="2" style="background-color: var(--subsection-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Japanese Voice Actress/Actor
}}
{{#if:{{{Seiyuu Kanji|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Kanji
| style="padding: 6px;" | {{{Seiyuu Kanji}}}
}}
{{#if:{{{Seiyuu Romaji|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Romaji
| style="padding: 6px;" | ''{{{Seiyuu Romaji}}}''
}}
{{#if:{{{English Seiyuu Name|}}}
|-
! colspan="2" style="background-color: var(--subsection-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | English Voice Actress/Actor
|-
! style="background-color:#f2f2f2; padding: 6px;" | Name
| style="padding: 6px;" | {{{English Seiyuu Name}}}
}}
<!-- ICON/SIGNATURE -->
{{#if:{{{icon|}}}{{{signature|}}}
|-
! colspan="2" style="background-color: var(--section-bg); color: white; text-align: center; font-weight: bold; padding: 6px;" | Icon and Signature
}}
{{#if:{{{icon|}}}
|-
! style="background-color:#f2f2f2; padding: 6px;" | Icon
| style="padding: 6px; text-align:center;" | {{{icon|Placeholder_Icon.png|125px}}}
}}
{{#if:{{{signature|}}}
|-
! 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)