Difference between revisions of "Template:Digimon Info"

From Moegirlpedia
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#vardefine:bandstyle|{{#if|LabelTextColor|}}}|{{{color|{{{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"
|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" |{{#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;" | {{{partner|}}}
+
| style="text-align: center" | {{{partner|}}}
 
! '''Crest'''
 
! '''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.
+
|{{#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
|partner
 
|crest
 
 
  |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}}
+
  ! {{#var: key}}
  {{!}} colspan=3 style="text-align: center" {{!}} {{#var: val}}
+
  {{!}} colspan=3 style="text-align: center" {{!}} {{#var: val}}
| <!-- new item without content, not displayed-->}}
+
  | <!-- new item without content, not displayed-->}}
 
}}<!-- end switch -->
 
}}<!-- end switch -->
 
}} <!--end forargs -->
 
}} <!--end forargs -->

Revision as of 01:02, 26 March 2023

Template-info.svg Template Documentation  [Create] [Refresh]