Template:CharInfobox: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
No edit summary
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="roundy" style="float: right; background: #{{{color|808080}}}; margin-left: 10px; margin-bottom: 10px; border: 3px solid #{{{bordercolor|000}}}; width: 25% !important"
{| class="roundy" style="float: right; background: #{{{color|808080}}}; margin-left: 10px; margin-bottom: 10px; border: 3px solid #{{{bordercolor|000}}}; max-width: 430px !important;"
|- style="text-align:center"
|- style="text-align:center"
| colspan="2" | {{#if: {{{text|}}}|<span style="color:#FFF">}}<big><big>'''{{{name|Ash Ketchum}}}'''</big></big>{{#if:{{{jname|}}}|<br><span lang="ja">'''{{{jname|サトシ}}}'''</span> ''{{{tmname|Satoshi}}}''{{#if: {{{text|}}}|</span>}}|}}
| colspan="2" | {{#if: {{{text|}}}|<span style="color:#FFF">}}<big><big>'''{{{name|Ash Ketchum}}}'''</big></big>{{#if:{{{jname|}}}|<br><span lang="ja">'''{{{jname|サトシ}}}'''</span> ''{{{tmname|Satoshi}}}''{{#if: {{{text|}}}|</span>}}|}}<includeonly>{{#ifeq:{{NAMESPACE}}||[[Category:Characters]]}}</includeonly>
|- style="text-align:center"
|- style="text-align:center"
{{#ifeq: {{{slogan|no}}}|yes|{{!}} class="roundy" style="background: #{{{corecolor|FFF}}}" colspan="2" {{!}} ''<small>"{{{sloganline|I am a great Pokémon Trainer!}}}"</small>''}}
{{#ifeq: {{{slogan|no}}}|yes|{{!}} class="roundy" style="background: #{{{corecolor|FFF}}}" colspan="2" {{!}} ''<small>"{{{sloganline|I am a great Pokémon Trainer!}}}"</small>''}}
Line 7: Line 7:
| class="roundy" style="background: #FFF" colspan="2" | [[File:{{{image}}}|{{{size}}}]]<br><small>{{{caption}}}</small>
| class="roundy" style="background: #FFF" colspan="2" | [[File:{{{image}}}|{{{size}}}]]<br><small>{{{caption}}}</small>
|-
|-
{{#ifeq: {{{age|no}}}|yes|! class="roundytl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} {{#ifeq: {{{anime|no}}}|yes|[[Aging in the anime|<span style="color:#000;">Age</span>]]|Age}}
{{#ifeq: {{{age|no}}}|yes|! class="roundytl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} [[List of character ages|<span style="color:#000;">Age</span>]]
{{!}} class="roundytr" style="background:#FFF" {{!}} {{{years|1,000,000}}}}}
{{!}} class="roundytr" style="background:#FFF" {{!}} {{{years|1,000,000}}}}}
|-
|-
Line 102: Line 102:
{{#ifeq: {{{anime|no}}}|yes|! class="roundybl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Japanese voice actor
{{#ifeq: {{{anime|no}}}|yes|! class="roundybl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Japanese voice actor
{{!}} class="roundybr" style="background:#FFF" {{!}} {{{java|Unknown}}}}}
{{!}} class="roundybr" style="background:#FFF" {{!}} {{{java|Unknown}}}}}
|-
{{#if:{{{miscanimedebut|}}}|! class="roundytl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Misc. animation debut
{{!}} class="roundytr" style="background:#FFF" {{!}} {{{miscanimedebut|Unknown}}}
{{!}}-
! style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} English voice actor
{{!}} style="background:#FFF" {{!}} {{{envamisc|Unknown}}}
{{!}}-
! class="roundybl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Japanese voice actor
{{!}} class="roundybr" style="background:#FFF" {{!}} {{{javamisc|Unknown}}}}}
|-
|-
{{#ifeq: {{{manga|no}}}|counterpart|! class="roundyleft" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Manga counterpart(s)
{{#ifeq: {{{manga|no}}}|counterpart|! class="roundyleft" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Manga counterpart(s)
{{!}} class="roundyright" style="background:#FFF" {{!}} {{{mangacounterpart|}}}}}
{{!}} class="roundyright" style="background:#FFF" {{!}} {{{mangacounterpart|}}}}}
|}<includeonly> {{#switch:{{NAMESPACE}}|Bulbapedia|User=|{{#switch: {{{gender|}}}|Male|Female=[[Category:{{{gender}}} characters]]}}}}</includeonly><noinclude>[[Category:Infobox templates]]</noinclude>
|-
{{#if: {{{livedebut|}}}|! class="roundytl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Live action debut
{{!}} class="roundytr" style="background:#FFF" {{!}} {{{livedebut|Unknown}}}
{{!}}-
! class="roundybl" style="text-align:right; background: #{{{corecolor|FFF}}}" {{!}} Live actor
{{!}} class="roundybr" style="background:#FFF" {{!}} {{{liveactor|Unknown}}}}}
|}<includeonly>{{#ifeq:{{NAMESPACE}}||{{#if:{{{years|}}}|[[Category:Characters with confirmed ages]]}}}}{{#switch:{{NAMESPACE}}|Bulbapedia|User=|{{#switch: {{{gender|}}}|Male|Female=[[Category:{{{gender}}} characters]]}}}}</includeonly><noinclude>
 
==Template fields==
 
===Color===
* '''color''' - Background color of the box.
* '''corecolor''' - The color on the left side of info lines (for example: in a line that displays age, this color is on the box with the word "age", while the box with the number displays with a white background).
* '''bordercolor''' - Border color of the box.
 
===Header text and image===
* '''text''' (optional) - Set to 1 to make the header text display in white. Otherwise, it will display in black.
* '''name''' - The character's English name.
* '''jname''' - The character's Japanese name.
* '''tmname''' - Romanization of the character's Japanese name.
* '''slogan''' - Set to "yes" if the character has one.
** '''sloganline''' - The character's slogan.
* '''image''' - File name of the header image. Include file extension, such as .png.
** '''size''' - Size of the image. Include px.
** '''caption''' - Caption to be displayed under the image. Generally, this should describe what work the image is from (which manga, which anime series, etc).
 
===Profile===
* '''age''' - Set to "yes" if the character's age is known.
** '''years''' - The character's age in years.
* '''gender''' - The character's gender.
* '''birthday''' - The character's birthday.
* '''blood''' - The character's blood type.
* '''colors''' - Set to "yes" if the character's eye and hair colors are known
** '''eyes''' - The character's eye color.
** '''hair''' - The character's hair color.
* '''hometown''' - The character's hometown
* '''region''' - The character's home region.
* '''relatives''' - The character's relatives, if they have any.
* '''trainerclass''' - The character's [[Trainer class]].
* '''game''' - Set to "yes" if the character appears in a video game. Set to "counterpart" if a counterpart of them appears instead.
** '''generation''' - The generations in which the character appears.
** '''games''' - The games in which the character appears.
** '''counterpart''' - The character's game counterpart.
 
===Trainer groups===
* '''leader''' - Set to "yes" if the character is a [[Gym Leader]].
** '''gym''' - The character's [[Gym]], formatted like: Pewter Gym
** '''badge''' - The [[Badge]] of the character's Gym, formatted like: <nowiki>Badge#Boulder Badge{{!}}Boulder Badge</nowiki>
* '''elite''' - Set to "yes" if the character is part of of an [[Elite Four]].
* '''champ''' - Set to "yes" if the character is a [[Champion]].
** '''league''' - The league that the character is an Elite Four or Champion of.
* '''specialist''' - Set to "yes" if the character is a [[type specialist]].
** '''type''' - The character's specialized type, formatted like: <nowiki>{{t|Rock}} types</nowiki>
* '''orange''' - Set to "yes" if the character is a Gym Leader in the [[Orange Archipelago]].
** '''challenge''' - The character's challenge in the Orange Archipelago.
* '''brain''' - Set to "yes" if the character is a [[Frontier Brain]].
** '''facility''' - The character's [[battle facility]].
** '''symbol''' - The character's [[Symbol]].
** '''print''' - The character's [[commemorative print]].
 
===Partner or organization===
* '''team''' - Set to "yes" if the character is part of a team.
** '''teamname''' - The name of the character's team
** '''teamrank''' - The character's rank within their team
* '''partner''' - Set to "yes" if the character has a partner.
** '''partnername''' - The character's partner.
 
===Anime===
* '''pv''' - Set to "yes" if this character appears in game animation. Set to "cameo" if they only appear as a cameo. Set to "counterpart" if a counterpart of them appears instead.
** '''pvnum''' - The epicode of the episode where the character debuts.
** '''pvname''' - The name of the episode where the character debuts.
* '''gameanim''' - Set to "yes" if this character appears in a game animation series.
** '''envagame''' - The character's English voice actor in game animation.
** '''javagame''' - The character's Japanese voice actor in game animation.
* '''anime''' - Set to "yes" if this character appears in an animated series. Set to "cameo" if they only appear as a cameo. Set to "counterpart" if a counterpart of them appears instead.
** '''epnum''' - The epicode of the episode where the character debuts.
** '''epname''' - The English name of the episode where the character debuts.
** '''enva''' - The character's English voice actor.
** '''java''' - The character's Japanese voice actor.
* '''miscanimedebut''' - If the character appeared in one-off animated works, list those here.
** '''envamisc''' - The character's English voice actor in misc animated works.
** '''javamisc''' - The character's Japanese voice actor in misc animated works.
 
===Manga===
* '''manga''' - Set to "yes" if this character appears in a manga or comic. Set to "counterpart" if a counterpart of them appears instead.
** '''mangacounterpart''' - The character's manga counterpart.
 
===Live action===
* '''livedebut''' - The first live-action work that this character appeared in.
* '''liveactor''' - The actor that portrays this character in live-action works.
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 21:19, 18 February 2024

Ash Ketchum
[[File:{{{image}}}|{{{size}}}]]
{{{caption}}}
Gender None
Hometown Unknown
Region Unknown

Template fields

Color

  • color - Background color of the box.
  • corecolor - The color on the left side of info lines (for example: in a line that displays age, this color is on the box with the word "age", while the box with the number displays with a white background).
  • bordercolor - Border color of the box.

Header text and image

  • text (optional) - Set to 1 to make the header text display in white. Otherwise, it will display in black.
  • name - The character's English name.
  • jname - The character's Japanese name.
  • tmname - Romanization of the character's Japanese name.
  • slogan - Set to "yes" if the character has one.
    • sloganline - The character's slogan.
  • image - File name of the header image. Include file extension, such as .png.
    • size - Size of the image. Include px.
    • caption - Caption to be displayed under the image. Generally, this should describe what work the image is from (which manga, which anime series, etc).

Profile

  • age - Set to "yes" if the character's age is known.
    • years - The character's age in years.
  • gender - The character's gender.
  • birthday - The character's birthday.
  • blood - The character's blood type.
  • colors - Set to "yes" if the character's eye and hair colors are known
    • eyes - The character's eye color.
    • hair - The character's hair color.
  • hometown - The character's hometown
  • region - The character's home region.
  • relatives - The character's relatives, if they have any.
  • trainerclass - The character's Trainer class.
  • game - Set to "yes" if the character appears in a video game. Set to "counterpart" if a counterpart of them appears instead.
    • generation - The generations in which the character appears.
    • games - The games in which the character appears.
    • counterpart - The character's game counterpart.

Trainer groups

  • leader - Set to "yes" if the character is a Gym Leader.
    • gym - The character's Gym, formatted like: Pewter Gym
    • badge - The Badge of the character's Gym, formatted like: Badge#Boulder Badge{{!}}Boulder Badge
  • elite - Set to "yes" if the character is part of of an Elite Four.
  • champ - Set to "yes" if the character is a Champion.
    • league - The league that the character is an Elite Four or Champion of.
  • specialist - Set to "yes" if the character is a type specialist.
    • type - The character's specialized type, formatted like: {{t|Rock}} types
  • orange - Set to "yes" if the character is a Gym Leader in the Orange Archipelago.
    • challenge - The character's challenge in the Orange Archipelago.
  • brain - Set to "yes" if the character is a Frontier Brain.

Partner or organization

  • team - Set to "yes" if the character is part of a team.
    • teamname - The name of the character's team
    • teamrank - The character's rank within their team
  • partner - Set to "yes" if the character has a partner.
    • partnername - The character's partner.

Anime

  • pv - Set to "yes" if this character appears in game animation. Set to "cameo" if they only appear as a cameo. Set to "counterpart" if a counterpart of them appears instead.
    • pvnum - The epicode of the episode where the character debuts.
    • pvname - The name of the episode where the character debuts.
  • gameanim - Set to "yes" if this character appears in a game animation series.
    • envagame - The character's English voice actor in game animation.
    • javagame - The character's Japanese voice actor in game animation.
  • anime - Set to "yes" if this character appears in an animated series. Set to "cameo" if they only appear as a cameo. Set to "counterpart" if a counterpart of them appears instead.
    • epnum - The epicode of the episode where the character debuts.
    • epname - The English name of the episode where the character debuts.
    • enva - The character's English voice actor.
    • java - The character's Japanese voice actor.
  • miscanimedebut - If the character appeared in one-off animated works, list those here.
    • envamisc - The character's English voice actor in misc animated works.
    • javamisc - The character's Japanese voice actor in misc animated works.

Manga

  • manga - Set to "yes" if this character appears in a manga or comic. Set to "counterpart" if a counterpart of them appears instead.
    • mangacounterpart - The character's manga counterpart.

Live action

  • livedebut - The first live-action work that this character appeared in.
  • liveactor - The actor that portrays this character in live-action works.