Difference between revisions of "Template:Image label"
Jump to navigation
Jump to search
(test) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{#if:{{{background|}}}|background-color: rgba(255, 255, 255, 0.5); padding: 0 2px;}} | {{#if:{{{background|}}}|background-color: rgba(255, 255, 255, 0.5); padding: 0 2px;}} | ||
left:{{#expr:{{{x|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-6}}px; | left:{{#expr:{{{x|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-6}}px; | ||
− | top:{{#expr:{{{y|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-8}}px">{{#ifexpr:({{{x|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-6)>800|[[Category:Pages using image label with a wide image]]|}}{{#ifexpr:({{{y|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-8)>800|[[Category:Pages using image label with a tall image]]|}}{{{text}}}</div></includeonly> | + | top:{{#expr:{{{y|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-8}}px">{{#ifexpr:({{{x|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-6)>800|[[Category:Pages using image label with a wide image]]|}}{{#ifexpr:({{{y|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-8)>800|[[Category:Pages using image label with a tall image]]|}}{{{text}}}</div></includeonly><noinclude> |
+ | |||
+ | ==Documentation== | ||
+ | One of a trio of templates to add labels (including wikilinks) to images. | ||
+ | |||
+ | ===Usage=== | ||
+ | |||
+ | ==See also== | ||
+ | *[[Template:Image label begin]] | ||
+ | *[[Template:Image label end]] | ||
+ | |||
+ | [[Category:Templates utility]] | ||
+ | </noinclude> |
Latest revision as of 11:55, 13 June 2019
Documentation
One of a trio of templates to add labels (including wikilinks) to images.