Template:Infobox: Difference between revisions

From Songs of Syx Wiki
Jump to navigation Jump to search
(This one may take a while...)
 
No edit summary
Line 1: Line 1:
<div class="infobox">
{| class="wikitable"
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
! colspan="2" style="background:lightblue;width:200px;font-size:10pt" | Title
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
|-
<table>{{#if:{{{param1|}}}|<tr>
| colspan="2" style="text-align:center;font-size:7pt" | [[File:Tlaloc, Codex Rios, p.20r.JPG|noframe|200px]]<br />Image caption
    <th>Parameter 1</th>
|-
    <td>{{{param1}}}</td>
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Section<sub>A</sub>
</tr>}}{{#if:{{{param2|}}}|<tr>
|-
    <th>Parameter 2</th>
| style="font-size:9pt" | FieldName<sub>A1</sub> || style="font-size:9pt" | FieldParameter<sub>A1</sub>
    <td>{{{param2}}}</td>
|-
</tr>}}{{#if:{{{param3|}}}|<tr>
| style="font-size:9pt" | FieldName<sub>A2</sub> || style="font-size:9pt" | FieldParameter<sub>A2</sub>
    <th>Parameter 3</th>
|-
    <td>{{{param3}}}</td>
| style="font-size:9pt" | FieldName<sub>A3</sub> || style="font-size:9pt" | FieldParameter<sub>A3</sub>
</tr>}}{{#if:{{{param4|}}}|<tr>
|-
    <th>Parameter 4</th>
| colspan="2" style="background:lightblue;text-align:center;font-size:9pt" | Section<sub>B</sub>
    <td>{{{param4}}}</td>
|-
</tr>}}{{#if:{{{param5|}}}|<tr>
| style="font-size:9pt" | FieldName<sub>B1</sub> || style="font-size:9pt" | FieldParameter<sub>B1</sub>
    <th>Parameter 5</th>
|-
    <td>{{{param5}}}</td>
| style="font-size:9pt" | FieldName<sub>B2</sub> || style="font-size:9pt" | FieldParameter<sub>B2</sub>
</tr>}}</table>
|}
</div>

Revision as of 01:01, 12 May 2021

Title
noframe
Image caption
SectionA
FieldNameA1 FieldParameterA1
FieldNameA2 FieldParameterA2
FieldNameA3 FieldParameterA3
SectionB
FieldNameB1 FieldParameterB1
FieldNameB2 FieldParameterB2