Template
Interface template⮥
Flip card
From Dogcraft Wiki
No edit summary |
m (Added categories: Interface templates) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<div style="display:flex; gap:10px; justify-content:center;" class="flex-mobile-wrap"> | <div style="display:flex; gap:10px; justify-content:center;" class="flex-mobile-wrap"> | ||
{{ | {{Flip card | ||
|class=lbox | |class=lbox | ||
|width:300px | |width:300px | ||
Line 11: | Line 11: | ||
}} | }} | ||
{{ | {{Flip card | ||
|class=lbox | |class=lbox | ||
|width:300px | |width:300px | ||
Line 19: | Line 19: | ||
}} | }} | ||
{{ | {{Flip card | ||
|class=lbox | |class=lbox | ||
|width:300px | |width:300px | ||
Line 27: | Line 27: | ||
}} | }} | ||
{{ | {{Flip card | ||
|class=lbox | |class=lbox | ||
|width:300px | |width:300px | ||
Line 35: | Line 35: | ||
}} | }} | ||
{{ | {{Flip card | ||
|class=lbox | |class=lbox | ||
|width:300px | |width:300px | ||
Line 44: | Line 44: | ||
</div> | </div> | ||
</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; border-radius:5px; 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; border-radius:5px; height:100%; overflow:clip;">[[File:{{{file|File missing}}} | |||
{{Header|{{{title|Title}}}|margin=margin:0;}}</div> | ---- | ||
<div style="overflow:clip; padding:5px 10px; -webkit-backface-visibility:hidden; backface-visibility:hidden; transform:rotateY(180deg); position:absolute; top:0; left:0; background:inherit; box-shadow:0 2px 3px rgba(85,85,85,0.45),0 0 10px rgba(85,85,85,0.45); border-radius:5px; height:calc(100% - 10px);" class="flip-card-back">< | |||
<div style="display:flex; gap:10px; justify-content:center;" class="flex-mobile-wrap"> | |||
{{Flip card | |||
|class=lbox | |||
|width:300px | |||
|file=2018-07-13_22.30.31.png | |||
|title=Survival 1<br /><small>(2015-2018)</small> | |||
|link=Survival 1 | |||
|content=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |||
}} | |||
{{Flip card | |||
|class=lbox | |||
|width:300px | |||
|file=Littlecliff_2.png | |||
|title=Survival 2<br /><small>(2017-2018)</small> | |||
|link=Survival 2 | |||
|content=Lorem ipsum dolor sit amet, [[Main Page]] consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |||
}} | |||
{{Flip card | |||
|class=lbox | |||
|width:300px | |||
|file=Nergal_Station.png | |||
|title=Survival 3<br /><small>(2018-2020)</small> | |||
|link=Survival 3 | |||
|content=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |||
}} | |||
{{Flip card | |||
|class=lbox | |||
|width:300px | |||
|file=Humble_Beagle_Starter_Base.png | |||
|title=Survival 4<br /><small>(2020-2022)</small> | |||
|link=Survival 4 | |||
|content=Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | |||
}} | |||
</div> | |||
{{Interface template}} | |||
</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; border-radius:5px; 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; border-radius:5px; height:100%; overflow:clip; display:flex; flex-direction:column;"><div style="flex-grow:2;">[[File:{{{file|File missing}}}|{{{width|300px}}}|frameless|class=image-cover]]<span style="position:absolute; height:100%; width:100%; top:0; left:0;"></span></div> | |||
{{Header|{{{title|Title}}}|margin=margin:0;|style=flex-grow:1; {{{headerstyle|}}} }}</div> | |||
<div style="overflow:clip; padding:5px 10px; -webkit-backface-visibility:hidden; backface-visibility:hidden; transform:rotateY(180deg); position:absolute; top:0; left:0; background:inherit; box-shadow:0 2px 3px rgba(85,85,85,0.45),0 0 10px rgba(85,85,85,0.45); border-radius:5px; height:calc(100% - 10px);" class="flip-card-back"><div style="{{#if: {{{link|}}}|height:80%;|}} overflow:clip;">{{{content|}}}</div>{{#if: {{{link|}}}|<div style="height:20%; overflow:clip; display:flex; flex-direction:column; justify-content:center; text-align:center; border-top:2px solid #d9d6d3; margin:0 -10px;">[[{{{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> |