Difference between revisions of "Template:Card"

From The Embassy of Good Science
Line 1: Line 1:
 
<includeonly>{{#ifeq:{{{link_type|}}}|external|
 
<includeonly>{{#ifeq:{{{link_type|}}}|external|
 
<div class="card">
 
<div class="card">
   <div class="card-header te-mw-link" data-href="{{{link|}}}" data-target="_self">
+
   <div class="card-header te-mw-link" data-href="{{{link|}}}" data-target="_ext">
 
       <div class="card-icon">[[File:{{{icon|}}}|frameless|60x60px|link={{{link}}}]]</div>
 
       <div class="card-icon">[[File:{{{icon|}}}|frameless|60x60px|link={{{link}}}]]</div>
 
   </div>
 
   </div>
   <div class="card-body te-mw-link" data-href="{{{link|}}}" data-target="_self">
+
   <div class="card-body te-mw-link" data-href="{{{link|}}}" data-target="_ext">
 
     <div class="card-title text-center">[{{{link|}}} {{{title|}}}]</div>
 
     <div class="card-title text-center">[{{{link|}}} {{{title|}}}]</div>
 
     <div class="card-text text-center">[{{{link|}}} {{{content|}}}]</div>
 
     <div class="card-text text-center">[{{{link|}}} {{{content|}}}]</div>

Revision as of 14:22, 28 October 2020

Cookies help us deliver our services. By using our services, you agree to our use of cookies.
5.1.6