Difference between revisions of "Template:RT Resource"

From The Embassy of Good Science
(MWBot)
(MWBot)
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="resource-block">
+
<div class="block-list-items">
<div class="resource-block-container">
+
<div class="block-wrapper">
<div class="resource-block-header">{{#switch: {{{3}}}
+
<div class="block">
  | Guidelines = [[File:Icon-resources-guidelines.svg|link=|class=resource-block-icon]]
+
<div class="block-container">
| Laws & Regulations = [[File:Icon-resources.svg|link=|class=resource-block-icon]]
+
<div class="block-header">{{#switch: {{{3}}}
  | Cases = [[File:Icon-resources-cases.svg|link=|class=resource-block-icon]]
+
  | Guidelines = <span class="block-icon icon-guideline"></span>
  | Experts & Committees = [[File:Icon-resources-experts-committees.svg|link=|class=resource-block-icon]]
+
  | Cases = <span class="block-icon icon-case"></span>
| Education = [[File:Icon-resources-education.svg|link=|class=resource-block-icon]]
+
  | Education = <span class="block-icon icon-education"></span>
  | [[File:Icon-resources.svg|link=|class=resource-block-icon]]
+
  | #default = <span class="block-icon icon-other"></span>
 
}}<span>{{{3}}}</span>
 
}}<span>{{{3}}}</span>
 
</div>
 
</div>
<div class="resource-block-title">[[{{{1}}}]]</div>
+
<div class="block-title">[[{{{1|}}}]]</div>
<div class="resource-block-authors">{{#ask:
+
<div class="block-text">{{#ifeq:{{{3|}}}|Interactive|<nowiki>{{#widget:H5P|ID=</nowiki>{{#explode:{{{1|}}}|-|1}}<nowiki>}}</nowiki>}}{{#ask:
 
[[{{{1|}}}]]
 
[[{{{1|}}}]]
 
|?Involves=
 
|?Involves=
Line 18: Line 18:
 
|format=list
 
|format=list
 
|valuesep=,<span> </span>
 
|valuesep=,<span> </span>
}}{{#vardefine:When|hello world}}<span class="resource-block-published">{{#if:{{{When}}}|({{{When}}}) }}</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 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>
 +
</div>
 
</div>
 
</div>
<div class="resource-block-navigation"><span class="resource-block-link te-mw-link" data-target="_blank" data-href="{{#show:{{{1|}}}|?Has Link|link=none}}"> Open</span><span class="resource-block-info te-mw-link" data-href="{{{1|}}}"> About </span></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