Actions

Template

Difference between revisions of "CharacterInfobox"

From Tenipuri Info

 
(146 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Template]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude><templatestyles src="CharacterInfobox/styles.css" />
{|class="wikitable" style="float:right;margin-left:10px;font-size:0.9em;width:350px;"
{|class="wikitable pkill infob infobox" style="float:right;margin-left:10px;width:350px;"
|colspan="2"|
|colspan="2"|
<ul class="tabs" data-tab><!--Replace entire tabs section with [[File:File.exts|350px]] if character only appears in one medium.-->
{{#if:{{{AnimeImg|}}}|{{#if:{{{MangaImg|}}}|<ul class="tabs" data-tab>
   <li class="tab-title active" style="display:inline-block;text-align:center;width:50%;">Anime</li>
   <li class="tab-title active" style="display:inline-block;text-align:center;width:50%;">Anime</li>
   <li class="tab-title" style="display:inline-block;text-align:center;width:50%;">Manga</li>
   <li class="tab-title" style="display:inline-block;text-align:center;width:50%;">Manga</li>
Line 8: Line 8:
<div class="tabs-content" style="margin-bottom:-10px;">
<div class="tabs-content" style="margin-bottom:-10px;">
   <div class="content active" id="anime">
   <div class="content active" id="anime">
  <p> [[File:{{{AnimeImg}}}|350px]]</p>
[[File:{{{AnimeImg|}}}{{#!:|}}350px]]
   </div>
   </div>
   <div class="content" id="manga">
   <div class="content" id="manga">
  <p> [[File:{{{MangaImg}}}|350px]]</p>
[[File:{{{MangaImg|}}}{{#!:|}}350px]]
   </div>
   </div>
</div>
</div>|<div>[[File:{{{AnimeImg}}}|350px]]</div>}}|<div>{{#if:{{{MangaImg|}}}|<div>[[File:{{{MangaImg}}}|350px]]</div>|<div>[[File:{{{AnimeImg}}}|350px]]</div>}}</div>}}
|-
|-
!colspan="2"|<center>{{{Name}}}</center>
!colspan="2"|<center>{{{Name}}}</center>
{{#if:{{{Kanji|}}}|{{#!:|-
!style="width:30%;"|Kanji
|{{{Kanji}}}}}}}
|-
|-
!Kanji
!style="width:30%;"|Kana
|{{{Kanji}}}
|-
!Kana
|{{{Kana}}}
|{{{Kana}}}
|-
|-
!Gender
!style="width:30%;"|Gender
|{{{Gender|<nowiki>male/female</nowiki>}}}
|{{{Gender|<nowiki>male/female/etc</nowiki>}}}
{{#if:{{{AgePOT|}}}|{{#!:|-
!style="width:30%;"|Age
|{{{AgePOT|Age}}}{{#if:{{{AgeNPOT|}}}|}}{{#if:{{{AgeNPOT}}}|<sup>POT</sup> <br />{{{AgeNPOT}}}<sup>NPOT</sup>}}}}}}
{{#if:{{{Birthday|}}}|{{#!:|-
!style="width:30%;"|Birthday
|{{{Birthday}}} ({{{Astrology}}})}}}}
{{#if:{{{HeightPOT|}}}|{{#!:|-
!style="width:30%;"|Height
|{{{HeightPOT}}}{{#if:{{{HeightNPOT|}}}|}}{{#if:{{{HeightNPOT}}}|<sup>POT</sup> <br />{{{HeightNPOT}}}<sup>NPOT</sup>}}}}}}
{{#if:{{{WeightPOT|}}}|{{#!:|-
!style="width:30%;"|Weight
|{{{WeightPOT}}}{{#if:{{{WeightNPOT|}}}|}}{{#if:{{{WeightNPOT}}}|<sup>POT</sup> <br />{{{WeightNPOT}}}<sup>NPOT</sup>}}}}}}
|-
|-
!Age
{{#if:{{{Blood Type|}}}|{{#!:|-
|{{{AgePOT|Age}}}{{#if:{{{AgeNPOT|}}}|}}{{#if:{{{AgeNPOT}}}|<sup>POT</sup> <br />{{{AgeNPOT}}}<sup>NPOT</sup>}}
!style="width:30%;"|Blood Type
|{{{Blood Type}}}}}}}
{{#if:{{{Dominant Arm|}}}|{{#!:|-
!style="width:30%;"|Dominant Arm
|{{{Dominant Arm}}}}}}}
{{#if:{{{Eyesight|}}}|{{#!:
|-
|-
!Birthday
!style="width:30%;"|Eyesight (Unaided)
|{{{Birthday}}} ({{{Astrology}}})
|-
!Height
|{{{HeightPOT}}}{{#if:{{{HeightNPOT|}}}|}}{{#if:{{{HeightNPOT}}}|<sup>POT</sup> <br />{{{HeightNPOT}}}<sup>NPOT</sup>}}
|-
!Weight
|{{{WeightPOT}}}{{#if:{{{WeightNPOT|}}}|}}{{#if:{{{WeightNPOT}}}|<sup>POT</sup> <br />{{{WeightNPOT}}}<sup>NPOT</sup>}}
|-
!Blood Type
|{{{Blood Type}}}
|-
!Dominant Arm
|{{{Dominant Arm}}}
{{#if: {{{Eyesight|}}}|{{#!:|-
!Eyesight (Unaided)
|{{{Eyesight}}}}}}}
|{{{Eyesight}}}}}}}
{{#if:{{{Shoe Size|}}}|{{#!:|-
!style="width:30%;"|Shoe Size
|{{{Shoe Size}}}}}}}
{{#if:{{{Family|}}}|{{#!:|-
!style="width:30%;"|Family
|{{{Family|family}}}}}}}
{{#if:{{{Nicknames|}}}|{{#!:|-
!style="width:30%;"|Nicknames
|{{{Nicknames}}}}}}}
|-
|-
!Shoe Size
{{#if:{{{School|}}}|{{#!:!colspan="2"|<center>School</center>
|{{{Shoe Size}}}
|-
|-
!Family <!--Please list in oldest generation to youngest (i.e., Grandfather, Grandmother, Father, Mother, Older Brother, Older Sister, Twin, Younger Brother, Younger Sister, Pet)-->
!style="width:30%;"|School
|{{{Family}}}
|{{{School|School}}} {{{Year|}}}}}}}
{{#if:{{{Previous School|}}}|{{#!:|-
!style="width:30%;"|Previous School(s)
|{{{Previous School}}}}}}}
{{#if:{{{Elementary School|Elementary School}}}|{{#!:|-
!style="width:30%;"|Elementary School
|{{{Elementary School}}}}}}}
{{#if:{{{Class|}}}|{{#!:|-
!style="width:30%;"|Class
|{{{Class}}}}}}}
{{#if:{{{Seat|}}}|{{#!:
|-
|-
!Nicknames <!--Please list in alphabetical order; use citations-->
!style="width:30%;"|Seat
|{{{Nicknames}}}
|{{{Seat}}}}}}}
{{#if: {{{Committee|}}}|{{#!:
|-
|-
!colspan="2"|<center>School</center>
!style="width:30%;"|Committee
|-
!Current School
|{{{School}}} {{{Year}}}
|-
!Class
|{{{Class}}}
|-
!Seat
|{{{Seat}}}
{{#if: {{{Committee|}}}|{{#!:|-
!Committee
|{{{Committee}}}}}}}
|{{{Committee}}}}}}}
{{#if:{{{Best Subjects|}}}|{{#!:
|-
|-
!Best Subject(s)
!style="width:30%;"|Best Subject(s)
|{{{Best Subjects}}}
|{{{Best Subjects}}}}}}}
|-
{{#if:{{{Worst Subjects|}}}|{{#!:|-
!Worst Subject(s)
!style="width:30%;"|Worst Subject(s)
|{{{Worst Subjects}}}
|{{{Worst Subjects}}}}}}}
|-
{{#if:{{{Club Position|}}}
!Former School(s)
|{{#!:|-
|{{{Former School}}}
|-
!colspan="2"|<center>Tennis</center>
!colspan="2"|<center>Tennis</center>
|-
|-
!Club Position
!style="width:30%;"|Club Position
|{{{Club Position}}}
|{{{Club Position|Regular}}}}}}}
|-
{{#if:{{{U17 World Cup Team|}}}|{{#!:|-
!Play Style
!style="width:30%;"|U17 World Cup Team
|[[{{{Play Style}}}]]
|{{{U17 World Cup Team}}}}}}}
|-
{{#if:{{{U17 Position|}}}|{{#!:|-
!Doubles Partner(s) <!--Please list in alphabetical order-->
!style="width:30%;"|U17 Position
|{{{Doubles Partners}}}
|{{{U17 Position}}}}}}}
|-
{{#if:{{{Play Style|}}}|{{#!:|-
!Shoes
!style="width:30%;"|Play Style
|{{{Shoes}}}
|{{{Play Style}}}}}}}
|-
{{#if:{{{Doubles Partners|}}}|{{#!:|-
!Racket(s)
!style="width:30%;"|Doubles Partner(s)
|{{{Racket}}}
|{{{Doubles Partners}}}}}}}
{{#if:{{{Shoes|}}}|{{#!:|-
!style="width:30%;"|Shoes
|{{{Shoes}}}}}}}
{{#if:{{{Racket|}}}|{{#!:|-
!style="width:30%;"|Racket(s)
|{{{Racket}}}}}}}
|-
|-
!colspan="2"|<center>Media</center>
!colspan="2"|<center>Media</center>
|-
{{#if:{{{MangaDebut|}}}|{{#!:|-
!Manga Debut
!style="width:30%;"|Manga Debut
|{{{MangaDebut|Genius #}}}
|{{{MangaDebut|Genius #}}}}}}}
|-
{{#if:{{{AnimeDebut|}}}|{{#!:|-
!Anime Debut
!style="width:30%;"|Anime Debut
|{{{AnimeDebut|Episode #}}}
|{{{AnimeDebut|Episode #}}}}}}}
|-
{{#if:{{{VoiceJP|}}}|{{#!:|-
!Voice
!style="width:30%;"|Voice
|{{{Voice}}}
|{{{VoiceJP}}}{{#if:{{{VoiceENCR|}}}|}}{{#if:{{{VoiceENCR}}}|<sup>JP</sup> <br />{{{VoiceENCR}}}<sup>EN ([https://www.crunchyroll.com CR])</sup> <br /> {{{VoiceENVIZ}}}<sup>EN ([https://www.viz.com VIZ])</sup>}}}}}}
|-
{{#if:{{{Tenimyu|}}}|{{#!:|-
![[Tenimyu]] Actors
!style="width:30%;"|[[Tenimyu]] Actors
|{{{Tenimyu}}}
|{{{Tenimyu|actor list}}}}}}}
|}
|}<noinclude>
 
 
<noinclude>
==include in character page==
Copy and paste this at the top of the character page to use this template.
 
<nowiki>
{{CharacterInfobox
|Name=
|Kanji=
|Kana=
|AgePOT=
|AgeNPOT=<!--if no change, move on-->
|HeightPOT=height cm
|HeightNPOT=<!--if no change, move on-->
|WeightPOT=weight kg
|WeightNPOT=<!--if no change, move on-->
|Birthday=January 2
|Blood Type=A/B/AB/O
|Dominant Arm=right/left
|Eyesight=X.X
|Shoe Size=xx cm
|Family=<span></span>
*mom
*dad
*etc
|Nicknames=<span></span>
*use list if multiple
<!--School-->
|School=[[School name]]
|Year=(#rd/nd/st Year)
|Class=X-X
|Seat=#
|Committee=
|Best Subjects=
|Worst Subjects=
|Former School=
<!--Tennis-->
|Club Position=Club Position
|Play Style=[[Play Style]]
|Doubles Partners=<span></span>
*[[Partner 1]]
*[[Partner 2]]
*etc.
|Shoes=Brand (Type)
|Racket=Brand (Type)
<!--Media-->
|MangaDebut=Genius #
|AnimeDebut=Episode #
|VoiceJP= [link Actor Name](JP)
|Tenimyu=<span></span>
*[https://en.wikipedia.org/wiki/Actor_Name Actor Name] (1st)
*[https://en.wikipedia.org/wiki/Actor_Name Actor Name] (2nd)
*[https://en.wikipedia.org/wiki/Actor_Name Actor Name] (3rd)
}}
</nowiki>


==Copy Code==
[[Template:CharacterInfobox/subst|Link to CharacterInfobox/subst (Insert page)]]
For exceptions, (ex. if there is too much information in the list) here is the code. Edit as needed.


[[Template:CharacterInfobox/styles.css|Link to Template styles]]


<nowiki>
[[Template:Character|Link to Character Template]]
{|class="wikitable" style="float:right;margin-left:10px;font-size:0.9em;width:350px;"
</noinclude><noinclude>
|colspan="2"|
<templatedata>
<ul class="tabs" data-tab><!--Replace entire tabs section with [[File:File.exts|350px]] if character only appears in one medium.-->
{
  <li class="tab-title active" style="display:inline-block;text-align:center;width:50%;">[[#anime|Anime]]</li>
"params": {
  <li class="tab-title" style="display:inline-block;text-align:center;width:50%;">[[#manga|Manga]]</li>
"AnimeImg": {
</ul>
"label": "Anime Image",
<div class="tabs-content" style="margin-bottom:-10px;">
"description": "Anime Image",
  <div class="content active" id="anime">
"example": "NameAnime.png",
  <p> [[File:{{{AnimeImg}}}|350px]]</p>
"type": "wiki-file-name"
  </div>
},
  <div class="content" id="manga">
"MangaImg": {
  <p> [[File:{{{MangaImg}}}|350px]]</p>
"label": "Manga Image",
  </div>
"description": "Manga Image",
</div>
"example": "NameManga.png",
|-
"type": "wiki-file-name"
!colspan="2"|<center>{{{Name}}}</center>
},
|-
"Name": {},
!Kanji
"Kanji": {},
|{{{Kanji}}}
"Kana": {},
|-
"Gender": {},
!Kana
"AgePOT": {
|{{{Kana}}}
"label": "Age during Prince of Tennis",
|-
"description": "Age before Nov. 1st"
!Gender
},
|{{{Gender|male or female}}}
"AgeNPOT": {
|-
"label": "Age after November 1st",
!Age
"description": "Leave blank if unchanged "
|{{{AgePOT|Age}}}{{#if:{{{AgeNPOT|}}}|}}{{#if:{{{AgeNPOT}}}|<sup>POT</sup> <br />{{{AgeNPOT}}}<sup>NPOT</sup>}}
},
|-
"Birthday": {},
!Birthday
"Astrology": {
|{{{Birthday}}} ({{{Astrology}}})
"label": "Zodiac Sign",
|-
"description": "Zodiac Sign",
!Height
"example": "Libra"
|{{{HeightPOT}}}{{#if:{{{HeightNPOT|}}}|}}{{#if:{{{HeightNPOT}}}|<sup>POT</sup> <br />{{{HeightNPOT}}}<sup>NPOT</sup>}}
},
|-
"HeightPOT": {
!Weight
"label": "Height in Prince of Tennis",
|{{{WeightPOT}}}{{#if:{{{WeightNPOT|}}}|}}{{#if:{{{WeightNPOT}}}|<sup>POT</sup> <br />{{{WeightNPOT}}}<sup>NPOT</sup>}}
"description": "Height in Prince of Tennis",
|-
"example": "170 cm"
!Blood Type
},
|{{{Blood Type}}}
"HeightNPOT": {
|-
"label": "Height in New Prince of Tennis",
!Dominant Arm
"description": "Leave blank if unchanged"
|{{{Dominant Arm}}}
},
|-
"WeightPOT": {},
!Eyesight (Unaided)
"WeightNPOT": {},
|{{{Eyesight}}}
"Blood Type": {},
|-
"Dominant Arm": {},
!Shoe Size
"Eyesight": {},
|{{{Shoe Size}}}
"Shoe Size": {},
|-
"Family": {},
!Family <!--Please list in oldest generation to youngest (i.e., Grandfather, Grandmother, Father, Mother, Older Brother, Older Sister, Twin, Younger Brother, Younger Sister, Pet)-->
"Nicknames": {},
|{{{Family}}}
"School": {},
|-
"Former School": {},
!Nicknames <!--Please list in alphabetical order; use citations-->
"Elementary School": {},
|{{{Nicknames}}}
"Year": {},
|-
"Class": {},
!colspan="2"|<center>School</center>
"Seat": {},
|-
"Committee": {},
!Current School
"Best Subjects": {},
|{{{School}}} {{{Year}}}
"Worst Subjects": {},
|-
"Club Position": {},
!Class
"U17 World Cup Team": {},
|{{{Class}}}
"U17 Position": {},
|-
"Play Style": {},
!Seat
"Doubles Partners": {},
|{{{Seat}}}
"Shoes": {},
|-
"Racket": {},
!Committee
"MangaDebut": {},
|{{{Committee}}}
"AnimeDebut": {},
|-
"VoiceJP": {},
!Best Subject(s)
"VoiceENCR": {},
|{{{Best Subjects}}}
"VoiceENVIZ": {},
|-
"Tenimyu": {}
!Worst Subject(s)
},
|{{{Worst Subjects}}}
"description": "The Infobox that goes on Character pages.",
|-
"paramOrder": [
!Former School(s)
"AnimeImg",
|{{{Former School}}}
"MangaImg",
|-
"Name",
!colspan="2"|<center>Tennis</center>
"Kanji",
|-
"Kana",
!Club Position
"Gender",
|{{{Club Position}}}
"AgePOT",
|-
"AgeNPOT",
!Play Style
"Birthday",
|[[{{{Play Style}}}]]
"Astrology",
|-
"HeightPOT",
!Doubles Partner(s) <!--Please list in alphabetical order-->
"HeightNPOT",
|{{{Doubles Partners}}}
"WeightPOT",
|-
"WeightNPOT",
!Shoes
"Blood Type",
|{{{Shoes}}}
"Dominant Arm",
|-
"Eyesight",
!Racket(s)
"Shoe Size",
|{{{Racket}}}
"Family",
|-
"Nicknames",
!colspan="2"|<center>Media</center>
"School",
|-
"Former School",
!Manga Debut
"Elementary School",
|{{{MangaDebut|Genius #}}}
"Year",
|-
"Class",
!Anime Debut
"Seat",
|{{{AnimeDebut|Episode #}}}
"Committee",
|-
"Best Subjects",
!Voice
"Worst Subjects",
|{{{Voice}}}
"Club Position",
|-
"U17 World Cup Team",
![[Tenimyu]] Actors
"U17 Position",
|{{{Tenimyu}}}
"Play Style",
|}
"Doubles Partners",
</nowiki>
"Shoes",
</noinclude>
"Racket",
"MangaDebut",
"AnimeDebut",
"VoiceJP",
"VoiceENCR",
"VoiceENVIZ",
"Tenimyu"
]
}
</templatedata></noinclude>

Latest revision as of 16:54, 21 January 2024

[[File:{{{AnimeImg}}}|350px]]
{{{Name}}}
Kana {{{Kana}}}
Gender male/female/etc



Elementary School {{{Elementary School}}}







Media



Link to CharacterInfobox/subst (Insert page)

Link to Template styles

Link to Character Template

The Infobox that goes on Character pages.

Template parameters

ParameterDescriptionTypeStatus
Anime ImageAnimeImg

Anime Image

Example
NameAnime.png
Fileoptional
Manga ImageMangaImg

Manga Image

Example
NameManga.png
Fileoptional
NameName

no description

Unknownoptional
KanjiKanji

no description

Unknownoptional
KanaKana

no description

Unknownoptional
GenderGender

no description

Unknownoptional
Age during Prince of TennisAgePOT

Age before Nov. 1st

Unknownoptional
Age after November 1stAgeNPOT

Leave blank if unchanged

Unknownoptional
BirthdayBirthday

no description

Unknownoptional
Zodiac SignAstrology

Zodiac Sign

Example
Libra
Unknownoptional
Height in Prince of TennisHeightPOT

Height in Prince of Tennis

Example
170 cm
Unknownoptional
Height in New Prince of TennisHeightNPOT

Leave blank if unchanged

Unknownoptional
WeightPOTWeightPOT

no description

Unknownoptional
WeightNPOTWeightNPOT

no description

Unknownoptional
Blood TypeBlood Type

no description

Unknownoptional
Dominant ArmDominant Arm

no description

Unknownoptional
EyesightEyesight

no description

Unknownoptional
Shoe SizeShoe Size

no description

Unknownoptional
FamilyFamily

no description

Unknownoptional
NicknamesNicknames

no description

Unknownoptional
SchoolSchool

no description

Unknownoptional
Former SchoolFormer School

no description

Unknownoptional
Elementary SchoolElementary School

no description

Unknownoptional
YearYear

no description

Unknownoptional
ClassClass

no description

Unknownoptional
SeatSeat

no description

Unknownoptional
CommitteeCommittee

no description

Unknownoptional
Best SubjectsBest Subjects

no description

Unknownoptional
Worst SubjectsWorst Subjects

no description

Unknownoptional
Club PositionClub Position

no description

Unknownoptional
U17 World Cup TeamU17 World Cup Team

no description

Unknownoptional
U17 PositionU17 Position

no description

Unknownoptional
Play StylePlay Style

no description

Unknownoptional
Doubles PartnersDoubles Partners

no description

Unknownoptional
ShoesShoes

no description

Unknownoptional
RacketRacket

no description

Unknownoptional
MangaDebutMangaDebut

no description

Unknownoptional
AnimeDebutAnimeDebut

no description

Unknownoptional
VoiceJPVoiceJP

no description

Unknownoptional
VoiceENCRVoiceENCR

no description

Unknownoptional
VoiceENVIZVoiceENVIZ

no description

Unknownoptional
TenimyuTenimyu

no description

Unknownoptional