Changes

From Drawn to Life Wiki
made family an optional attribute
Line 1: Line 1: −
{|style="border:solid 3px {{{boxcolor|#F29400}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;"
+
{|class="InfoboxGeneric" style="border:solid 3px {{{boxcolor|#F29400}}}; border-radius: 5px; background-color: rgba(255, 255, 255, 0.7); float:right; margin-left:10px; width: 35%; max-width: 40em; box-shadow: #0000003b 0 0px 7px;"
 
|-
 
|-
−
|colspan="2" style="text-align:center; color: white; background: {{{boxcolor|#F29400}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big>
+
|colspan="2" class="InfoboxGeneric-Header" style="text-align:center; color: white; background: {{{boxcolor|#F29400}}}; border-radius: 5px; font-family: ARCO; border-bottom: 4px solid rgb(0 0 0 / 43%); text-shadow: 1px 0 0 #00000085,0 -1px 0 #00000085,0 1px 0 #00000085,-1px 0 0 #00000085;"|<big>'''{{{name|{{PAGENAME}}}}}'''</big>
 
|-
 
|-
 
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}}
 
| colspan="2" style="text-align:center"|<div style="width:99%; overflow: hidden; text-align: center; margin: 0 auto;">{{{image|[[File:ComingSoon.png]]}}}</div>{{#if:{{{caption|}}}|<br />''{{{caption| }}}''}}
 
|-
 
|-
−
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Characteristics'''
+
! colspan="2" class="InfoboxGeneric-Header" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Characteristics'''
 
|-
 
|-
   Line 11: Line 11:  
|{{{species|Raposa}}}
 
|{{{species|Raposa}}}
 
|-
 
|-
−
! colspan="2" style="background-color:#DBDBDB;" |
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |
 
|-
 
|-
   Line 17: Line 17:  
|{{{gender|N/A}}}
 
|{{{gender|N/A}}}
 
|-
 
|-
−
! colspan="2" style="background-color:#DBDBDB;" |
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |
 
|-
 
|-
   Line 24: Line 24:  
|-
 
|-
   −
! colspan="2" style="background-color:#DBDBDB;" |
+
{{
−
|-
+
#if: {{{fur|}}}|<nowiki />
 +
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" {{!}}
 +
{{!}}-
 +
{{!}}width="44%"{{!}}'''Fur Color'''
 +
{{!}}<div style="display: flex;"><div style="line-height: 2em; margin-right: 15px;">{{{fur|Orange}}}</div> {{CharacterColor|{{{fur|Orange}}}}}</div>
 +
{{!}}-}}
   −
|width="44%"|'''Fur Color'''
+
{{
−
|<div style="line-height: 2em; margin-right: 15px;">{{{fur|Orange}}}</div> {{CharacterColor|{{{fur|Orange}}}}}
+
#if: {{{hair|}}}|<nowiki />
−
|-
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" {{!}}
 +
{{!}}-
 +
{{!}}width="44%"{{!}}'''Hair Color'''
 +
{{!}}<div style="display: flex;"><div style="line-height: 2em; margin-right: 15px;">{{{hair|Brown}}}</div> {{CharacterColor|{{{hair|Brown}}}}}</div>
 +
{{!}}-
 +
}}
   −
! colspan="2" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Information'''
+
! colspan="2" class="InfoboxGeneric-Header" style="background-color:{{{boxcolor|#F29400}}}; color:#ffffff; border-radius: 5px; border-bottom: 3.5px solid rgba(0, 0, 0, 0.43);" | '''Information'''
 
|-
 
|-
 
|width="44%"|'''Home'''
 
|width="44%"|'''Home'''
 
|{{{home|N/A}}}
 
|{{{home|N/A}}}
 
|-
 
|-
−
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
   −
|width="44%"|'''Role'''
+
|width="44%"|'''Story Role'''
 
|{{{role|N/A}}}
 
|{{{role|N/A}}}
 
|-
 
|-
−
! colspan="2" style="background-color:#DBDBDB;" |  
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |
 +
|-
 +
 
 +
{{
 +
#if: {{{family|}}}|<nowiki />
 +
{{!}}width="44%"{{!}}'''Family Members'''
 +
{{!}}{{{family|None Known}}}
 +
{{!}}-
 +
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" {{!}}
 +
{{!}}-
 +
}}
 +
 
 +
|width="44%"|'''Occupation'''
 +
|{{{job|N/A}}}
 +
|-
 +
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |  
 
|-
 
|-
   −
|width="44%"|'''Last Known Status'''
+
|width="44%"|'''Status'''
 
|{{{status|Alive}}}
 
|{{{status|Alive}}}
 
|-
 
|-
−
! colspan="2" style="background-color:#DBDBDB;" |
+
! colspan="2" class="InfoboxGeneric-Line" style="background-color:#DBDBDB;" |
 
|-
 
|-
   Line 62: Line 87:  
{|float="left"
 
{|float="left"
 
|<pre>
 
|<pre>
−
{{InfoCharacter
+
{{Infobox/Character
 
|name=
 
|name=
 
|image=
 
|image=
 
|caption=
 
|caption=
 
|species=
 
|species=
−
|role=
+
|gender=
−
|home=
  −
|games=
   
|age=
 
|age=
 
|fur=
 
|fur=
 +
|hair=
 +
|home=
 +
|role=
 +
|family=
 +
|job=
 
|status=
 
|status=
−
|gender=
+
|games=
 
}}
 
}}
 
</pre>
 
</pre>
Line 80: Line 108:  
As an example, this code:
 
As an example, this code:
 
<pre>
 
<pre>
−
{{InfoCharacter
+
{{Infobox/Character
 
|name=Isaac
 
|name=Isaac
 
|image=[[File:Isaac_shop-1-.gif]]
 
|image=[[File:Isaac_shop-1-.gif]]
−
|caption=Isaac as he appears in his shop
+
|caption=Isaac as he appears in his shop.
 
|species=[[Raposa]]
 
|species=[[Raposa]]
−
|role=Shopkeeper
+
|gender=Male
−
|home=[[Raposa Village]]
+
|age=Adult
−
|games=[[Drawn to Life]], [[Drawn to Life: The Next Chapter (Wii)]], [[Drawn to Life: The Next Chapter]]
+
|fur=Orange
 +
|hair=
 +
|home=[[Rapoville]]
 +
|role=Side Protagonist
 +
|family=Husband of [[Mya]]<br>Father of [[Cindi]]
 +
|job=Shopkeeper
 +
|status=Alive
 +
|games={{Icon|DTL}}<br>{{Icon|Wii}}<br>{{Icon|TNC}}<br>{{Icon|TR}}
 
}}
 
}}
 
</pre>
 
</pre>
    
Will render as:
 
Will render as:
−
{{InfoCharacter
+
{{Infobox/Character
 
|name=Isaac
 
|name=Isaac
 
|image=[[File:Isaac_shop-1-.gif]]
 
|image=[[File:Isaac_shop-1-.gif]]
−
|caption=Isaac as he appears in his shop
+
|caption=Isaac as he appears in his shop.
 
|species=[[Raposa]]
 
|species=[[Raposa]]
−
|role=Shopkeeper
+
|gender=Male
−
|home=[[Raposa Village]]
+
|age=Adult
−
|games=[[Drawn to Life]], [[Drawn to Life: The Next Chapter (Wii)]], [[Drawn to Life: The Next Chapter]]
+
|fur=Orange
 +
|hair=
 +
|home=[[Rapoville]]
 +
|role=Side Protagonist
 +
|job=Shopkeeper
 +
|family=Husband of [[Mya]]<br>Father of [[Cindi]]
 +
|status=Alive
 +
|games={{Icon|DTL}}<br>{{Icon|Wii}}<br>{{Icon|TNC}}<br>{{Icon|TR}}
 
}}
 
}}
  
16,581

edits