Difference between revisions of "Template:Infobox"
| Line 1: | Line 1: | ||
| − | + | <div style="background: #ffffff; border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,0.05); width: 100%; max-width: 300px; font-size: 90%; margin-bottom: 15px; font-family: sans-serif;"> | |
| − | + | ||
| − | + | <div style="background: linear-gradient(135deg, #4a4a4a 0%, #2b2b2b 100%); color: #ffffff; font-weight: bold; text-align: center; padding: 12px; font-size: 1.1em; border-bottom: 2px solid #333;"> | |
| − | {{#if: {{{image|}}}| | + | {{{Box title|No Title}}} |
| − | + | </div> | |
| − | + | ||
| − | + | {{#if: {{{image|}}} | | |
| − | }} | + | <div style="text-align: center; padding: 15px; background-color: #fcfcfc; border-bottom: 1px solid #eaeaea;"> |
| − | + | [[File:{{PAGENAME:{{{image}}}}}|{{{imagewidth|250}}}px|link={{{imglink|}}}]] | |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | {{{Row 1 info|No information}}} | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> |
| − | {{#if: {{{Row 2 title|}}}| | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 1 title|No Title}}}</div> |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 1 info|No information}}}</div> | |
| − | + | </div> | |
| − | + | ||
| − | + | {{#if: {{{Row 2 title|}}} | | |
| − | {{{Row 2 info|No information}}} | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> |
| − | {{#if: {{{Row 3 title|}}}| | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 2 title}}}</div> |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 2 info|No information}}}</div> | |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | {{{Row 3 info|No information}}} | + | {{#if: {{{Row 3 title|}}} | |
| − | {{#if: {{{Row 4 title|}}}| | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> |
| − | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 3 title}}}</div> | |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 3 info|No information}}}</div> | |
| − | + | </div> | |
| − | + | }} | |
| − | {{{Row 4 info|No information}}} | + | |
| − | {{#if: {{{Row 5 title|}}}| | + | {{#if: {{{Row 4 title|}}} | |
| − | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> | |
| − | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 4 title}}}</div> | |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 4 info|No information}}}</div> | |
| − | + | </div> | |
| − | {{{Row 5 info|No information}}} | + | }} |
| − | {{#if: {{{Row 6 title|}}}| | + | |
| − | + | {{#if: {{{Row 5 title|}}} | | |
| − | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> | |
| − | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 5 title}}}</div> | |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 5 info|No information}}}</div> | |
| − | {{{Row 6 info|No information}}} | + | </div> |
| − | {{#if: {{{Row 7 title|}}}| | + | }} |
| − | + | ||
| − | + | {{#if: {{{Row 6 title|}}} | | |
| − | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> | |
| − | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 6 title}}}</div> | |
| − | {{{Row 7 info|No information}}} | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 6 info|No information}}}</div> |
| − | {{#if: {{{Row 8 title|}}}| | + | </div> |
| − | + | }} | |
| − | + | ||
| − | + | {{#if: {{{Row 7 title|}}} | | |
| − | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> | |
| − | {{{Row 8 info|No information}}} | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 7 title}}}</div> |
| − | {{#if: {{{Row 9 title|}}}| | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 7 info|No information}}}</div> |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | + | {{#if: {{{Row 8 title|}}} | | |
| − | {{{Row 9 info|No information}}} | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> |
| − | {{#if: {{{Row 10 title|}}}| | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 8 title}}}</div> |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 8 info|No information}}}</div> | |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | {{{Row 10 info|No information}}} | + | {{#if: {{{Row 9 title|}}} | |
| − | {{#if: {{{Row 11 title|}}}| | + | <div style="display: flex; border-bottom: 1px solid #f0f0f0; align-items: stretch;"> |
| − | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 9 title}}}</div> | |
| − | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 9 info|No information}}}</div> | |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | + | {{#if: {{{Row 10 title|}}} | | |
| − | + | <div style="display: flex; align-items: stretch;"> | |
| − | + | <div style="flex: 1; background-color: #f8f9fa; padding: 10px 12px; font-weight: bold; color: #555; border-right: 1px solid #f0f0f0; display: flex; align-items: center;">{{{Row 10 title}}}</div> | |
| − | }} | + | <div style="flex: 2; padding: 10px 12px; line-height: 1.4; display: flex; align-items: center;">{{{Row 10 info|No information}}}</div> |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | + | {{#if: {{{Row 11 title|}}} | | |
| − | + | <div style="background: #fee2e2; color: #991b1b; text-align: center; padding: 12px; font-weight: bold; border-top: 2px solid #ef4444;"> | |
| − | + | Too many parameters | |
| − | + | </div> | |
| − | + | }} | |
| − | + | ||
| − | + | </div> | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||