Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(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> | ||
}} | }} | ||
{{# | {{#ifeq:{{{num_labels|}}}|1| | ||
{{# | <div><b>{{{label1}}}</b>: {{{value1}}}</div> | ||
| | |||
{{#ifeq:{{{num_labels|}}}|2| | |||
<div><b>{{{label1}}}</b>: {{{value1}}}</div> | |||
<div><b>{{{label2}}}</b>: {{{value2}}}</div> | |||
| | |||
{{#ifeq:{{{num_labels|}}}|3| | |||
<div><b>{{{label1}}}</b>: {{{value1}}}</div> | |||
<div><b>{{{label2}}}</b>: {{{value2}}}</div> | |||
<div><b>{{{label3}}}</b>: {{{value3}}}</div> | |||
| | |||
<!-- Add more label/value pairs as needed --> | |||
}} | |||
}} | |||
}} | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 23:56, 3 May 2023
Infobox