Template:Infobox: Difference between revisions

From Daniel Larson Wiki
Jump to navigation Jump to search
(Undo)
(Fix???)
Line 5: Line 5:
             <div style="text-align: center;" style="max-width:100%; height:auto;">{{{image|250x250px}}}</div>
             <div style="text-align: center;" style="max-width:100%; height:auto;">{{{image|250x250px}}}</div>
         }}
         }}
         {{#if: {{{label1|}}}{{{value1|}}} | <div><b>{{{label1}}}</b>: {{{value1}}}</div> }}
         {{#loop: | | label value |
        {{#if: {{{label2|}}}{{{value2|}}} | <div><b>{{{label2}}}</b>: {{{value2}}}</div> }}
            {{#if: {{{label|}}}{{{value|}}} | <div><b>{{{label}}}</b>: {{{value}}}</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 -->
     </div>
     </div>
</div>
</div>

Revision as of 00:07, 4 May 2023

Infobox
       {{#loop: | | label value |