Difference between revisions of "Template:People"

From Detective Conan Wiki
m
(It seems those ain't needed apparently? le me confused. Mayhaps BeginBox/EndBox's <div> does the work? IDK why an unordered list doesn't require an <ul> though.)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="float:left;">
+
<li style="display: inline-block;">
{| class="infobox newchar" 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;*/" |'''{{{1}}}''' {{#if:{{{english-name|}}}|''' / '''{{{english-name}}}}}
+
! colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; font-size: small; padding-bottom: 3px; background-color: #738FC3 /*7BA1EC;/*78b3f0;*/" |'''{{{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: {{{2|}}} | <div style="border:1px solid #cccccc">[[Image:{{{2}}}|100px]]</div>}}
 
{{#if: {{{2|}}} | <div style="border:1px solid #cccccc">[[Image:{{{2}}}|100px]]</div>}}
|
+
| style="{{#if:{{{fsize|}}}|font-size: {{{fsize|}}}; }}" class="{{#if:{{{squeezed|}}}|squeezed}}" |
 
{{{3|}}}
 
{{{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 people present or involved in a case:</p>
 
<p style="clear: both">The following is a list of required or optional parameters for introducing people present or involved in a case:</p>
Line 18: Line 18:
 
{{People|<name>|<image>|<description> (Optional)
 
{{People|<name>|<image>|<description> (Optional)
 
| english-name        =
 
| english-name        =
 +
| 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 21:59, 1 April 2020

  • The following is a list of required or optional parameters for introducing people present or involved in a case:

    {{People|<name>|<image>|<description> (Optional)
    | english-name        =
    | 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)
    }}