Difference between revisions of "Template:Infobox"
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {| class=infobox style="padding-left:0.5em;padding-bottom:1em;width:20em;font-size:88%;float:right;background:{{{box_color|}}};{{{bodystyle|}}}" | + | {| class="infobox" style="padding-left:0.5em;padding-bottom:1em;width:20em;font-size:88%;float:right;background:{{{box_color|}}};{{{bodystyle|}}}" |
|- | |- | ||
{{#if: {{{title|}}} | | {{#if: {{{title|}}} | | ||
− | {{!}} colspan=2 bgcolor="{{{bgcolor|}}}" align | + | {{!}} colspan=2 bgcolor="{{{bgcolor|}}}" style="text-align:center;" {{!}} <div style="font-size:125%;background:{{{tcolor|}}}"><b>{{{title|}}}</b></div> {{#if: {{{name|}}}|{{{name|}}}{{#if: {{{subname|}}}|<br>{{{subname|}}} }} }} }} |
|- | |- | ||
{{#if: {{{image1|}}} | | {{#if: {{{image1|}}} | | ||
Line 17: | Line 17: | ||
|- | |- | ||
{{#if: {{{C1|}}} | | {{#if: {{{C1|}}} | | ||
− | {{!}} width=" | + | {{!}} width="35%" {{!}}{{{T1|}}} |
− | {{!}} width=" | + | {{!}} width="65%" {{!}}{{{C1|}}} }} |
|- | |- | ||
{{#if: {{{H2|}}} | | {{#if: {{{H2|}}} | |
Latest revision as of 20:16, 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 = }}