Template:PlaneInfobox: Difference between revisions

Template page
(Created page with "<div class="infobox"> <div class="infobox-title">{{{name|{{PAGENAME}}}}}</div> {{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table> {{#if:{{{sphere|}}}|<tr> <th>Sphere</th> <td>{{{sphere}}}</td> </tr>}} {{#if:{{{alignment|}}}|<tr> <th>Alignment</th> <td>{{{alignment}}}</td> </tr>}} {{#if:{{{denizens|}}}|<tr> <th>Denizens</th> <td>{{{denizens}}}</td> </tr>}} {{#if:{{{description|}}}|<tr> <th>Descriptio...")
 
No edit summary
Line 1: Line 1:
<div class="infobox">
{{Infobox
<div class="infobox-title">{{{name|{{PAGENAME}}}}}</div>
| title    = {{{name|{{PAGENAME}}}}}
 
| image    = {{#if:{{{image|}}}|[[File:{{{image|}}}|300px]]}}
{{#if:{{{image|}}}|
| caption = {{{image_desc|}}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
| image2    = {{#if:{{{image2|}}}|[[File:{{{image2|}}}|300px]]}}
 
| caption2 = {{{image2_desc|}}}
 
|header1 =
<table>
| label1 = Sphere
{{#if:{{{sphere|}}}|<tr>
|  data1 = {{{sphere|}}}
    <th>Sphere</th>
| label2 = Alignment
    <td>{{{sphere}}}</td>
|  data2 = {{{alignment|}}}
</tr>}}
| label3 = Denizens
 
|  data3 = {{{denizens|}}}
{{#if:{{{alignment|}}}|<tr>
| label5 = Description
    <th>Alignment</th>
|  data5 = {{{description|}}}
    <td>{{{alignment}}}</td>
}}
</tr>}}
 
{{#if:{{{denizens|}}}|<tr>
    <th>Denizens</th>
    <td>{{{denizens}}}</td>
</tr>}}
 
{{#if:{{{description|}}}|<tr>
    <th>Description</th>
    <td>{{{description}}}</td>
</tr>}}
 
</table>
</div>

Revision as of 16:47, 28 July 2022