Template:SizeImageBox/Main Page: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="screen-large"><div style="width: 160px;height:180px;margin:6px;border-right: 1px solid #ccc;text-align: center;padding: 10px;background-color: rgba(255, 255, 255, 0.5);box-shadow: 0 2px 5px #aaa;position: relative;display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">{{SizeImageBox|img={{{1|No_image.svg}}}|Xmove={{{x|0}}}|Ymove={{{y|0}}}|imgSize={{{size|150}}}px|link={{{2|Neuro}}}|background-color={{{3|{{{background-color|#FFFFFF}}}}}}|border={{{border|3px solid {{{4|{{{border-color|#000000}}}}}}}}}}}<div style="padding:5px;white-space: nowrap;{{#ifeq:{{{subtext|none}}}|none||margin-bottom: -14px;margin-top: -9px;}}">[[{{{2|Neuro}}}|{{{text|{{{2|Neuro}}}}}}]]</div>{{#ifeq:{{{subtext|none}}}|none||<div style="padding:2px;font-size: 12px;min-width: 100%;">{{{subtext|none}}}</div>}}</div></div> | <div class="screen-large"><div style="width: 160px;height:180px;margin:6px;border-right: 1px solid #ccc;text-align: center;padding: 10px;background-color: rgba(255, 255, 255, 0.5);box-shadow: 0 2px 5px #aaa;position: relative;display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">{{SizeImageBox|img={{{1|No_image.svg}}}|Xmove={{{x|0}}}|Ymove={{{y|0}}}|imgSize={{{size|150}}}px|link={{{2|Neuro}}}|background-color={{{3|{{{background-color|#FFFFFF}}}}}}|border={{{border|3px solid {{{4|{{{border-color|#000000}}}}}}}}}}}<div style="padding:5px;white-space: nowrap;{{#ifeq:{{{subtext|none}}}|none||margin-bottom: -14px;margin-top: -9px;}}">[[{{{2|Neuro}}}|{{{text|{{{2|Neuro}}}}}}]]</div>{{#ifeq:{{{subtext|none}}}|none||<div style="padding:2px;font-size: 12px;min-width: 100%;{{#ifeq:{{{smallsubtext|no}}}|yes|line-height: 9px;font-size:10px;|{{#ifeq:{{{smallsubtext|no}}}|onlysize|font-size:10px;|}}}}">{{{subtext|none}}}</div>}}</div></div> | ||
<div class="screen-small screen-medium"><div style="width: 128px;height:180px;margin:6px;border-right: 1px solid #ccc;text-align: center;padding: 10px;background-color: rgba(255, 255, 255, 0.5);box-shadow: 0 2px 5px #aaa;position: relative;display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">{{SizeImageBox|img={{{1|No_image.svg}}}|Xmove=calc({{{x|0}}} * 0.8)|Ymove={{{y|0}}}|imgSize={{#ifeq:{{{orgsize|no}}}|no|{{#expr:{{{size|150}}} * 0.8}}px|{{{size|150}}}px}}|link={{{2|Neuro}}}|background-color={{{3|{{{background-color|#FFFFFF}}}}}}|border={{{border|3px solid {{{4|{{{border-color|#000000}}}}}}}}}}}<div style="padding:5px;white-space: nowrap;{{#ifeq:{{{subtext|none}}}|none||margin-bottom: -14px;margin-top: -9px;}}">[[{{{2|Neuro}}}|{{{text|{{{2|Neuro}}}}}}]]</div>{{#ifeq:{{{subtext|none}}}|none||<div style="padding:2px;font-size: 10px;min-width: 100%;">{{{subtext|none}}}</div>}}</div></div> | <div class="screen-small screen-medium"><div style="width: 128px;height:180px;margin:6px;border-right: 1px solid #ccc;text-align: center;padding: 10px;background-color: rgba(255, 255, 255, 0.5);box-shadow: 0 2px 5px #aaa;position: relative;display: flex; justify-content: space-evenly; align-content: flex-start; flex-wrap: wrap;">{{SizeImageBox|img={{{1|No_image.svg}}}|Xmove=calc({{{x|0}}} * 0.8)|Ymove={{{y|0}}}|imgSize={{#ifeq:{{{orgsize|no}}}|no|{{#expr:{{{size|150}}} * 0.8}}px|{{{size|150}}}px}}|link={{{2|Neuro}}}|background-color={{{3|{{{background-color|#FFFFFF}}}}}}|border={{{border|3px solid {{{4|{{{border-color|#000000}}}}}}}}}}}<div style="padding:5px;white-space: nowrap;{{#ifeq:{{{subtext|none}}}|none||margin-bottom: -14px;margin-top: -9px;}}">[[{{{2|Neuro}}}|{{{text|{{{2|Neuro}}}}}}]]</div>{{#ifeq:{{{subtext|none}}}|none||<div style="padding:2px;font-size: 10px;min-width: 100%;{{#ifeq:{{{smallsubtext|no}}}|yes|line-height: 9px;font-size:10px;|{{#ifeq:{{{smallsubtext|no}}}|onlysize|font-size:10px;|}}}}">{{{subtext|none}}}</div>}}</div></div> |