mediawiki-extensions-Relate.../resources/ext.relatedArticles.cards/card.muhogan
jdlrobson 6dee0147f4 Migrate Cards code to RelatedArticles
* Move across all files
* Rename ext-card- prefix to ext-related-articles- prefix
** Since all code using these prefixes is JS
  we do not have to worry about cached HTML

Bug: T137021
Change-Id: I784fd132c36329fa0dcc49fe2804460061940347
2017-06-07 08:35:53 -07:00

9 lines
466 B
Plaintext

<li title="{{ title }}" class="ext-related-articles-card">
<div class="ext-related-articles-card-thumb" {{# hasThumbnail }}style="background-image: url( '{{ thumbnailUrl }}' );"{{/ hasThumbnail }}></div>
<a href="{{ url }}" aria-hidden="true" tabindex="-1"></a>
<div class="ext-related-articles-card-detail">
<h3><a href="{{ url }}">{{ title }}</a></h3>
{{# extract }}<p class="ext-related-articles-card-extract">{{ extract }}</p>{{/ extract }}
</div>
</li>