Template:Statblock: Difference between revisions

From Sidlangs
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<head><style>
<html><head><style>
.infobox {
.infobox {
     background: #eee;
     background: #eee;
Line 23: Line 23:
     vertical-align: top;
     vertical-align: top;
}
}
</style></head>
</style></head><body>


<div class="infobox">
<div class="infobox">
Line 45: Line 45:
</tr>}}</table>
</tr>}}</table>
</div>
</div>
</body>
</html>

Revision as of 21:54, 8 February 2023

<html><head><style> .infobox {

   background: #eee;
   border: 1px solid #aaa;
   float: right;
   margin: 0 0 1em 1em;
   padding: 1em;
   width: 400px;

} .infobox-title {

   font-size: 2em;
   text-align: center;

} .infobox-image {

   text-align: center;

} .infobox th {

   text-align: right;
   vertical-align: top;
   width: 120px;

} .infobox td {

   vertical-align: top;

} </style></head><body>

Statblock
{{#if:|
[[File:{{{image}}}|300px]]
}} {{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}
Parameter 1 {{{param1}}}
Parameter 2 {{{param2}}}
Parameter 3 {{{param3}}}
Parameter 4 {{{param4}}}
Parameter 5 {{{param5}}}

</body> </html>