Template:Location mark a: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
{{{marks|}}}</div> | {{{marks|}}}</div> | ||
</div> | </div> | ||
{{ | {{#if:{{{x|}}}{{{y|}}}{{{x%|}}}{{{y%|}}} | ||
| <div style="position: absolute; z-index: 2; height: 0; width: 0; margin: 0; padding: 0; | |||
top: {{#if:{{{y%|}}} | |||
| {{{y%|}}}%; | |||
| {{#expr:{{if empty|{{{width|}}}|220}} * {{{y|}}} e -3 round 0 }}px; }} | |||
left: {{#if:{{{x%|}}} | |||
| {{{x%|}}}%; | |||
| {{#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;"><!-- | |||
-->[[File:{{if empty|{{{mark|}}}|Red pog.svg}}|{{if empty|{{{mark_width|}}}|8}}px|{{{label|}}}<!-- | |||
-->{{#if:{{{alt|}}}{{{mark_alt|}}}{{{label|}}}|{{!}}alt={{if empty|{{{alt|}}}|{{{mark_alt|}}}|{{{label|}}} }} }}<!-- | |||
-->{{#if:{{{link|}}}{{{mark_link|}}}|{{!}}link={{if empty|{{{mark_link|}}}|{{{link|}}} }} }}]]</div></div>}} | |||
| width = {{{width|}}} | | width = {{{width|}}} | ||
| label = {{{label|}}} | | label = {{{label|}}} |
Revision as of 23:52, 14 November 2019
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Above marks: | width = | image = | overlay = | caption = | alt = | float = | type =