Template:Infobox: Difference between revisions

From Tony Chase
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
{{Infobox
<div class="infobox" style="float:right; width: 22em; font-size: 88%; line-height: 1.5em; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
| name    = {{{name|{{PAGENAME}}}}}
    <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 0.4em 0;">{{PAGENAME}}</div>
| image    = {{{image|}}}
    <div style="margin: 0.5em;">
| caption1 = {{{caption|}}}
        {{#if: {{{image|}}} |
            <div style="text-align: center;" style="max-width:100%; height:auto;">{{{image|250x250px}}}</div>
        }}
        {{#if: {{{label1|}}}{{{value1|}}} | <div><b>{{{label1}}}</b>: {{{value1}}}</div> }}
        {{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> }}
        {{#if: {{{label3|}}}{{{value3|}}} | <div><b>{{{label3}}}</b>: {{{value3}}}</div> }}
        {{#if: {{{label4|}}}{{{value4|}}} | <div><b>{{{label4}}}</b>: {{{value4}}}</div> }}
        {{#if: {{{label5|}}}{{{value5|}}} | <div><b>{{{label5}}}</b>: {{{value5}}}</div> }}
        {{#if: {{{label6|}}}{{{value6|}}} | <div><b>{{{label6}}}</b>: {{{value6}}}</div> }}
        {{#if: {{{label7|}}}{{{value7|}}} | <div><b>{{{label7}}}</b>: {{{value7}}}</div> }}
        {{#if: {{{label8|}}}{{{value8|}}} | <div><b>{{{label8}}}</b>: {{{value8}}}</div> }}
        {{#if: {{{label9|}}}{{{value9|}}} | <div><b>{{{label9}}}</b>: {{{value9}}}</div> }}
        {{#if: {{{label10|}}}{{{value10|}}} | <div><b>{{{label10}}}</b>: {{{value10}}}</div> }}
        <!-- Add more label/value pairs as needed -->


| label1  = Former names
    </div>
|  data1  = {{{former_names|}}}
</div>
 
| header2  = General information
 
| label3  = Status
|  data3  = {{{status|}}}
... <!-- etc. -->
}}

Revision as of 16:14, 8 November 2023

Infobox