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="float:left; 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;" style="max-width: 100%; height: auto;">{{{image|frameless|250x250px}}}</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> }}

Revision as of 23:48, 3 May 2023

Infobox