Template:Infobox character old: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
< | <includeonly> | ||
<script> | |||
.character-infobox { | document.addEventListener("DOMContentLoaded", function() { | ||
var box = document.querySelector(".character-infobox"); | |||
if (window.innerWidth < 768 && box) { | |||
box.style.margin = "0 auto"; | |||
box.style.float = "none"; | |||
} | } | ||
} | }); | ||
</ | </script> | ||
<div class="character-infobox" style="padding-left: 20px; padding-right: 20px; padding-bottom: 20px; max-width: 100%; width: fit-content; margin-left: auto; margin-right: 0;"> | |||
<div class="character-infobox" style=" | |||
{| class="infobox" style="width: 270px; font-size: 90%; text-align: left; border: 1px solid #ccc; background-color: var(--infobox-bg);" | {| class="infobox" style="width: 270px; font-size: 90%; text-align: left; border: 1px solid #ccc; 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}}}}} | ||
Revision as of 05:19, 12 April 2025
Template documentation (for the above template, sometimes hidden or invisible)
- Description
- This template is used to create a character infobox.
- Syntax
- Type
{{infobox character|<...>}}somewhere, with parameters as shown below. - Sample output
{{infobox character
|name = Honoka Kosaka
|Year = Second Year
|Birthday = August 3
|Gender = Female
|Blood Type = O
|Height = 157 cm
|image = [[File:Love Live! infobox - Kousaka Honoka.png|250px]]
|Debut = Episode 1
|Seiyuu Kanji = 新田恵海
|Seiyuu Romaji = [[Emi Nitta|Nitta Emi]]
|English Seiyuu Name = {{W|Marieve Herington}}
|Japanese Name = 高坂穂乃果
|Romanized Name = Kousaka Honoka
|Three Sizes = B 78, W 58, H 82
|Zodiac Sign = Leo
|Favorite Food = Strawberries
|Disliked Food = Bell Peppers
|Favorite Subject = '
|Favorite Animal = '
|Charm Point = Her energetic smile
|Special Skill = '
|Icon = [[File:Honoka Icon.png|30px]]
|Signature = [[File:Honoka Signature.png|175px]]
}}
Results in...
| Infobox character old | |
|---|---|
| Kanji | 高坂穂乃果 |
| Romaji | Kousaka Honoka |
| Debut | Episode 1 |
| Statistics | |
| Gender | Female |
| Birthday | August 3 |
| Year | Second Year |
| Height | 157 cm |
| Blood Type | O |
| Three Sizes | B 78, W 58, H 82 |
| Other | |
| Favorite Food | Strawberries |
| Disliked Food | Bell Peppers |
| Charm Point | Her energetic smile |
| Portrayals | |
| Seiyuu Kanji | 新田恵海 |
| Seiyuu Romaji | Nitta Emi |
| English Dub | Marieve Herington |
| Icon and Signature | |
| Icon | |
| Signature | ![]() |
Visit Template:Infobox character old/doc to edit this text! (How does this work?)
