Difference between revisions of "Template:Image label"
Jump to navigation
Jump to search
LiTTleDRAgo (talk | contribs) |
LiTTleDRAgo (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#if: |
+ | {{#if:{{{image|}}}{{{fullimage|}}} |
− | |<div style="width: |
+ | |<div style="width:{{{width|400}}}px;float:{{{float|none}}};margin:{{{margin|none}}};padding:{{{padding|none}}}; |
+ | border:{{{border|none}}};clear:{{{float|none}}};background-color:{{{background-color|#ffffff}}};position:relative;"> |
||
− | <div style="background-color: {{{svg-background-color|}}};">{{#if:{{{fullimage|}}} |
||
− | + | <div style="background-color:{{{svg-background-color|}}};">{{#if:{{{fullimage|}}} |
|
− | |[[File:{{{image |
+ | |{{{fullimage}}}|[[File:{{{image}}}{{#if:{{{thumb|}}}|{{!}}thumb}}|{{{width|400}}}px{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]}}</div>}}{{#if:{{{text|}}} | <div style="font-size: smaller;line-height:10px;"><div style="position:absolute;text-align:{{{text-align|center}}};left:{{#expr:{{{x|0}}}*{{{scale|1}}}-6}}px;top:{{#expr:{{{y|0}}}*{{{scale|1}}}-8}}px">{{{text}}}</div></div>}}{{#ifeq:{{{1}}}|end | </div><br style="clear:both"/>}} |
− | |{{#if: {{{fullimage|}}} |
||
− | |<div style="width: {{{width|400}}}px; float: {{{float|none}}}; margin: {{{margin|none}}}; padding: {{{padding|none}}}; border: {{{border|none}}}; clear: {{{float|none}}}; background-color: {{{background-color|#ffffff}}}; position: relative;"> |
||
− | <div style="background-color: {{{svg-background-color|}}};">{{#if:{{{fullimage|}}} |
||
− | |{{{fullimage}}} |
||
− | |[[File:{{{image|Example.png}}}{{#if:{{{thumb|}}}|{{!}}thumb}}|{{{width|400}}}px{{#ifeq:{{{link|File:}}}|File:||{{!}}link={{{link|}}}}}|alt={{{alt|}}}|{{{caption|}}}]]}}</div><noinclude></div></noinclude> |
||
− | |{{#if: {{{text|}}} |
||
− | |<div style="font-size: smaller; line-height: 10px;"><div style="position:absolute;text-align:{{{text-align|center}}};left:{{#expr:{{{x|0}}}*{{{scale|1}}}-6}}px;top:{{#expr:{{{y|0}}}*{{{scale|1}}}-8}}px">{{{text}}}</div></div> |
||
− | |{{#if: {{{end|}}} | </div> }}}}}}}} |