Jump to content

Template:NewChar: Difference between revisions

From Detective Conan Wiki
mNo edit summary
Tsutomu25 (talk | contribs)
Changing the container to avoid unusual wrapping
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:left;">
<li style="display: inline-block;">
{| 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"
{| 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: #7BA1EC;/*78b3f0;*/" |'''{{{name|{{{1}}}}}}''' {{#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="100" 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}}}|100px]]</div>|{{#if: {{{2|}}}| <div style="border:1px solid #cccccc">[[Image:{{{2}}}|100px|link=Characters]]</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}}" |
| style="{{#if:{{{fsize|}}}|font-size: {{{fsize|}}}; }}" class="{{#if:{{{squeezed|}}}|squeezed}}" |
{{{description|{{{3}}}}}}
{{{description|{{{3}}}}}}
Line 12: Line 12:
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}}  }}
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}}  }}
|}
|}
</div>
</li>
<noinclude>
<noinclude>
<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>
Line 20: Line 20:
| english-name        =    (Optional)
| 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)
| fsize              =    (Optional: font-size - e.g. for specific cases)

Latest revision as of 21:19, 9 December 2025

  • 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)
    }}