Template:Image label: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
 
(44 intermediate revisions by 36 users not shown)
Line 1: Line 1:
<includeonly><div style="position:absolute;
<div style="position: absolute; left:{{#expr: {{{x|0}}} * {{{scale|1}}} - 6}}px; top: {{#expr: {{{y|0}}} * {{{scale|1}}} - 8}}px;">{{{text}}}</div><noinclude>
{{#if:{{{text-align|}}}|text-align:{{{text-align}}};}}

{{#if:{{{font-size|}}}|font-size:{{{font-size}}};}}
{{User:Zondor/Labelled Map Documentation}}
{{#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;
[[Category:Templates using ParserFunctions|Image label]]
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>
[[ar:قالب:Image label]]
{{Documentation|Template:Image label begin/doc}}</noinclude>
[[cs:Šablona:Image label]]
[[da:Skabelon:Image label]]
[[de:Vorlage:Image label]]
[[eo:Ŝablono:Marko sur bildo]]
[[es:Plantilla:Image label]]
[[fa:الگو:برچسب نگاره]]
[[fr:Modèle:Image label]]
[[hsb:Předłoha:Image label]]
[[it:Template:Image label]]
[[nl:Sjabloon:Afbeelding label]]
[[pl:Szablon:Image label]]
[[ksh:Schablon:Image label]]
[[ru:Шаблон:Image label]]
[[su:Citakan:Image label]]
</noinclude>

Latest revision as of 14:21, 2 January 2024