Difference between revisions of "Template:RT Resource"

From The Embassy of Good Science
(MWBot)
(MWBot)
 
(28 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
<div class="block-header">{{#switch: {{{3}}}
 
<div class="block-header">{{#switch: {{{3}}}
 
  | Guidelines = <span class="block-icon icon-guideline"></span>
 
  | Guidelines = <span class="block-icon icon-guideline"></span>
| Laws & Regulations = [[File:Icon-resources.svg|link=|class=resource-block-icon]]
 
 
  | Cases = <span class="block-icon icon-case"></span>
 
  | Cases = <span class="block-icon icon-case"></span>
 
  | Education = <span class="block-icon icon-education"></span>
 
  | 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="block-title">[{{#show:{{{1|}}}|?Has Link|link=none}} {{#show:{{{1|}}}|?Title}}]</div>
+
<div class="block-title">[[{{{1|}}}]]</div>
<div class="block-text">{{#ask:
+
<div class="block-text">{{#ifeq:{{{3|}}}|Interactive|<nowiki>{{#widget:H5P|ID=</nowiki>{{#explode:{{{1|}}}|-|1}}<nowiki>}}</nowiki>}}{{#ask:
 
[[{{{1|}}}]]
 
[[{{{1|}}}]]
 
|?Involves=
 
|?Involves=

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