Template

Flip card

From Dogcraft Wiki

m (link)
mNo edit summary
Line 46: Line 46:
</noinclude><includeonly><div class="flip-card mw-customtoggle mw-customtoggle-fliptrigger" style="perspective:1000px;"><div class="{{{class|}}} flip-card-inner" style="height:100%; transition: transform 0.8s; transform-style: preserve-3d; background-color:{{{background|#E9EDEF}}}; max-width:{{{width|300px}}}; {{{style|}}} {{#if:{{{link|}}}|box-shadow: 0 2px 3px rgba(85, 85, 85, 0.2), 0 0 0 1px rgba(85, 85, 85, 0.2);|}}"><div class="flip-card-front" style="max-width:300px; position:relative; outline:solid #8b0024 4px; border-radius:5px; height:100%; overflow:clip;">[[File:{{{file|File missing}}}|frameless|{{{width|300px}}}]]<span style="position:absolute; height:100%; width:100%; top:0; left:0;"></span>
</noinclude><includeonly><div class="flip-card mw-customtoggle mw-customtoggle-fliptrigger" style="perspective:1000px;"><div class="{{{class|}}} flip-card-inner" style="height:100%; transition: transform 0.8s; transform-style: preserve-3d; background-color:{{{background|#E9EDEF}}}; max-width:{{{width|300px}}}; {{{style|}}} {{#if:{{{link|}}}|box-shadow: 0 2px 3px rgba(85, 85, 85, 0.2), 0 0 0 1px rgba(85, 85, 85, 0.2);|}}"><div class="flip-card-front" style="max-width:300px; position:relative; outline:solid #8b0024 4px; border-radius:5px; height:100%; overflow:clip;">[[File:{{{file|File missing}}}|frameless|{{{width|300px}}}]]<span style="position:absolute; height:100%; width:100%; top:0; left:0;"></span>
{{Header|{{{title|Title}}}|margin=margin:0; height:100%;}}</div>
{{Header|{{{title|Title}}}|margin=margin:0; height:100%;}}</div>
<div style="overflow:clip; padding:0 5px; -webkit-backface-visibility:hidden; backface-visibility:hidden; transform:rotateY(180deg); position:absolute; top:0; left:0; background:inherit; outline:solid #8b0024 4px; border-radius:5px; height:100%;" class="flip-card-back"><p style="height:80%; overflow:clip;">{{{content|}}}</p><div style="height:20%; overflow:clip; display:flex; flex-direction:column; justify-content:center; text-align:center;">{{#if: {{{link|}}}|[[{{{link|Main_Page}}}|<span class="{{{linkclass|}}}" style="font-weight:bold; font-size:1.3rem;">Go to page</span>]]|}}</div></div>
<div style="overflow:clip; padding:0 5px; -webkit-backface-visibility:hidden; backface-visibility:hidden; transform:rotateY(180deg); position:absolute; top:0; left:0; background:inherit; outline:solid #8b0024 4px; border-radius:5px; height:100%;" class="flip-card-back"><p style="{{#if: {{{link|}}}|height:80%;|}} overflow:clip;">{{{content|}}}</p>{{#if: {{{link|}}}|<div style="height:20%; overflow:clip; display:flex; flex-direction:column; justify-content:center; text-align:center;">[[{{{link|Main_Page}}}|<span class="{{{linkclass|}}}" style="font-weight:bold; font-size:1.3rem;">Go to page</span>]]</div>|}}</div>
</div><span class="mw-collapsible" id="mw-customcollapsible-fliptrigger"></span></div></includeonly>
</div><span class="mw-collapsible" id="mw-customcollapsible-fliptrigger"></span></div></includeonly>

Revision as of 01:23, 19 April 2022

This page was last modified on 19 April 2022, at 01:23. (11 months ago)