Template:Location mark~/sandbox: Difference between revisions
Appearance
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
This is the template sandbox page for Template:Location mark~ (diff). See also the companion subpage for test cases. |
See {{location mark+}} for documentation. |