Actions

Template

Difference between revisions of "CharacterInfobox"

From Tenipuri Info

 
(151 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|}}}|{{#!:|-
!Age
!style="width:30%;"|Age
|{{{AgePOT|Age}}}{{#if:{{{AgeNPOT|}}}|}}{{#if:{{{AgeNPOT}}}|<sup>POT</sup> <br />{{{AgeNPOT}}}<sup>NPOT</sup>}}
|{{{AgePOT|Age}}}{{#if:{{{AgeNPOT|}}}|}}{{#if:{{{AgeNPOT}}}|<sup>POT</sup> <br />{{{AgeNPOT}}}<sup>NPOT</sup>}}}}}}
|-
{{#if:{{{Birthday|}}}|{{#!:|-
!Birthday
!style="width:30%;"|Birthday
|{{{Birthday}}} ({{{Astrology}}})
|{{{Birthday}}} ({{{Astrology}}})}}}}
|-
{{#if:{{{HeightPOT|}}}|{{#!:|-
!Height
!style="width:30%;"|Height
|{{{HeightPOT}}}{{#if:{{{HeightNPOT|}}}|}}{{#if:{{{HeightNPOT}}}|<sup>POT</sup> <br />{{{HeightNPOT}}}<sup>NPOT</sup>}}
|{{{HeightPOT}}}{{#if:{{{HeightNPOT|}}}|}}{{#if:{{{HeightNPOT}}}|<sup>POT</sup> <br />{{{HeightNPOT}}}<sup>NPOT</sup>}}}}}}
|-
{{#if:{{{WeightPOT|}}}|{{#!:|-
!Weight
!style="width:30%;"|Weight
|{{{WeightPOT}}}{{#if:{{{WeightNPOT|}}}|}}{{#if:{{{WeightNPOT}}}|<sup>POT</sup> <br />{{{WeightNPOT}}}<sup>NPOT</sup>}}
|{{{WeightPOT}}}{{#if:{{{WeightNPOT|}}}|}}{{#if:{{{WeightNPOT}}}|<sup>POT</sup> <br />{{{WeightNPOT}}}<sup>NPOT</sup>}}}}}}
|-
!Blood Type
|{{{Blood Type}}}
|-
!Dominant Arm
|{{{Dominant Arm}}}
|-
!Eyesight (Unaided)
|{{{Eyesight}}}
|-
!Shoe Size
|{{{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)-->
|{{{Family}}}
|-
|-
!Nicknames <!--Please list in alphabetical order; use citations-->
{{#if:{{{Blood Type|}}}|{{#!:|-
|{{{Nicknames}}}
!style="width:30%;"|Blood Type
|{{{Blood Type}}}}}}}
{{#if:{{{Dominant Arm|}}}|{{#!:|-
!style="width:30%;"|Dominant Arm
|{{{Dominant Arm}}}}}}}
{{#if:{{{Eyesight|}}}|{{#!:
|-
|-
!colspan="2"|<center>School</center>
!style="width:30%;"|Eyesight (Unaided)
|{{{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}}}}}}}
|-
|-
!Current School
{{#if:{{{School|}}}|{{#!:!colspan="2"|<center>School</center>
|{{{School}}} {{{Year}}}
|-
|-
!Class
!style="width:30%;"|School
|{{{Class}}}
|{{{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|}}}|{{#!:
|-
|-
!Seat
!style="width:30%;"|Seat
|{{{Seat}}}
|{{{Seat}}}}}}}
{{#if: {{{Committee|}}}|{{#!:
|-
|-
!Committee
!style="width:30%;"|Committee
|{{{Committee}}}
|{{{Committee}}}}}}}
|-
{{#if:{{{Best Subjects|}}}|{{#!:
!Best Subject(s)
|{{{Best Subjects}}}
|-
!Worst Subject(s)
|{{{Worst Subjects}}}
|-
!Former School(s)
|{{{Former School}}}
|-
|-
!style="width:30%;"|Best Subject(s)
|{{{Best Subjects}}}}}}}
{{#if:{{{Worst Subjects|}}}|{{#!:|-
!style="width:30%;"|Worst Subject(s)
|{{{Worst Subjects}}}}}}}
{{#if:{{{Club Position|}}}
|{{#!:|-
!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>


[[Template:CharacterInfobox/subst|Link to CharacterInfobox/subst (Insert page)]]


<noinclude>
[[Template:CharacterInfobox/styles.css|Link to Template styles]]
==include in character page==
Copy and paste this at the top of the character page to use this template.


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

Latest revision as of 17: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