Template
Interface template⮥
Ibox
From Dogcraft Wiki
No edit summary |
m (Added categories: Interface templates) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div class="showcase {{{class|}}}" id="{{{id|}}}" style="display:flex; flex-direction:column; color:{{{textcolor|#000}}}; background-color:{{{background|#E9EDEF}}}; height:{{{height|400px}}}; width:{{{width|25%}}}; overflow:clip; border-radius:{{{radius|5px;}}} {{{style|}}} position:relative;">{{#if:{{{image|}}}|<div style="height:100%; text-align:center; display:flex; justify-content:center; align-items:center;" class="image-cover">[[File:{{{image|}}}|<!--thumb-->frameless|1000px|class=image-cover|{{{imagealttext|}}}]]</div>}} | <includeonly>{{#if: {{{thumb|}}}|<templatestyles src="Template:Ibox/styles.css" />|}}<div class="showcase {{{class|}}}" id="{{{id|}}}" style="display:flex; flex-direction:column; color:{{{textcolor|#000}}}; background-color:{{{background|#E9EDEF}}}; height:{{{height|400px}}}; width:{{{width|25%}}}; overflow:clip; border-radius:{{{radius|5px;}}} {{{style|}}} position:relative;">{{#if:{{{image|}}}|<div style="height:100%; text-align:center; display:flex; justify-content:center; align-items:center;" class="image-cover {{#if: {{{thumb|}}}|ibox-thumb|}}">[[File:{{{image|}}}|<!--thumb-->frameless|1000px|class=image-cover|{{{imagealttext|}}}]]</div>}} | ||
<div style="overflow:clip; height:100%; width:100%; position:absolute; background:{{{overlay|#2f4f4f80}}}">{{{content|}}}</div> | <div style="overflow:clip; height:100%; width:100%; position:absolute; background:{{{overlay|#2f4f4f80}}}">{{{content|}}}</div> | ||
{{#if: {{{link|}}}|[[{{{link|#}}}|<span class="{{{linkclass|}}}" style="position:absolute; width:100%; height:100%; top:0; left:0;"></span>]]|}}</div></includeonly><noinclude> | {{#if: {{{link|}}}|[[{{{link|#}}}|<span class="{{{linkclass|}}}" style="position:absolute; width:100%; height:100%; top:0; left:0;"></span>]]|}}</div></includeonly><noinclude> | ||
{{ibox}} | {{ibox}} | ||
{{Interface template}} |
Latest revision as of 10:59, 4 December 2023