Difference between revisions of "Template:Infobox object"
Jump to navigation
Jump to search
(Created page with "{{Infobox |bodystyle = border-spacing: 2px 5px; |above = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}} |abovestyle = background: {{ifempty|{{{co...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|above = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}} | |above = {{ifempty|{{{name|}}}|<includeonly>{{PAGENAME}}</includeonly>}} | ||
− | |abovestyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|# | + | |abovestyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} |
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}} | |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}} | ||
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
− | |headerstyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|# | + | |headerstyle = background: {{ifempty|{{{color|}}}|{{{colour|}}}|#3d3d3d}}; {{#if:{{{color|}}}{{{colour|}}}|color: {{Greater color contrast ratio|{{ifempty|{{{color|}}}|{{{colour|}}}}}}};}} |
|labelstyle = {{{lbl-style|}}} | |labelstyle = {{{lbl-style|}}} | ||
|datastyle = {{{data-style|}}} | |datastyle = {{{data-style|}}} | ||
Line 36: | Line 36: | ||
|data9 = {{{status|}}} | |data9 = {{{status|}}} | ||
− | + | }} |