Difference between revisions of "Template:Digimon Info"
m |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:bandstyle|{{#if:LabelTextColor|}}}| | + | <includeonly>{{#vardefine:bandstyle|{{#if:{{{LabelTextColor|}}}|color:{{{LabelTextColor}}};}}}} <!-- |
-->[[category:{{PAGENAME}}]]<div itemscope itemtype="https://data-vocabulary.org/Person" class="infotemplatebox" style="background:none; border:0"> | -->[[category:{{PAGENAME}}]]<div itemscope itemtype="https://data-vocabulary.org/Person" class="infotemplatebox" style="background:none; border:0"> | ||
{|border=0 cellpadding="0" cellspagcing="0" style="width: 100%;" class="wikitable" | {|border=0 cellpadding="0" cellspagcing="0" style="width: 100%;" class="wikitable" | ||
Line 6: | Line 6: | ||
| colspan=4 style="text-align: center; background-color:{{{LabelBackgroundColor|#deede0}}}; {{#var:bandstyle}}" |'''Basic Information''' | | colspan=4 style="text-align: center; background-color:{{{LabelBackgroundColor|#deede0}}}; {{#var:bandstyle}}" |'''Basic Information''' | ||
|- | |- | ||
− | + | {{#invoke:InfoBoxBuilder|multirow|caption=Voice Actor|trylink=1|linkcat=1|value={{{voice actor|}}}|valmixin=colspan=3 style="text-align: center"}} | |
|- | |- | ||
− | ! | + | ! Partner |
| style="text-align: center" | {{{partner|}}} | | style="text-align: center" | {{{partner|}}} | ||
− | ! | + | ! Crest |
| style="text-align: center" |{{{crest|}}} | | style="text-align: center" |{{{crest|}}} | ||
|- | |- | ||
− | + | {{#invoke:InfoBoxBuilder|multirow|caption=Evolutions|value={{{evolutions|}}}|valmixin=colspan=6 style="text-align: center"}} <!--Note that there should be no table separator [|-] here, the separator is below. | |
-->{{#forargs: | -->{{#forargs: | ||
| key | | key | ||
| val | | val | ||
|<nowiki /> | |<nowiki /> | ||
− | {{switch: {{#var:key}} | + | {{#switch: {{#var:key}} |
|image | |image | ||
|imgdes | |imgdes | ||
Line 30: | Line 30: | ||
|more images= <!--Block existing items--> | |more images= <!--Block existing items--> | ||
|#default = | |#default = | ||
− | {{#if {{#var: val}} | + | {{#if: {{#var: val}} |
|{{!}}- | |{{!}}- | ||
! {{#var: key}} | ! {{#var: key}} | ||
{{!}} colspan=3 style="text-align: center" {{!}} {{#var: val}} | {{!}} colspan=3 style="text-align: center" {{!}} {{#var: val}} | ||
− | + | |<!-- new item without content, not displayed-->}} | |
}}<!-- end switch --> | }}<!-- end switch --> | ||
− | }} <!--end forargs --> | + | }}<!--end forargs --> |
|- | |- | ||
{{#if: {{{related digimon|}}} | | {{#if: {{{related digimon|}}} | | ||
− | ! colspan="4" style="backgroundcolor:{{{LabelBackgroundColor|#E0FFFF}}};{{#var:bandstyle}}" | + | ! colspan="4" style="backgroundcolor:{{{LabelBackgroundColor|#E0FFFF}}};{{#var:bandstyle}}" {{!}} '''Related Digimon''' }} |
− | {{!}} '''Related Digimon''' }} | ||
|- | |- | ||
{{ #if: {{{related digimon|}}} | | {{ #if: {{{related digimon|}}} | | ||
! colspan="4" {{!}} {{{related digimon|}}} | ! colspan="4" {{!}} {{{related digimon|}}} | ||
}} | }} | ||
− | |} | + | |}</div></includeonly><noinclude>{{doc}}[[zh:模板:数码宝贝系列数码兽]]</noinclude> |
− | </div></includeonly><noinclude>{{doc}}</noinclude> |