Template:Infobox: Difference between revisions

From ArdakazMC Wiki
Jump to navigation Jump to search
Import>Ardakaz
Created page with "{| class="{{{class|infobox}}}" border="{{{border|0}}}" cellspacing="{{{cellspacing|0}}}" cellpadding="{{{cellpadding|2}}}" style="font-size:92%;{{{style|border: 1px solid #{{{color|}}}; text-align:left; line-height:1.2em; border-radius:4px;}}} border-collapse: collapse; width: {{#if: {{{width|}}}|{{{width}}}|22em}};" {{!-}} {{{content<noinclude>|{{!}} {{{content}}} </noinclude>}}}"
 
Import>Ardakaz
No edit summary
Line 1: Line 1:
{| class="{{{class|infobox}}}" border="{{{border|0}}}" cellspacing="{{{cellspacing|0}}}" cellpadding="{{{cellpadding|2}}}" style="font-size:92%;{{{style|border: 1px solid #{{{color|}}}; text-align:left; line-height:1.2em; border-radius:4px;}}} border-collapse: collapse; width: {{#if: {{{width|}}}|{{{width}}}|22em}};"
<div style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;">
{{!-}}
<div style="font-size: 2em; text-align: center;">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
{{{content<noinclude>|{{!}} {{{content}}}
<div style="text-align: center;">{{{image}}}</div>}}
</noinclude>}}}
<table class="infobox-table">{{#if:{{{param1-content|}}}|<tr>
    <th>{{{param1}}}</th>
    <td>{{{param1-content|}}}</td>
</tr>}}{{#if:{{{param2-content}}}|<tr>
    <th>{{{param2}}}</th>
    <td>{{{param2-content}}}</td>
</tr>}}{{#if:{{{param3-content|}}}|<tr>
    <th>{{{param3}}}</th>
    <td>{{{param3-content}}}</td>
</tr>}}{{#if:{{{param4-content|}}}|<tr>
    <th>{{{param4}}}</th>
    <td>{{{param4-content}}}</td>
</tr>}}{{#if:{{{param5-content|}}}|<tr>
    <th>{{{param5}}}</th>
    <td>{{{param5-content}}}</td>
</tr>}}{{#if:{{{param6-content|}}}|<tr>
    <th>{{{param6}}}</th>
    <td>{{{param6-content}}}</td>
</tr>}}{{#if:{{{param7-content|}}}|<tr>
    <th>{{{param7}}}</th>
    <td>{{{param7-content}}}</td>
</tr>}}</table>
</div>

Revision as of 18:51, 20 December 2024

Infobox
{{{param2}}} {{{param2-content}}}