Difference between revisions of "Template:Location mark~"
Jump to navigation
Jump to search
imported>Droll (tweaked) |
imported>Droll (added |position=none option) |
||
| Line 16: | Line 16: | ||
-->{{#if:{{{link|}}}{{{mark_link|}}}|{{!}}link={{ifempty|{{{mark_link|}}}|{{{link|}}} }} }}]]</div> | -->{{#if:{{{link|}}}{{{mark_link|}}}|{{!}}link={{ifempty|{{{mark_link|}}}|{{{link|}}} }} }}]]</div> | ||
| − | {{#if:{{{label|}}} | + | {{#ifeq:{{{position|}}}|none| |
| − | + | | {{#if:{{{label|}}} | |
| − | + | | <div style="position: relative; z-index: 4; font-size: {{ifempty|{{{font_size|}}}|90}}%; line-height: 111%; width: 6em; | |
| − | + | {{#switch: {{{position|}}} | |
| − | + | | left = top: -1.5em; left: -6.5em; text-align: right; | |
| − | + | | right = top: -1.5em; left: 0.5em; text-align: left; | |
| − | + | | top = top: -2.65em; left: -3em; text-align: center; | |
| − | + | | bottom = top: -0.15em; left: -3em; text-align: center; | |
| − | + | | #default = {{#ifexpr:({{ifempty|{{{x|}}}|0}}>700) or ({{ifempty|{{{x%|}}}|0}}>70) | |
| − | + | | top: -1.5em; left: -6.5em; text-align: right; | |
| − | + | | top: -1.5em; left: 0.5em; text-align: left;}} | |
| + | }}"><span style="padding: 1px; {{#if:{{{background|}}}|background-color: {{{background|}}}; }}">{{{label|}}}</span></div>}}}} | ||
</div>}}</includeonly><noinclude> | </div>}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
Revision as of 00:39, 22 November 2012
| 40x40px | See {{location mark+}} for documentation. |
| The above documentation is transcluded from Template:Location mark~/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |