Difference between revisions of "Template:Image label"

From Nottinghack Wiki
Jump to navigation Jump to search
(doc)
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]]
 +
 
 +
</noinclude>

Revision as of 11:48, 13 June 2019


Documentation

One of a trio of templates to add labels (including wikilinks) to images.

Usage

See also