Difference between revisions of "Template:Digimon Info"
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:bandstyle|{{#if | + | <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" | ||
− | |colspan="4" style="text-align: center | + | |colspan="4" style="text-align: center" |{{#if:{{{image|}}}|<span itemprop="photo">[[Image:{{{image}}}|280px]]</span>|Huh?!<br>This article lacks an image,<br>it needs to be added...{{ArticleCategory|No profile picture}}}}{{#if:{{{imgdes|}}}|<br /><span style="text-align: center;">{{{imgdes}}}</span>}} |
|- | |- | ||
| 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''' | ||
Line 9: | Line 9: | ||
|- | |- | ||
! '''Partner''' | ! '''Partner''' | ||
− | | style="text-align: center | + | | style="text-align: center" | {{{partner|}}} |
! '''Crest''' | ! '''Crest''' | ||
− | | style="text-align: center | + | | style="text-align: center" |{{{crest|}}} |
|- | |- | ||
− | |{{#invoke:InfoBoxBuilder|multirow|caption | + | |{{#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 | ||
Line 22: | Line 22: | ||
|imgdes | |imgdes | ||
|voice actor | |voice actor | ||
− | |||
− | |||
|related digimon | |related digimon | ||
|LabelBackgroundColor | |LabelBackgroundColor | ||
|LabelTextColor | |LabelTextColor | ||
+ | |partner | ||
+ | |crest | ||
|evolutions | |evolutions | ||
|more images= <!--Block existing items--> | |more images= <!--Block existing items--> | ||
|#default = | |#default = | ||
{{#if {{#var: val}} | {{#if {{#var: val}} | ||
− | + | |{{!}}- | |
− | + | ! {{#var: key}} | |
− | + | {{!}} colspan=3 style="text-align: center" {{!}} {{#var: val}} | |
− | + | | <!-- new item without content, not displayed-->}} | |
}}<!-- end switch --> | }}<!-- end switch --> | ||
}} <!--end forargs --> | }} <!--end forargs --> |