Difference between revisions of "Template:NewChar"

From Detective Conan Wiki
m
m
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div style="float:left;">
 
<div style="float:left;">
{| class="infobox" style="width: 250px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2"
+
{| class="infobox people headerlink" style="width: 210px; text-align: left; font-size: 90%; float: none; clear: left; margin-left: 0; margin-right: 1em;" cellpadding="2"
 
|-
 
|-
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; font-size: small; background-color: #78b3f0;" |'''{{{name}}}'''{{#if:{{{english-name|}}}|''' / '''{{{english-name}}}}}
+
! colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; font-size: small; background-color: #7BA1EC;/*78b3f0;*/ padding-bottom: 3px;" |'''{{{name|{{{1}}}}}}''' {{#if:{{{english-name|}}}|''' / '''{{{english-name}}}}}
 
|-  
 
|-  
| class="nospacing" width="120" style="text-align:left; vertical-align:top; padding: 2px 0px 0px 0px;" |  
+
| class="nospacing" width="100" style="text-align:left; vertical-align:top; padding: 2px 0px 0px 0px;" |  
{{#if: {{{image|}}} | <div style="border:1px solid #cccccc">[[Image:{{{image}}}|120px]]</div>}}
+
{{#if: {{{image|}}} | <div style="border:1px solid #cccccc">[[Image:{{{image}}}|100px|link={{{link|File:{{{image}}}}}}]]</div>|{{#if: {{{2|}}}| <div style="border:1px solid #cccccc">[[Image:{{{2}}}|100px|link={{{link|File:{{{2}}}}}}]]</div>}}}}
|
+
| style="{{#if:{{{fsize|}}}|font-size: {{{fsize|}}}; }}" class="{{#if:{{{squeezed|}}}|squeezed}}" |
{{{description|}}}
+
{{{description|{{{3}}}}}}
 
|-
 
|-
 
{{#if: {{{footnotes|}}} |
 
{{#if: {{{footnotes|}}} |
Line 16: Line 16:
 
<p style="clear: both">The following is a list of required or optional parameters for introducing a new character:</p>
 
<p style="clear: both">The following is a list of required or optional parameters for introducing a new character:</p>
 
<pre>
 
<pre>
{{NewChar
+
{{NewChar|<name>|<image>|<description>
| name                =
+
| name                =   (Optional)
| english-name        =
+
| english-name        =   (Optional)
 
| image              =    (Optional)
 
| image              =    (Optional)
 +
| link                =    (Optional: link to point to when clicking on image)
 
| description        =    (Optional)
 
| description        =    (Optional)
 +
| fsize              =    (Optional: font-size - e.g. for specific cases)
 +
| squeezed            =    (Optional: squeezed lines - e.g. for specific cases)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
| footnotes          =    (Optional: will not show the row if omitted)
 
}}
 
}}

Latest revision as of 15:23, 10 June 2011

The following is a list of required or optional parameters for introducing a new character:

{{NewChar|<name>|<image>|<description>
| name                =    (Optional)
| english-name        =    (Optional)
| image               =    (Optional)
| link                =    (Optional: link to point to when clicking on image)
| description         =    (Optional)
| fsize               =    (Optional: font-size - e.g. for specific cases)
| squeezed            =    (Optional: squeezed lines - e.g. for specific cases)
| footnotes           =    (Optional: will not show the row if omitted)
}}