Template:X8: Difference between revisions
Content deleted Content added
No edit summary |
Dan Pelleg (talk | contribs) reset |
||
Line 2: | Line 2: | ||
This sandbox is itself a template. This sandbox is for experimenting with templates. |
This sandbox is itself a template. This sandbox is for experimenting with templates. |
||
{{Please leave this line alone (template sandbox heading)}} |
{{Please leave this line alone (template sandbox heading)}} |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
⚫ | |||
| style="width:{{#expr:({{{selection_width}}} * {{{zoom_percent}}} / 100)}}px; height:{{#expr:({{{selection_height}}} * {{{zoom_percent}}} / 100)}}px; overflow:hidden; background-color:silver; vertical-align:top; text-align:left" | |
|||
<div style=" |
|||
overflow:hidden; |
|||
margin-left:{{#expr: (-{{{offset_x}}} * {{{zoom_percent}}} / 100) }}px; |
|||
margin-right:{{#expr: ( ({{{selection_width}}} - ( {{{image_width}}} + {{{offset_x}}})) * {{{zoom_percent}}} / 100 ) }}px; |
|||
margin-top:{{#expr: (-{{{offset_y}}} * {{{zoom_percent}}} / 100 ) }}px; |
|||
margin-bottom:{{#expr: ( ({{{selection_height}}} - ( {{{image_height}}} + {{{offset_y}}}) ) * {{{zoom_percent}}} / 100) }}px; |
|||
">[[File:{{{image_name}}}|{{#expr:({{{image_width}}} * {{{zoom_percent}}} / 100) }}px]]</div> |
|||
⚫ | |||
<!-- Hello! Feel free to try your formatting and editing skills below this line. As this page is for editing experiments, this page will automatically be cleaned every 12 hours. --> |
<!-- Hello! Feel free to try your formatting and editing skills below this line. As this page is for editing experiments, this page will automatically be cleaned every 12 hours. --> |
Revision as of 10:16, 23 December 2010
This sandbox is itself a template. This sandbox is for experimenting with templates.