Difference between revisions of "Template:Infobox"

From Space Haven Wiki
Jump to navigation Jump to search
(Created page with "<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;"> <div class="infobox-title" style="border...")
 
Line 1: Line 1:
 
<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;">
 
<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;">
 
<div class="infobox-title" style="border: 1px solid #aaa; font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>|
 
<div class="infobox-title" style="border: 1px solid #aaa; font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>|
<div class="infobox-image" style="text-align: center;>[[File:{{{image}}}|300px]]</div>}}
+
<div class="infobox-image" style="text-align: center;>[[File:{{{image}}}|100px]]</div>}}
 
<table>{{#if:{{{param1|}}}|<tr>
 
<table>{{#if:{{{param1|}}}|<tr>
 
     <th>Parameter 1</th>
 
     <th>Parameter 1</th>

Revision as of 19:37, 17 April 2020

Infobox
|
[[File:{{{image}}}|100px]]
}} {{#if:|}}{{#if:|}}
Parameter 1 {{{param1}}}
Parameter 2 {{{param2}}}