Template:Image label: Difference between revisions

adding Category:Pages using image label with a wide image and Category:Pages using image label with a tall image after finding a few pages where the image label was off the page (will tweak if this gives too many false positives)
(Added background parameter per edit request.)
(adding Category:Pages using image label with a wide image and Category:Pages using image label with a tall image after finding a few pages where the image label was off the page (will tweak if this gives too many false positives))
Line 4:
{{#if:{{{background|}}}|background-color: rgba(255, 255, 255, 0.5); padding: 0 2px;}}
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><noinclude>
{{Documentation|Template:Image label begin/doc}}</noinclude>
Anonymous user