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:
<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;">
<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;">
     <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 0.4em 0;">{{{Name}}}</div>
     <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 0.4em 0;">{{PAGENAME}}</div>
     <div style="margin: 0.5em;">
     <div style="margin: 0.5em;">
         {{#if: {{{Image|}}} |
         {{#if: {{{image|}}} |
             <div style="text-align: center;"><img src="{{{Image}}}" alt="{{{Name}}}" style="max-width:100%; height:auto;"></div>
             <div style="text-align: center;" style="max-width:100%; height:auto;">{{{image|250x250px}}}</div>
         }}
         }}
         {{#if: {{{Born|}}} | <div><b>Born:</b> {{{Born}}}</div> }}
         {{#if: {{{label1|}}}{{{value1|}}} | <div><b>{{{label1}}}</b>: {{{value1}}}</div> }}
         {{#if: {{{Birthplace|}}} | <div><b>Birthplace:</b> {{{Birthplace}}}</div> }}
        {{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> }}
         {{#if: {{{Died|}}} | <div><b>Died:</b> {{{Died}}}</div> }}
         {{#if: {{{label3|}}}{{{value3|}}} | <div><b>{{{label3}}}</b>: {{{value3}}}</div> }}
         {{#if: {{{Nationality|}}} | <div><b>Nationality:</b> {{{Nationality}}}</div> }}
        {{#if: {{{label4|}}}{{{value4|}}} | <div><b>{{{label4}}}</b>: {{{value4}}}</div> }}
         {{#if: {{{Occupation|}}} | <div><b>Occupation:</b> {{{Occupation}}}</div> }}
         {{#if: {{{label5|}}}{{{value5|}}} | <div><b>{{{label5}}}</b>: {{{value5}}}</div> }}
         {{#if: {{{AlsoKnownAs|}}} | <div><b>Also Known As:</b> {{{AlsoKnownAs}}}</div> }}
        {{#if: {{{label6|}}}{{{value6|}}} | <div><b>{{{label6}}}</b>: {{{value6}}}</div> }}
         <!-- You can add more fields as needed -->
         {{#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 -->
 
     </div>
     </div>
</div>
</div>

Revision as of 16:34, 8 November 2023

Infobox