Jump to content

Template:Location mark~/sandbox: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
changed to omit marker when mark_width=0
added parameters: lheight for label line-height, lwidth for label width
Line 17: Line 17:
}}{{#ifeq:{{{position|}}}|none|
}}{{#ifeq:{{{position|}}}|none|
| {{#if:{{{label|}}}
| {{#if:{{{label|}}}
| <div style="position: relative; z-index: 4; font-size: {{ifempty|{{{font_size|}}}|90}}%; line-height: 111%; width: 6em;
| <div style="position: relative; z-index: 4; font-size: {{ifempty|{{{font_size|}}}|90}}%; line-height: {{{lheight|111%}}}; width: {{{lwidth|6em}}};
{{#switch: {{{position|}}}
{{#switch: {{{position|}}}
| left = top: -1.5em; left: -6.5em; text-align: right;
| left = top: -1.5em; left: -6.5em; text-align: right;

Revision as of 11:10, 27 November 2012