Jump to content

Template:Infobox: Difference between revisions

From The Three Kingdoms
No edit summary
No edit summary
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
<table class="infobox-table"><tr>
     <th>Parameter 1</th>
     <th>Parameter 1</th>
     <td>{{{param1}}}</td>
     <td>{{{param1}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>{{#if:{{{param2|}}}|<tr>
     <th>Parameter 2</th>
     <th>Parameter 2</th>
     <td>{{{param2}}}</td>
     <td>{{{param2}}}</td>

Revision as of 00:34, 28 December 2024

Infobox
Parameter 1 {{{param1}}}