Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
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=" | + | <div class="infobox-title" style= "font-size: 2em; text-align: center; border: 1px solid #aaa;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
− | <div class="infobox-image" | + | <div class="infobox-image">[[File:{{{image}}}|100px]]</div>}} |
<table>{{#if:{{{param1|}}}|<tr> | <table>{{#if:{{{param1|}}}|<tr> | ||
<th>Parameter 1</th> | <th>Parameter 1</th> | ||
− | <td>{{{ | + | <td>{{{Name}}}</td> |
</tr>}}{{#if:{{{param2|}}}|<tr> | </tr>}}{{#if:{{{param2|}}}|<tr> | ||
<th>Parameter 2</th> | <th>Parameter 2</th> | ||
− | <td>{{{ | + | <td>{{{Weight}}}</td> |
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> |
Revision as of 19:41, 17 April 2020
Infobox
{{#if:|
[[File:{{{image}}}|100px]]
}}
{{#if:|}}{{#if:|}}Parameter 1 | {{{Name}}} |
---|---|
Parameter 2 | {{{Weight}}} |