Template:Statblock: Difference between revisions

From Sidlangs
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<style>
<div style="float:right;margin-left:50px;margin-bottom:50px;">
.infobox {
{| class="wikitable"
    background: #eee;
! colspan="2" style="background:{{{accentcolor|lightblue}}};width:200px;font-size:10pt;" | {{{title}}}
    border: 1px solid #aaa;
|-
    float: right;
| colspan="2" style="text-align:center;font-size:7pt" | [[File:{{{image}}}|noframe|300px]]<br/>{{{caption}}}
    margin: 0 0 1em 1em;
|-
    padding: 1em;
| colspan="2" style="background:{{{accentcolor|lightblue}}};text-align:center;font-size:9pt" | {{{section1}}}
    width: 400px;
|-
}
| style="font-size:9pt" | {{{s1-f1}}} || style="font-size:9pt" | {{{s1-c1}}}
.infobox-title {
|-
    font-size: 2em;
| style="font-size:9pt" | {{{s1-f2}}} || style="font-size:9pt" | {{{s1-c2}}}
    text-align: center;
|-
}
| style="font-size:9pt" | {{{s1-f3}}} || style="font-size:9pt" | {{{s1-c3}}}
.infobox-image {
|-
    text-align: center;
| colspan="2" style="background:{{{accentcolor|lightblue}}};text-align:center;font-size:9pt" | {{{section2}}}
}
|-
.infobox th {
| style="font-size:9pt" | {{{s2-f1}}} || style="font-size:9pt" | {{{s2-c1}}}
    text-align: right;
|-
    vertical-align: top;
| style="font-size:9pt" | {{{s2-f2}}} || style="font-size:9pt" | {{{s2-c2}}}
    width: 120px;
|-
}
| style="font-size:9pt" | {{{s2-f3}}} || style="font-size:9pt" | {{{s2-c3}}}
.infobox td {
|-
    vertical-align: top;
| colspan="2" style="background:{{{accentcolor|lightblue}}};text-align:center;font-size:9pt" | {{{section3}}}
}
|-
</style>
| style="font-size:9pt" | {{{s3-f1}}} || style="font-size:9pt" | {{{s3-c1}}}
 
|-
<div class="infobox">
| style="font-size:9pt" | {{{s3-f2}}} || style="font-size:9pt" | {{{s3-c2}}}
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
|-
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
| style="font-size:9pt" | {{{s3-f3}}} || style="font-size:9pt" | {{{s3-c3}}}
<table>{{#if:{{{param1|}}}|<tr>
|}
    <th>Parameter 1</th>
    <td>{{{param1}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
    <th>Parameter 2</th>
    <td>{{{param2}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
    <th>Parameter 3</th>
    <td>{{{param3}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
    <th>Parameter 4</th>
    <td>{{{param4}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
    <th>Parameter 5</th>
    <td>{{{param5}}}</td>
</tr>}}</table>
</div>
</div>

Latest revision as of 19:47, 27 February 2023

{{{title}}}
[[File:{{{image}}}|noframe|300px]]
{{{caption}}}
{{{section1}}}
{{{s1-f1}}} {{{s1-c1}}}
{{{s1-f2}}} {{{s1-c2}}}
{{{s1-f3}}} {{{s1-c3}}}
{{{section2}}}
{{{s2-f1}}} {{{s2-c1}}}
{{{s2-f2}}} {{{s2-c2}}}
{{{s2-f3}}} {{{s2-c3}}}
{{{section3}}}
{{{s3-f1}}} {{{s3-c1}}}
{{{s3-f2}}} {{{s3-c2}}}
{{{s3-f3}}} {{{s3-c3}}}