Template:Image label: Difference between revisions

no edit summary
(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))
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 3:
{{#if:{{{font-size|}}}|font-size:{{{font-size}}};}}
{{#if:{{{background|}}}|background-color: rgba(255, 255, 255, 0.5); padding: 0 2px;}}
left:{{#if:{{{long|}}} | {{#expr:( 180 + {{{long|0}}} ) / 360 *{{#if:{{{scale|}}}|{{{scale}}}|400}}-6}} | {{#expr:{{{x|0}}}*{{#if:{{{scale|}}}|{{{scale}}}|400}}-6}} }}px;
top:{{#if:{{{lat|}}} | {{#expr:( 75 - {{{lat|0}}} ) / 150 * 2860 / 4269 *{{#if:{{{scale|}}}|{{{scale}}}|400}}-8}} | {{#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>
1,913

edits