Template:Infobox: Difference between revisions

From Chronicles of Eternia
Jump to navigation Jump to search
test
fixed
Line 1: Line 1:
<div class="infobox">
<onlyinclude>{| style="float:right;border:1px solid black"
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
!colspan="2" | {{{maintitle}}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
|-
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
!colspan="2" | [[File:{{{image}}}|260px]]
    <th>Parameter 1</th>
|-
    <td>{{{param1}}}</td>
! {{{title1}}}
</tr>}}{{#if:{{{param2|}}}|<tr>
| {{{info1}}}
    <th>Parameter 2</th>
|-
    <td>{{{param2}}}</td>
! {{{title2}}}
</tr>}}{{#if:{{{param3|}}}|<tr>
| {{{info2}}}
    <th>Parameter 3</th>
|-
    <td>{{{param3}}}</td>
! {{{title3}}}
</tr>}}{{#if:{{{param4|}}}|<tr>
| {{{info3}}}
    <th>Parameter 4</th>
|}
    <td>{{{param4}}}</td>
</onlyinclude>
</tr>}}{{#if:{{{param5|}}}|<tr>
 
    <th>Parameter 5</th>
 
    <td>{{{param5}}}</td>
 
</tr>}}</table>
 
</div>
 
 
 
 
 
 
<center>=Usage=</center>
 
<nowiki>
{{Infobox
| maintitle = Example Infobox
| image = Filing_cabinet.png
| title1 = Name:
| info1 = Genovefa
| title2 = Occupation:
| info2 = Healer
| title3 = Flavor:
| info3 = Anxiety
}}</nowiki>
 
{{Infobox
| maintitle = Example Infobox
| image = Filing_cabinet.png
| title1 = Name:
| info1 = Genovefa
| title2 = Occupation:
| info2 = Healer
| title3 = Flavor:
| info3 = Anxiety
}}

Revision as of 17:49, 14 October 2023

{{{maintitle}}}
[[File:{{{image}}}|260px]]
{{{title1}}} {{{info1}}}
{{{title2}}} {{{info2}}}
{{{title3}}} {{{info3}}}






=Usage=

{{Infobox | maintitle = Example Infobox | image = Filing_cabinet.png | title1 = Name: | info1 = Genovefa | title2 = Occupation: | info2 = Healer | title3 = Flavor: | info3 = Anxiety }}

Example Infobox
Name: Genovefa
Occupation: Healer
Flavor: Anxiety