Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!
Difference between revisions of "Template:Card"
From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
(Created page with "{{#css: .card{ transition:0.2s ease-in; display:flex; } .card:hover { box-shadow:0px 0px 7px 0px rgba(0,0,0,.6); z-index:99; position:relative; } .card:hover .cardImg...") |
|||
Line 89: | Line 89: | ||
} | } | ||
}}<div class="card {{#if:{{{bottomCard|}}}|vertical|horizontal}} {{#if:{{{cardClass|}}}|{{{cardClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}> | }}<div class="card {{#if:{{{bottomCard|}}}|vertical|horizontal}} {{#if:{{{cardClass|}}}|{{{cardClass}}}}}" {{#if:{{{style|}}}|style="{{{style}}}"}}> | ||
<div class="mainCard {{#if:{{{image|}}}|cardImg}}">{{#if:{{{image|}}}|[[File:{{{image}}} | <div class="mainCard {{#if:{{{image|}}}|cardImg}}">{{#if:{{{image|}}}|[[File:{{{image}}}|link={{{imagelink}}}]]|{{{mainCard}}}}}</div>{{#if:{{{secondaryCard|}}}{{{bottomCard|}}}| | ||
<div class="secondaryCard">{{{secondaryCard|{{{bottomCard}}}}}}</div>}} | <div class="secondaryCard">{{{secondaryCard|{{{bottomCard}}}}}}</div>}} | ||
</div><noinclude>[[Category:Site templates]]</noinclude> | </div><noinclude>[[Category:Site templates]]</noinclude> |
Revision as of 07:19, 17 April 2020
{{{mainCard}}}