Template:Location mark~/sandbox: Difference between revisions
Appearance
Content deleted Content added
test |
sync |
||
(20 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0; |
<includeonly>{{#if:{{{x|}}}{{{y|}}}{{{x%|}}}{{{y%|}}} |
||
| <div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0; |
|||
top: {{#if:{{{y%|}}} |
top: {{#if:{{{y%|}}} |
||
| {{{y%|}}}%; |
| {{{y%|}}}%; |
||
| {{#expr:{{ |
| {{#expr:{{if empty|{{{width|}}}|220}} * {{{y|}}} e -3 round 0 }}px; }} |
||
left: {{#if:{{{x%|}}} |
left: {{#if:{{{x%|}}} |
||
| {{{x%|}}}%; |
| {{{x%|}}}%; |
||
| {{#expr:{{ |
| {{#expr:{{if empty|{{{width|}}}|220}} * {{{x|}}} e -3 round 0 }}px; }} "> |
||
<div style="position: relative; z-index: 3; line-height: 0; text-align: center; |
|||
width: {{if empty|{{{mark_width|}}}|8}}px; |
|||
left: -{{#expr:{{if empty|{{{mark_width|}}}|8}} / 2 round 2}}px; |
|||
top: -{{#expr:{{if empty|{{{mark_width|}}}|8}} / 2 round 2}}px;"><!-- |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| #default = {{#ifexpr:({{if empty|{{{x|}}}|0}}>700) or ({{if empty|{{{x%|}}}|0}}>70) |
|||
⚫ | |||
| top: -1.5em; left: -6.5em; text-align: right; |
|||
| top: -1.5em; left: 0.5em; text-align: left;}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|#default= {{#ifexpr:{{{x|}}}>700 |
|||
{{documentation}} |
|||
⚫ | |||
<!-- |
|||
⚫ | |||
Please add categories and interwikis |
|||
⚫ | |||
to the /doc sub-page, thanks |
|||
</div>}} |
|||
--> |
|||
⚫ | |||
{{template sandbox notice}} |
|||
</noinclude> |
</noinclude> |
Latest revision as of 13:32, 12 October 2019
This is the template sandbox page for Template:Location mark~ (diff). See also the companion subpage for test cases. |
See {{location mark+}} for documentation. |