Difference between revisions of "Template:Resource"
From The Embassy of Good Science
m (Reverted edits by Admin (talk) to last revision by 0000-0001-9246-6817) Tag: Rollback |
(MWBot) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <!--------------------------------- MANAGED TEMPLATE ----------------------------------><!-- | |
− | <!--------------------------------- | ||
--><noinclude><h2>Usage</h2> | --><noinclude><h2>Usage</h2> | ||
Line 13: | Line 12: | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
− | <!-- PREPEND -->{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Is About}}} }}<!-- | + | <!-- PREPEND -->{{EvaluationResources}}{{SEO | {{{Title}}} | {{{Display_Title}}} | {{{Is About}}} }}<!-- |
--><div class="sidebar-item formbutton formbutton-open">{{#widget:BTN Open Resource|link={{#ask:[[{{FULLPAGENAME}}]]|?Has Link=|mainlabel=-}}|label=open resource}} | --><div class="sidebar-item formbutton formbutton-open">{{#widget:BTN Open Resource|link={{#ask:[[{{FULLPAGENAME}}]]|?Has Link=|mainlabel=-}}|label=open resource}} | ||
<div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div> | <div class="smw-edit-dropdown" data-dropdown-trigger=""><div class="menu-dots">[[File:Dropdown_dots.svg|link=]]</div> | ||
− | <div class="te-dropdown-menu">{{Te Dropdown Menu}}</div></div> | + | <div class="te-dropdown-menu">{{#ifeq:{{{Resource Type|}}}|Interactive|{{Te Dropdown Menu Interactive Content}}|{{Te Dropdown Menu}}}}</div></div> |
</div> | </div> | ||
{{G Discussion Sidebar}} | {{G Discussion Sidebar}} | ||
− | {{ | + | {{BTN Back|Resource}} |
{{Resource Icon}} | {{Resource Icon}} | ||
− | <h1>{{{Title}}}</h1><!-- /PREPEND --><!-- | + | <h1>{{{Title}}}</h1> |
+ | {{#ifeq:{{{Resource Type|}}}|Interactive|{{#widget:H5P|ID={{#explode:{{PAGENAME}}|-|1}}}}}}<!-- /PREPEND --><!-- | ||
<!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About"> | <!-- DISPLAY FORMAT: GADGET-ROW-EMBASSY -->{{#if: {{{Is About|}}} |<h2>{{int:EGS Is About}}</h2><div class="mw-field-value" data-property="Is About"> | ||
Line 39: | Line 39: | ||
<!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | <!-- DISPLAYTITLE -->{{DISPLAYTITLE:{{{Title}}}}}<!-- /DISPLAYTITLE --><!-- | ||
+ | <!-- APPROVABLE_BY -->{{#approvable_by:groups=approver-resource}}<!-- /APPROVABLE_BY --><!-- | ||
− | <-- CATEGORY -->[[Category:Resource]] <!-- /CATEGORY --></includeonly> | + | <!-- CATEGORY -->[[Category:Resource]] <!-- /CATEGORY --></includeonly> |
Latest revision as of 11:06, 21 December 2023
Usage
{{Resource |Resource Type= |Title= |Is About= |Important Because= |Important For= |Has Best Practice= }}