Difference between revisions of "Template:RT Resource"

From The Embassy of Good Science
(MWBot)
 
(MWBot)
 
(57 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="ResourceBlock">
+
<div class="block-list-items">
<div class="ResourceBlock-wrapper">
+
<div class="block-wrapper">
<div class="ResourceBlock-content te-mw-link" data-href="{{{1}}}" data-target="_self">
+
<div class="block">
<div class="ResourceBlock-head">
+
<div class="block-container">
<div class="ResourceBlock-type">
+
<div class="block-header">{{#switch: {{{3}}}
<div class="ResourceBlock-icon">
+
  | Guidelines = <span class="block-icon icon-guideline"></span>
{{#switch: {{{3}}}
+
  | Cases = <span class="block-icon icon-case"></span>
  | Guidelines = [[File:Icon-resources-guidelines.svg|link=]]
+
  | Education = <span class="block-icon icon-education"></span>
| Laws & Regulations = [[File:Icon-resources.svg|link=]]
+
  | #default = <span class="block-icon icon-other"></span>
  | Cases = [[File:Icon-resources-cases.svg|link=]]
+
}}<span>{{{3}}}</span>
| Experts & Committees = [[File:Icon-resources-experts-committees.svg|link=]]
 
  | Education = [[File:Icon-resources-education.svg|link=]]
 
  | [[File:Icon-resources.svg|link=]]
 
}}
 
 
</div>
 
</div>
{{{3}}}
+
<div class="block-title">[[{{{1|}}}]]</div>
 +
<div class="block-text">{{#ifeq:{{{3|}}}|Interactive|<nowiki>{{#widget:H5P|ID=</nowiki>{{#explode:{{{1|}}}|-|1}}<nowiki>}}</nowiki>}}{{#ask:
 +
[[{{{1|}}}]]
 +
|?Involves=
 +
|mainlabel=-
 +
|link=none
 +
|format=list
 +
|valuesep=,<span> </span>
 +
}}{{#vardefine:When|{{#ask:
 +
[[{{{1|}}}]]
 +
|?Has Timepoint=
 +
|mainlabel=-
 +
|format=list
 +
|valuesep=,<span> </span>
 +
}}}}{{#if:{{#ask:[[{{{1|}}}]]|?Has Timepoint=|mainlabel=-}}|<span class="resource-block-published">({{#var:When}})</span>|}}
 
</div>
 
</div>
<h3 class="ResourceBlock-title"><span>{{{2}}}</span></h3>
+
<div class="block-navigation"><span class="block-link te-mw-link" data-target="_blank" data-href="{{#show:{{{1|}}}|?Has Link|link=none}}"> Open</span><span class="block-info te-mw-link" data-href="{{{1|}}}"> About </span></div>
<!-- <p class="ResourceBlock-authors">ALLEA Member Academies (2017)</p> -->
 
 
</div>
 
</div>
 
</div>
 
</div>
<div class="ResourceBlock-metadata">
 
<div class="ResourceBlock-tags">{{MT RT Resource|{{{4}}}}}&nbsp;{{MT RT Resource|{{{5}}}}}&nbsp;{{MT RT Resource|{{{6}}}}}{{MT RT Resource|{{{7}}}}}&nbsp;{{MT RT Resource|{{{8}}}}}&nbsp;{{MT RT Resource|{{{9}}}}}</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
</div>
 
<!--
 
 
<!-- GLOBAL APPEND --><noinclude>{{Generated by gesinn.it}} <!-- All content on this page: Copyright © 2020 gesinn.it GmbH & Co. KG --></noinclude><!-- /GLOBAL APPEND -->
 

Latest revision as of 15:24, 21 December 2023

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