(Infobox updated using the portable infobox migration tool)
(breaks a lot of our uses of the template (see Takeru))
Tag: sourceedit
Line 1: Line 1:
  +
{| class="wikitable" style="width:300px; float: right; clear: right; border-collapse:collapse;margin:0 0 0.5em 1em;" border="1"
<infobox theme="character">
 
  +
|-
<title source="name"><default>{{PAGENAME}}</default></title>
 
  +
! style="background-color:#FFA040;" colspan="2" | {{{name}}} {{
<title><default>{{#if:{{{katakana|}}}{{{japname|}}} | ({{{katakana|}}}{{#if:{{{japname|}}} | {{#if:{{{katakana|}}} | &nbsp; }}''{{{japname}}}'' }})
+
#if:{{{katakana|}}}{{{japname|}}} |<br>({{{katakana|}}}{{#if:{{{japname|}}} | {{#if:{{{katakana|}}} | &nbsp; }}''{{{japname}}}'' }})
}}</default></title>
 
  +
}}{{#if:{{{image|}}}|<nowiki/>
<!-- Uses a Lua function to strip the [[|]] -->
 
  +
{{!}}-
<image><default>{{#tag:gallery|
 
  +
{{!}} colspan="2" style="text-align:center;" {{!}}{{#if:{{{image2|}}}{{{image3|}}}|<nowiki/>
{{#invoke:HF|bareFile|{{{image|}}}|}}{{!}}{{{t1|}}}
 
  +
{{#tag:tabber|
{{#invoke:HF|bareFile|{{{image2|}}}|}}{{!}}{{{t2|}}}
 
{{#invoke:HF|bareFile|{{{image3|}}}|}}{{!}}{{{t3|}}}
+
{{{t1|}}}={{{image|}}}{{#if:{{{image2|}}}|
  +
{{!}}-{{!}}
{{#invoke:HF|bareFile|{{{image4|}}}|}}{{!}}{{{t4|}}}
 
{{#invoke:HF|bareFile|{{{image5|}}}|}}{{!}}{{{t5|}}}
+
{{{t2|}}}={{{image2}}}}}{{#if:{{{image3|}}}|
  +
{{!}}-{{!}}
}}</default></image>
 
  +
{{{t3|}}}={{{image3}}}}}{{#if:{{{image4|}}}|
<group>
 
  +
{{!}}-{{!}}
<data source="appears"><label>Appears in</label></data>
 
 
{{{t4|}}}={{{image4}}}}}{{#if:{{{image5|}}}|
<data source="first"><label>First appearance</label></data>
 
  +
{{!}}-{{!}}
<data source="last"><label>Last appearance</label></data>
 
  +
{{{t5|}}}={{{image5}}}}}
<data source="actors"><label>Voice actor(s)</label></data>
 
  +
|style="float:center;"}} | {{{image|}}}
<data source="actors_other"><label>Other voice actor(s)</label></data>
 
  +
}}}}{{#if:{{{appears|}}}|<nowiki/>
<data source="partner"><label>Partner(s)</label></data>
 
  +
{{!}}-
<data source="digivice"><label>Digivice(s)</label></data>
 
  +
{{!}} style="text-align:left;" {{!}} '''Appears in:'''{{!!}} style="text-align:left;" {{!}}{{{appears|}}}
<data source="trait"><label>Trait(s)</label></data>
 
  +
}}{{#if:{{{first|}}} | <nowiki/>
<data source="cards"><label>Card numbers</label></data>
 
  +
{{!}}-
<data source="oaux1"><label>{{{oaux1 name}}}</label></data>
 
  +
{{!}} style="text-align:left;" {{!}} '''First appearance''' {{!!}} style="text-align:left;" {{!}} {{{first}}}
<data source="oaux2"><label>{{{oaux2 name}}}</label></data>
 
  +
}}{{#if:{{{last|}}} | <nowiki/>
<data source="oaux3"><label>{{{oaux3 name}}}</label></data>
 
  +
{{!}}-
</group>
 
  +
{{!}} style="text-align:left;" {{!}} '''Last appearance''' {{!!}} style="text-align:left;" {{!}} {{{last}}}
<group>
 
  +
}}{{#if:{{{actors|}}}|<nowiki/>
<header>Digimon Forms</header>
 
  +
{{!}}-
<data source="Hybrid (Rookie)"><label>Rookie</label></data>
 
  +
{{!}} style="text-align:left;" {{!}}'''Voice actor(s):'''{{!!}} style="text-align:left;" {{!}}{{{actors|}}}
<data source="Hybrid (Human)"><label>Human</label></data>
 
  +
}}{{#if:{{{actors_other|}}}|<nowiki/>
<data source="Hybrid (Beast)"><label>Beast</label></data>
 
  +
{{!}}-
<data source="Hybrid (Fusion)"><label>Fusion</label></data>
 
  +
{{!}} colspan="2" style="padding: 0;" {{!}}
<data source="Hybrid (Unified)"><label>Unified</label></data>
 
  +
{{{!}} class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"
<data source="Bio-Hybrid"><label>Armor</label></data>
 
  +
! style="background:#FFE5A5; border:0; text-align:center;" {{!}} Other voice actor(s)
<data source="Hybrid (Mega)"><label>Mega</label></data>
 
  +
{{!}}-
<data source="Hyper Bio-Hybrid"><label>Mega</label></data>
 
  +
{{!}} style="background: transparent; border-style: solid none none;" {{!}} {{{actors_other}}}
<data source="mega"><label>Mega</label></data>
 
  +
{{!}}}
<data source="mega2"><label>Mega</label></data>
 
  +
}}{{#if:{{{partner|}}}|<nowiki/>
<data source="warp"><label>Warp</label></data>
 
  +
{{!}}-
</group>
 
  +
{{!}} style="text-align:left;" {{!}}'''Partner(s):'''{{!!}} style="text-align:left;" {{!}}{{{partner|}}}
<group>
 
  +
}}{{#if:{{{digivice|}}}|<nowiki/>
<header>Profile</header>
 
  +
{{!}}-
<data source="age"><label>Age</label></data>
 
  +
{{!}} style="text-align:left;" {{!}}'''Digivice(s):'''{{!!}} style="text-align:left;" {{!}}{{{digivice|}}}
<data source="blood"><label>Blood type</label></data>
 
  +
}}{{#if:{{{trait|}}}|<nowiki/>
<data source="born"><label>Date of birth</label></data>
 
  +
{{!}}-
<data source="death"><label>Date of death</label></data>
 
  +
{{!}} style="text-align:left;" {{!}}'''Trait(s):'''{{!!}} style="text-align:left;" {{!}}{{{trait|}}}
<data source="grade"><label>Grade</label></data>
 
  +
}}{{#if:{{{cards|}}}|<nowiki/>
<data source="gender"><label>Gender</label></data>
 
  +
{{!}}-
<data source="height"><label>Height</label></data>
 
  +
{{!}} style="text-align:left;" {{!}}'''Card numbers:'''{{!!}} style="text-align:left;" {{!}}{{{cards|}}}
<data source="relatives"><label>Known relatives</label></data>
 
  +
}}{{#if:{{{oaux1|}}}| <nowiki/>
<data source="nationality"><label>Nationality</label></data>
 
  +
{{!}}-
<data source="occupation"><label>Occupation</label></data>
 
  +
{{!}} style="text-align:left;" {{!}} '''{{{oaux1 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{oaux1}}}
<data source="sign"><label>Sign</label></data>
 
  +
}}{{#if:{{{oaux2|}}}|<nowiki/>
<data source="weight"><label>Weight</label></data>
 
  +
{{!}}-
<data source="alias"><label>Aliases</label></data>
 
  +
{{!}} style="text-align:left;" {{!}} '''{{{oaux2 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{oaux2}}}
<data source="paux1"><label>{{{paux1 name}}}</label></data>
 
  +
}}{{#if:{{{oaux3|}}} <nowiki/>
<data source="paux2"><label>{{{paux2 name}}}</label></data>
 
  +
{{!}}-
<data source="paux3"><label>{{{paux3 name}}}</label></data>
 
  +
{{!}} style="text-align:left;" {{!}} '''{{{oaux3 name}}}''' {{!!}} {{{oaux3}}}
<data source="paux4"><label>{{{paux4 name}}}</label></data>
 
  +
}}{{#if:{{{Hybrid (Human)|}}}{{{Hybrid (Beast)|}}}{{{Hybrid (Fusion)|}}}{{{Hybrid (Unified)|}}}{{{Hybrid (Mega)|}}}{{{Bio-Hybrid|}}}{{{Hyper Bio-Hybrid|}}}{{{warp|}}}{{{mega|}}}{{{mega2|}}}|<nowiki/>
<data source="paux5"><label>{{{paux5 name}}}</label></data>
 
  +
{{!}}-
<data source="n1">
 
  +
{{!}} colspan="2" style="background-color:#FFE5A5; text-align:center;" {{!}} '''Digimon Forms'''
<label>Other names</label>
 
  +
}}{{#if:{{{Hybrid (Rookie)|}}}|<nowiki/>
<format>{{#if:{{{n1|}}}|• {{{n1}}}<br>}}{{#if:{{{n2|}}}|• {{{n2}}}<br>}}{{#if:{{{n3|}}}|• {{{n3}}}<br>}}{{#if:{{{n4|}}}|• {{{n4}}}<br>}}{{#if:{{{n5|}}}|• {{{n5}}}<br>}}{{#if:{{{n6|}}}|• {{{n6}}}<br>}}{{#if:{{{n7|}}}|• {{{n7}}}<br>}}{{#if:{{{n8|}}}|• {{{n8}}}<br>}}{{#if:{{{n9|}}}|• {{{n9}}}<br>}}{{#if:{{{n10|}}}|• {{{n10}}}<br>}}</format>
 
  +
{{!}}-
</data>
 
  +
{{!}} style="text-align:left;" {{!}}'''Rookie'''{{!!}} style="text-align:left;" {{!}}{{{Hybrid (Rookie)|}}}
</group>
 
<navigation>{{#if:{{{gallery_name|}}}
+
}}{{#if:{{{Hybrid (Human)|}}}|<nowiki/>
  +
{{!}}-
|{{#ifexist:Gallery:{{{gallery_name|}}}|[[Gallery:{{{gallery_name|}}}|Gallery]]}}
 
  +
{{!}} style="text-align:left;" {{!}}'''Human'''{{!!}} style="text-align:left;" {{!}}{{{Hybrid (Human)|}}}
|{{#ifexist:Gallery:{{{name|}}}|[[Gallery:{{{name|}}}|Gallery]]}}
 
  +
}}{{#if:{{{Hybrid (Beast)|}}}|<nowiki/>
}}</navigation>
 
  +
{{!}}-
</infobox><noinclude>
 
  +
{{!}} style="text-align:left;" {{!}}'''Beast'''{{!!}} style="text-align:left;" {{!}}{{{Hybrid (Beast)|}}}
  +
}}{{#if:{{{Hybrid (Fusion)|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}}'''Fusion'''{{!!}} style="text-align:left;" {{!}}{{{Hybrid (Fusion)|}}}
  +
}}{{#if:{{{Hybrid (Unified)|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}}'''Unified'''{{!!}} style="text-align:left;" {{!}}{{{Hybrid (Unified)|}}}
  +
}}{{#if:{{{Bio-Hybrid|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}}'''Armor'''{{!!}} style="text-align:left;" {{!}}{{{Bio-Hybrid|}}}
  +
}}{{#if:{{{Hybrid (Mega)|}}} {{{Hyper Bio-Hybrid|}}} {{{mega|}}} |<nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}}'''Mega'''{{!!}} style="text-align:left;" {{!}}{{{Hybrid (Mega)|}}} {{{Hyper Bio-Hybrid|}}} {{{mega|}}}
  +
}}{{#if:{{{mega2|}}} |<nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}}'''Mega'''{{!!}} style="text-align:left;" {{!}}{{{mega2|}}}
  +
}}{{#if:{{{warp|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}}'''Warp'''{{!!}} style="text-align:left;" {{!}}{{{warp|}}}
  +
}}{{#if:{{{age|}}} {{{blood|}}} {{{born|}}} {{{death|}}} {{{grade|}}} {{{gender|}}} {{{relatives|}}} {{{nationality|}}} {{{occupation|}}} {{{alias|}}} {{{paux1|}}} {{{paux2|}}} {{{paux3|}}} {{{paux4|}}} {{{paux5|}}}
  +
| <nowiki/>
  +
{{!}}-
  +
{{!}} colspan="2" style="background:{{{color|#FFE5A5}}}; color:{{{color text|#000}}}; text-align:center;" {{!}} '''Profile'''
  +
}}{{#if: {{{age|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Age''' {{!!}} style="text-align:left;" {{!}} {{{age}}}
  +
}}{{#if: {{{blood|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Blood type''' {{!!}} style="text-align:left;" {{!}} {{{blood}}}
  +
}}{{#if: {{{born|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Date of birth''' {{!!}} style="text-align:left;" {{!}} {{{born}}}
  +
}}{{#if: {{{death|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Date of death''' {{!!}} style="text-align:left;" {{!}} {{{death}}}
  +
}}{{#if: {{{grade|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Grade''' {{!!}} style="text-align:left;" {{!}} {{{grade}}}
  +
}}{{#if: {{{gender|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Gender''' {{!!}} style="text-align:left;" {{!}} {{{gender}}}
  +
}}{{#if: {{{height|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Height''' {{!!}} style="text-align:left;" {{!}} {{{height}}}
  +
}}{{#if: {{{relatives|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Known relatives''' {{!!}} style="text-align:left;" {{!}} {{{relatives}}}
  +
}}{{#if: {{{nationality|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Nationality''' {{!!}} style="text-align:left;" {{!}} {{{nationality}}}
  +
}}{{#if: {{{occupation|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Occupation''' {{!!}} style="text-align:left;" {{!}} {{{occupation}}}
  +
}}{{#if: {{{sign|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Sign''' {{!!}} style="text-align:left;" {{!}} {{{sign}}}
  +
}}{{#if: {{{weight|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Weight''' {{!!}} style="text-align:left;" {{!}} {{{weight}}}
  +
}}{{#if: {{{alias|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''Aliases''' {{!!}} style="text-align:left;" {{!}} {{{alias}}}
  +
}}{{#if: {{{paux1|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''{{{paux1 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{paux1}}}
  +
}}{{#if: {{{paux2|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''{{{paux2 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{paux2}}}
  +
}}{{#if: {{{paux3|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''{{{paux3 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{paux3}}}
  +
}}{{#if: {{{paux4|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''{{{paux4 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{paux4}}}
  +
}}{{#if: {{{paux5|}}} | <nowiki/>
  +
{{!}}-
  +
{{!}} style="text-align:left;" {{!}} '''{{{paux5 name}}}''' {{!!}} style="text-align:left;" {{!}} {{{paux5}}}
  +
}}{{#if:{{{n1|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}}colspan="2" style="padding:0;" {{!}}
  +
{{{!}} class="collapsible collapsed" style="background:transparent; width:100%;" cellspacing="0"
  +
! style="background:#FFE5A5; border:0; text-align:center;" {{!}} Other Names
  +
{{!}}-
 
{{!}} style="background:transparent; border-style:solid none none; text-align:left;" {{!}} {{#if:{{{n1|}}}|• {{{n1}}}<br>}}{{#if:{{{n2|}}}|• {{{n2}}}<br>}}{{#if:{{{n3|}}}|• {{{n3}}}<br>}}{{#if:{{{n4|}}}|• {{{n4}}}<br>}}{{#if:{{{n5|}}}|• {{{n5}}}<br>}}{{#if:{{{n6|}}}|• {{{n6}}}<br>}}{{#if:{{{n7|}}}|• {{{n7}}}<br>}}{{#if:{{{n8|}}}|• {{{n8}}}<br>}}{{#if:{{{n9|}}}|• {{{n9}}}<br>}}{{#if:{{{n10|}}}|• {{{n10}}}<br>}}
  +
{{!}}}
 
}}{{#if:{{{gallery_name|}}}|{{#ifexist:Gallery:{{{gallery_name|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}}colspan="2" style="background:#FFE5A5;" align="center"{{!}}'''[[Gallery:{{{gallery_name|}}}|<font color=#000000>Gallery</font>]]'''
 
}}|{{#ifexist:Gallery:{{{name|}}}|<nowiki/>
  +
{{!}}-
  +
{{!}}colspan="2" style="background:#FFE5A5;" align="center"{{!}}'''[[Gallery:{{{name|}}}|<font color=#000000>Gallery</font>]]'''
  +
}}}}
 
|}<noinclude>
 
==Usage==
 
==Usage==
 
Copy and paste the following into the article and fill in the fields.
 
Copy and paste the following into the article and fill in the fields.

Revision as of 20:42, 1 May 2017

{{{name}}}

Usage

Copy and paste the following into the article and fill in the fields.

{{Character Infobox
 |name=
 |katakana=
 |japname=
 |image=
 |appears=
 |first=
 |last=
 |actors=
 |actors_other=
 |partner=
 |digivice=
 |trait=
 |Hybrid (Rookie)=
 |Hybrid (Human)=
 |Hybrid (Beast)=
 |Hybrid (Fusion)=
 |Hybrid (Unified)=
 |Hybrid (Mega)=
 |Bio-Hybrid=
 |Hyper Bio-Hybrid=
 |warp=
 |cards=
 |oaux1 name=
 |oaux1=
 |oaux2 name=
 |oaux2=
 |oaux3 name=
 |oaux3=
 |age=
 |blood=
 |born=
 |death=
 |grade=
 |gender=
 |height=
 |relatives=
 |nationality=
 |occupation=
 |sign=
 |weight=
 |alias=
 |paux1 name=
 |paux1=
 |paux2 name=
 |paux2=
 |paux3 name=
 |paux3=
 |paux4 name=
 |paux4=
 |paux5 name=
 |paux5=
}}
Community content is available under CC-BY-SA unless otherwise noted.