Template:Character infobox: Difference between revisions

From Ultimate Tails Gets Trolled Wiki
Jump to navigation Jump to search
(possible fix for not showing bio information when there's no info?)
mNo edit summary
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="float:right; width:21em; font-size:90%; text-align:left;" cellpadding="3"
{| class="infobox bordered" style="float:right; clear:right; width:21em; font-size:90%; text-align:left;" cellpadding="3"
! colspan="2" style="font-size:130%; text-align:center; color:{{{header-color}}}; background-color:{{{table-color}}};" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! colspan="2" style="font-size:130%; text-align:center; color:{{{header-color}}}; background-color:{{{table-color}}};" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|{{{image}}}|No image available.}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}|{{{image}}}|No image available.}}{{#if:{{{caption|}}}|<br />{{{caption}}}}}
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}" | {{ #if: {{{altspelling|}}}{{{age|}}}{{{birthplace|}}}{{{relatives|}}} | Biographical information }}
! colspan="2" style="text-align:center; background-color:{{{table-color}}}; color:{{{header-color}}}; {{ #if: {{{altspelling|}}}{{{oneoffnames|}}}{{{age|}}}{{{birthplace|}}}{{{relatives|}}} | | display:none;}}" | Biographical info
|-
|-
{{#if:{{{altspelling<includeonly>|</includeonly>}}} |
{{#if:{{{altspelling<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Alternative names'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Alt. spellings and titles'''
{{!}}{{{altspelling}}}
{{!}}{{{altspelling}}}
{{!}}-
}}
{{#if:{{{oneoffnames<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''One-off names'''
{{!}}{{{oneoffnames}}}
{{!}}-
{{!}}-
}}
}}
Line 27: Line 32:
}}
}}
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}" | Physical description
! colspan="2" style="text-align:center; background-color:{{{table-color}}}; color:{{{header-color}}}" | Physical description
|-
|-
{{#if:{{{species<includeonly>|</includeonly>}}} |
{{#if:{{{species<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Species'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Species'''
{{!}}{{{species}}}
{{!}}{{{species}}}
{{!}}-
}}
{{#if:{{{type<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Type'''
{{!}}{{{type}}}
{{!}}-
{{!}}-
}}
}}
Line 37: Line 47:
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Gender'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Gender'''
{{!}}{{{gender}}}
{{!}}{{{gender}}}
{{!}}-
}}
{{#if:{{{vivian<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Expression'''
{{!}}{{{vivian}}}
{{!}}-
{{!}}-
}}
}}
Line 60: Line 75:
}}
}}
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}" | Personal information
! colspan="2" style="text-align:center; background-color:{{{table-color}}}; color:{{{header-color}}}; {{ #if: {{{occupation|}}}{{{position|}}}{{{affiliation|}}}{{{allies|}}}{{{enemies|}}} | | display:none;}}" | Personal information
|-
|-
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
{{#if:{{{occupation<includeonly>|</includeonly>}}} |
Line 85: Line 100:
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Enemies'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Enemies'''
{{!}}{{{enemies}}}
{{!}}{{{enemies}}}
{{!}}-
}}
|-
! colspan="2" style="text-align:center; background-color:{{{table-color}}}; color:{{{header-color}}}; {{ #if: {{{likes|}}}{{{dislikes|}}}{{{weapon|}}} | | display:none;}}" | Traits
|-
{{#if:{{{likes<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Likes'''
{{!}}{{{likes}}}
{{!}}-
}}
{{#if:{{{dislikes<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Dislikes'''
{{!}}{{{dislikes}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{weapon<includeonly>|</includeonly>}}} |
{{#if:{{{weapon<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Weapon of choice'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Weapons/powers'''
{{!}}{{{weapon}}}
{{!}}{{{weapon}}}
{{!}}-
{{!}}-
}}
}}
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}" | Chronological information
! colspan="2" style="text-align:center; background-color:{{{table-color}}}; color:{{{header-color}}}" | Appearances
|-
|-
{{#if:{{{firstappear<includeonly>|</includeonly>}}} |
{{#if:{{{firstappear<includeonly>|</includeonly>}}} |
Line 107: Line 135:
{{#if:{{{status<includeonly>|</includeonly>}}} |
{{#if:{{{status<includeonly>|</includeonly>}}} |
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Status'''
{{!}} style="background-color:{{{table-color2}}}; color:{{{header-color}}};" {{!}}'''Status'''
{{!}}{{{status}}}
{{!}}{{Spoilers|start}}{{{status}}}{{Spoilers|end}}
{{!}}-
{{!}}-
}}
}}
|-
|-
! colspan="2" style="background-color:{{{table-color}}}; color:{{{header-color}}}" | In real life
! colspan="2" style="text-align:center; background-color:{{{table-color}}}; color:{{{header-color}}}" | In real life
|-
|-
{{#if:{{{irlname<includeonly>|</includeonly>}}} |
{{#if:{{{irlname<includeonly>|</includeonly>}}} |
Line 128: Line 156:
{{!}}-
{{!}}-
}}
}}
|}
|}<includeonly>
{{#if:{{{species|}}}|{{#switch:{{lc:{{{species}}}}}
|bird|duck|roadrunner|canary|penguin|chicken=[[Category:Birds]]
|cat|cheetah=[[Category:Cats]]
|dog|wolf|hound|coyote|fox|canid|canine=[[Category:Canids]]
|demon|devil=[[Category:Demons]]
|dragon=[[Category:Dragons]]
|frog=[[Category:Frogs]]
|gorilla|kong|monkey|ape=[[Category:Gorillas]]
|hedgehog=[[Category:Hedgehogs]]
|human=[[Category:Humans]]
|pig=[[Category:Pigs]]
|rabbit|bunny=[[Category:Rabbits]]
|robot=[[Category:Robots]]
|#default=}}
}}</includeonly><noinclude>
<pre>
{{Character infobox
|table-color  =
|table-color2 =
|border-color =
|header-color =
|name        =
|image        =
|caption      =
|altspelling  =
|oneoffnames  =
|age          =
|birthplace  =
|relatives    =
|species      =
|gender      =
|vivian      =
|skincolor    =
|haircolor    =
|furcolor    =
|eyecolor    =
|occupation  =
|position    =
|affiliation  =
|weapon      =
|allies      =
|enemies      =
|firstappear  =
|recentappear =
|status      =
|irlname      =
|firstappeari =
|franchise    =
}}
</pre>
</noinclude>
<includeonly>[[Category:Characters]]</includeonly>

Latest revision as of 15:24, 10 November 2023

Character infobox
No image available.
Biographical info
Alt. spellings and titles {{{altspelling}}}
One-off names {{{oneoffnames}}}
Age {{{age}}}
Place of birth {{{birthplace}}}
Relatives {{{relatives}}}
Physical description
Species {{{species}}}
Type {{{type}}}
Gender {{{gender}}}
Expression {{{vivian}}}
Skin color {{{skincolor}}}
Hair color {{{haircolor}}}
Fur color {{{furcolor}}}
Eye color {{{eyecolor}}}
Personal information
Occupation {{{occupation}}}
Position {{{position}}}
Affiliation {{{affiliation}}}
Allies {{{allies}}}
Enemies {{{enemies}}}
Traits
Likes {{{likes}}}
Dislikes {{{dislikes}}}
Weapons/powers {{{weapon}}}
Appearances
First appearance {{{firstappear}}}
Last appearance {{{recentappear}}}
Status
 
{{{status}}}
In real life
Actual name {{{irlname}}}
First appearance {{{firstappeari}}}
Franchise {{{franchise}}}
{{Character infobox
 |table-color  = 
 |table-color2 = 
 |border-color = 
 |header-color = 
 |name         = 
 |image        = 
 |caption      =
 |altspelling  = 
 |oneoffnames  = 
 |age          = 
 |birthplace   = 
 |relatives    = 
 |species      = 
 |gender       = 
 |vivian       = 
 |skincolor    = 
 |haircolor    = 
 |furcolor     = 
 |eyecolor     = 
 |occupation   = 
 |position     = 
 |affiliation  = 
 |weapon       = 
 |allies       = 
 |enemies      = 
 |firstappear  = 
 |recentappear = 
 |status       = 
 |irlname      = 
 |firstappeari = 
 |franchise    = 
}}