User:Guitar-pawat/sandbox/Template:Test

From Detective Conan Wiki
< User:Guitar-pawat
Revision as of 14:50, 21 December 2011 by Guitar-pawat (talk | contribs) (V. 0.1)
{{{name}}}
Profile
Age:
Gender:
Statistics
First appearance:
Appearances:

The following is a list of required or optional parameters for any of the characters:

{{InfoBox Char
| name                =
| japanese-name       =    (Optional)
| english-name        =    (Optional)
| image               =
| age                 = 
| gender              =
| height              =    (Optional)
| weight              =    (Optional)
| date-of-birth       =    (Optional)
| relatives           =    (Optional)
| nicknames           =    (Optional)
| aliases             =    (Optional)
| first-appearance    = 
| appearances         =
| cases-solved        =    (Optional)
| keyhole             =    (Optional)
| japanese-voice      =    (Optional)
| english-voice       =    (Optional)
| drama-actor         =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}


{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
|-
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #7ba1ec;" |  '''{{{name}}}''' 
|- 
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" | 
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
|-
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | '''Profile'''
|-
{{#if: {{{japanese-name|}}} |
! Japanese name:
{{!}} {{{japanese-name}}}
{{!}}- }}
{{#if: {{{english-name|}}} |
! English name:
{{!}} {{{english-name}}}
{{!}}- }}
! Age:
| {{{age|}}}
|- 
! width="100"|Gender:
| {{{gender|}}}
|- 
{{#if: {{{height|}}} |
! Height: 
{{!}} {{{height}}}
{{!}}-  }}
{{#if: {{{weight|}}} |
! Weight: 
{{!}} {{{weight}}}
{{!}}-  }}
{{#if: {{{date-of-birth|}}} |
! Date of birth: 
{{!}} {{{date-of-birth}}}
{{!}}-  }}
{{#if: {{{relatives|}}} |
! Relatives: 
{{!}} {{{relatives}}}
{{!}}-  }}
{{#if: {{{nicknames|}}} |
! Nicknames: 
{{!}} {{{nicknames}}}
{{!}}-  }}
{{#if: {{{aliases|}}} |
! Aliases: 
{{!}} {{{aliases}}}
{{!}}-  }}
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" | '''Statistics'''
|- 
! First appearance:
| {{{first-appearance|}}} 
|- 
! Appearances:
| {{{appearances|}}}
|- 
{{#if: {{{cases-solved|}}} |
! Cases solved: 
{{!}} {{{cases-solved}}}
{{!}}-  }}
{{#if: {{{keyhole|}}} |
! Keyhole number: 
{{!}} {{{keyhole}}}
{{!}}-  }}
{{#if: {{{japanese-voice|{{{english-voice|}}}}}}|
{{!}}-
{{!}} colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #7ba1ec;" {{!}} '''Actors'''
{{!}}-
{{#if: {{{japanese-voice|}}} |
! Japanese voice: 
{{!}} {{{japanese-voice}}}
{{!}}-  }}
{{#if: {{{english-voice|}}} |
! English voice: 
{{!}} {{{english-voice}}}
{{!}}-  }}
{{#if: {{{drama-actor|}}} |
! Drama actor: 
{{!}} {{{drama-actor}}}
{{!}}-  }}
}}
{{#if: {{{footnotes|}}} |
{{!}} colspan="2" style="font-size: smaller;" {{!}} {{{footnotes|}}}  }}
|}

V 0.1 Learning Script