Template:Infobox: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="infobox" style="width:22em; font-size: 88%; line-height: 1.5em; text-align:left; border:1px solid #aaa; background-color:#f9f9f9;">
<div class="infobox" style="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;">{{PAGENAME}}</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=[[File:""|thumb|Caption]] alt="{{{caption|}}}" style="max-width:100%; height:auto;"></div>
             <div style="text-align: center;"><img src="{{{image}}}" alt="{{{caption|}}}" style="max-width: 100%; height: auto;"></div>
         }}
         }}
         {{#if:{{{label1|}}}{{{value1|}}}|<div><b>{{{label1}}}</b>: {{{value1}}}</div>}}
         {{#if: {{{label1|}}}{{{value1|}}} | <div><b>{{{label1}}}</b>: {{{value1}}}</div> }}
         {{#if:{{{label2|}}}{{{value2|}}}|<div><b>{{{label2}}}</b>: {{{value2}}}</div>}}
         {{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> }}
         {{#if:{{{label3|}}}{{{value3|}}}|<div><b>{{{label3}}}</b>: {{{value3}}}</div>}}
         {{#if: {{{label3|}}}{{{value3|}}} | <div><b>{{{label3}}}</b>: {{{value3}}}</div> }}
         <!-- Add more label/value pairs as needed -->
         <!-- Add more label/value pairs as needed -->
     </div>
     </div>
</div>
</div

Revision as of 23:07, 3 May 2023

Infobox



</div