Difference between revisions of "Template:Infobox"
m (Protected "Template:Infobox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
|||
Line 3: | Line 3: | ||
{{#if: {{{title|}}} | | {{#if: {{{title|}}} | | ||
{{!}} colspan=2 bgcolor="{{{bgcolor|}}}" align=center {{!}} <div style="font-size:125%;background:{{{tcolor|}}}"><b>{{{title|}}}</b></div> {{#if: {{{name|}}}|{{{name|}}}{{#if: {{{subname|}}}|<br>{{{subname|}}} }} }} }} | {{!}} colspan=2 bgcolor="{{{bgcolor|}}}" align=center {{!}} <div style="font-size:125%;background:{{{tcolor|}}}"><b>{{{title|}}}</b></div> {{#if: {{{name|}}}|{{{name|}}}{{#if: {{{subname|}}}|<br>{{{subname|}}} }} }} }} | ||
+ | |- | ||
+ | {{#if: {{{image1|}}} | | ||
+ | {{!}} colspan=2 style="text-align:center;{{{imgstyle1|}}}" {{!}} {{{image1|}}} {{#if: {{{img1_caption|}}}|<br>{{{img1_caption|}}} }} }} | ||
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
− | {{!}} colspan=2 style="text-align:center;{{{imgstyle|}}}" {{!}} {{{image|}}} {{#if: {{{ | + | {{!}} colspan=2 style="text-align:center;{{{imgstyle|}}}" {{!}} {{{image|}}} {{#if: {{{img_caption|}}}|<br>{{{img_caption|}}} }} }} |
|- | |- | ||
{{#if: {{{subtext|}}} | | {{#if: {{{subtext|}}} | | ||
Line 748: | Line 751: | ||
| substyle = | | substyle = | ||
| subtext = | | subtext = | ||
− | | imgstyle | + | | imgstyle1 = |
− | | image | + | | image1 = |
− | | | + | | img_caption1 = |
+ | | imgstyle = | ||
+ | | image = | ||
+ | | img_caption = | ||
| hgcolor = | | hgcolor = | ||
| H1 = | | H1 = |
Revision as of 18:10, 4 August 2018
Template can handle up to 100 parameters
Title NameSubname | |
Header | |
---|---|
Title | Data |
Title | Data |
Handling error: Too many parameters | |
Map | |
Footnotes |
{{Infobox | box_color = | bodystyle = | bgcolor = | tcolor = | title = | name = | subname = | substyle = | subtext = | imgstyle1 = | image1 = | img_caption1 = | imgstyle = | image = | img_caption = | hgcolor = | H1 = | T1 = | C1 = | H2 = | T2 = | C2 = | map_tag = | map = | map_style = | map_tstyle= | fstyle = | footer = }}