Difference between revisions of "Template:Card"
From The Embassy of Good Science
m (Protected "Template:Card": MWBot ([Edit=Allow only administrators] (indefinite))) |
|||
(2 intermediate revisions by the same user not shown) | |||
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=" | + | <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=" | + | <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> | ||
</div> | </div> | ||
− | </div>| | + | </div>| |
<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="_self"> |